:root{--bg:#090b12;--panel:#121724;--panel2:#191f2e;--line:#2e3950;--gold:#f4c96b;--text:#edf2ff;--muted:#9ca8bf;--danger:#ef596f;--ok:#62d493;--blue:#5aa7ff}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#060810;color:var(--text);font-family:Inter,Segoe UI,system-ui,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;color:#fff;border:1px solid #44516c;background:linear-gradient(#25304a,#172036);border-radius:8px;padding:9px 13px;font-weight:800}button:hover{filter:brightness(1.16)}button.gold{border-color:#9b7832;background:linear-gradient(#8a6727,#3a2c16)}input,select,textarea{width:100%;background:#0c101a;border:1px solid #34405a;border-radius:8px;color:#fff;padding:10px}textarea{min-height:92px;resize:vertical}#app{position:relative;width:100%;height:100%}#game{display:block;width:100%;height:100%;object-fit:contain;background:#05070c;image-rendering:pixelated}.hidden{display:none!important}.screen{position:absolute;inset:0;display:none;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 20%,rgba(45,54,91,.54),rgba(4,6,12,.95));z-index:30;padding:20px}.screen.active{display:flex}.start-card,.creation-card{width:min(680px,96vw);max-height:92vh;overflow:auto;text-align:center;background:linear-gradient(145deg,rgba(22,29,46,.97),rgba(8,11,19,.98));border:1px solid #3f4e6d;border-radius:18px;padding:30px;box-shadow:0 30px 90px #000b}.start-card.compact{width:420px}.sigil{font-size:44px;color:var(--gold)}h1{font-size:clamp(42px,8vw,74px);margin:0;letter-spacing:.15em;color:#fff;text-shadow:0 0 28px #5c7cff88}.start-card h2{color:var(--gold);margin:3px 0 18px}.start-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}.start-actions button{min-height:48px}.loader{height:8px;background:#111827;border-radius:9px;overflow:hidden;margin:20px}.loader span{display:block;height:100%;width:45%;background:linear-gradient(90deg,var(--gold),#fff1aa);animation:load 1s infinite alternate}@keyframes load{to{transform:translateX(120%)}}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice{display:flex;align-items:center;gap:12px;text-align:left;padding:12px;border:1px solid #34405b;border-radius:10px;background:#101624}.choice.selected{border-color:var(--gold);box-shadow:0 0 0 2px #f4c96b33}.choice img{width:44px;height:44px;object-fit:contain;image-rendering:pixelated}.choice small{display:block;color:var(--muted);margin-top:4px}.creation-card label{display:block;text-align:left;margin:10px 0}.dialogue{position:absolute;left:4%;right:4%;bottom:4%;z-index:20;display:flex;gap:15px;padding:16px;background:#0b101ddd;border:1px solid #566585;border-radius:14px;backdrop-filter:blur(8px)}.dialogue img{width:72px;height:72px;object-fit:contain;image-rendering:pixelated}.dialogue p{margin:6px 0}.dialogue span{font-size:11px;color:var(--gold)}#hud{position:absolute;inset:0;z-index:10;pointer-events:none}.player-card{position:absolute;left:18px;top:16px;width:330px;display:flex;gap:10px;padding:10px;background:#0a0e18d9;border:1px solid #36435f;border-radius:12px;backdrop-filter:blur(7px)}#portrait{width:58px;height:58px;border-radius:9px;background:#1b2335 center/contain no-repeat}.player-card>div:last-child{flex:1}.player-card small{display:block;color:var(--muted)}.bar{position:relative;height:12px;background:#090d16;border:1px solid #27334b;border-radius:8px;margin-top:5px;overflow:hidden}.bar i{display:block;height:100%;width:60%}.bar em{position:absolute;inset:0;text-align:center;font-size:9px;font-style:normal}.hp i{background:#e44459}.mp i{background:#477ee8}.stamina i{background:#d2a43f}.quest{position:absolute;top:16px;left:50%;transform:translateX(-50%);width:min(410px,35vw);padding:10px 14px;background:#0a0e18d9;border:1px solid #36435f;border-radius:11px;text-align:center}.quest span{display:block;color:var(--muted);font-size:12px}.resources{position:absolute;right:18px;top:16px;display:flex;gap:5px;padding:8px;background:#0a0e18d9;border:1px solid #36435f;border-radius:10px}.resources span{font-size:11px;padding:4px 7px;border-right:1px solid #2d3850}.resources span:last-child{border:0}#skillBar{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);display:flex;gap:7px}.skill{width:60px;height:60px;position:relative;background:#101827;border:1px solid #465574;border-radius:11px;overflow:hidden}.skill img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.skill small{position:absolute;left:4px;top:2px}.skill em{position:absolute;inset:auto 0 0;background:#000b;text-align:center;font-size:9px}.menu-buttons{position:absolute;right:16px;top:82px;display:flex;flex-direction:column;gap:5px;pointer-events:auto}.menu-buttons button{font-size:11px;padding:7px 9px;min-width:105px;background:#121a2be8}.interaction{position:absolute;left:50%;bottom:102px;transform:translateX(-50%);padding:8px 15px;background:#090d16dd;border:1px solid var(--gold);border-radius:20px}.boss-hud{position:absolute;top:85px;left:50%;transform:translateX(-50%);z-index:12;width:min(620px,70vw);text-align:center}.boss-bar{height:15px;background:#17090e;border:1px solid #923747;border-radius:20px;overflow:hidden}.boss-bar i{display:block;height:100%;background:linear-gradient(90deg,#a8142b,#ff536c);width:100%}.panel{position:absolute;z-index:25;left:50%;top:50%;transform:translate(-50%,-50%);width:min(940px,94vw);max-height:88vh;overflow:auto;background:#0c111dF7;border:1px solid #4a5875;border-radius:16px;padding:20px;box-shadow:0 25px 80px #000d}.panel>#closePanel,.atlas-card>#closeAtlas{position:absolute;right:12px;top:10px}.inventory-layout,.character-grid,.world-grid,.quest-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.item-card,.world-card,.quest-card{background:#121927;border:1px solid #303c54;border-radius:10px;padding:10px}.item-card img,.world-card img{width:44px;height:44px;object-fit:contain;image-rendering:pixelated}.item-card button{padding:6px;font-size:10px}.boss-hud,.panel,.menu-buttons,.player-card,.resources,.quest,#skillBar{pointer-events:auto}.atlas-card{position:relative;width:min(1160px,96vw);height:92vh;background:#0d121f;border:1px solid #43516e;border-radius:16px;padding:20px;overflow:hidden}.atlas-controls{display:flex;gap:8px;margin:10px 0}.atlas-controls input{flex:1}#atlasGrid,.picker-grid{height:calc(100% - 110px);overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:7px}.atlas-item,.picker-item{background:#151c2a;border:1px solid #313e57;border-radius:7px;padding:7px;text-align:center;overflow:hidden}.atlas-item img,.picker-item img{width:54px;height:54px;object-fit:contain;image-rendering:pixelated}.atlas-item span,.picker-item span{display:block;font-size:9px;word-break:break-word}.atlas-item small{color:var(--muted);font-size:8px}.modal{position:absolute;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;background:#03050bc9;padding:18px}.rpg-window,.asset-picker-card{width:min(1050px,96vw);max-height:92vh;overflow:auto;background:#0e1421;border:1px solid #53617e;border-radius:16px;box-shadow:0 30px 100px #000;padding:18px}.rpg-window header,.asset-picker-card header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #303c53;padding-bottom:10px}.rpg-window h2{margin:0}.rpg-window p{margin:4px 0;color:var(--muted)}.mission-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-top:15px}.mission-card{padding:13px;background:#151d2c;border:1px solid #35425c;border-radius:11px}.mission-card.accepted{border-color:#5c9b70}.mission-card.completed{border-color:var(--gold)}.mission-card img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated;float:left;margin-right:10px}.story-chapters{display:grid;gap:10px}.story-chapter{background:#151d2c;border-left:4px solid #52617d;padding:14px;border-radius:7px}.story-chapter.active{border-color:var(--gold)}#adminPro{display:none;background:#050812f5;padding:10px}.admin-pro-shell{width:100%;height:100%;background:#0b101b;border:1px solid #34415b;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.admin-pro-shell>header{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;background:#111827;border-bottom:1px solid #32405a}.admin-pro-shell h2,.admin-pro-shell p{margin:0}.admin-pro-shell p{color:var(--muted);font-size:12px}.admin-head-actions{display:flex;gap:7px;align-items:center}.file-btn{display:inline-block;padding:9px 13px;border:1px solid #44516c;background:#202b42;border-radius:8px;font-weight:800;cursor:pointer}.file-btn input{display:none}.admin-login{margin:auto;width:min(390px,90vw);padding:28px;background:#121a29;border:1px solid #3c4a66;border-radius:14px;text-align:center}.admin-login>*{margin:7px 0}.admin-pro-body{display:grid;grid-template-columns:190px 1fr;flex:1;min-height:0}.admin-pro-body nav{padding:10px;background:#0e1523;border-right:1px solid #2f3a51;overflow:auto;display:flex;flex-direction:column;gap:5px}.admin-pro-body nav button{text-align:left;background:transparent;border-color:transparent}.admin-pro-body nav button.active{background:#25304a;border-color:#465572}.admin-pro-body>section{display:flex;flex-direction:column;min-width:0}.admin-toolbar{display:flex;gap:7px;padding:10px;border-bottom:1px solid #2d3950}.admin-toolbar input{flex:1}.admin-workspace{display:grid;grid-template-columns:300px 1fr;flex:1;min-height:0}.admin-workspace aside{overflow:auto;padding:8px;border-right:1px solid #2d3950}.admin-list-item{display:flex;gap:9px;align-items:center;padding:8px;border:1px solid #2f3b53;border-radius:8px;margin-bottom:6px;background:#121927}.admin-list-item.active{border-color:var(--gold)}.admin-list-item img{width:38px;height:38px;object-fit:contain;image-rendering:pixelated}.admin-list-item small{display:block;color:var(--muted)}#adminForm{overflow:auto;padding:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.form-grid label{font-size:12px;color:#c6d0e3}.form-grid .full{grid-column:1/-1}.asset-field{display:flex;gap:8px;align-items:center}.asset-field img{width:64px;height:64px;background:#080c14;border:1px solid #33415a;border-radius:8px;object-fit:contain;image-rendering:pixelated}.danger{background:#602334;border-color:#a43f54}.success{background:#1e5739;border-color:#3f8c62}.asset-picker-card{height:88vh;display:flex;flex-direction:column}.asset-picker-card .picker-grid{flex:1;height:auto}.asset-picker-card footer{display:flex;justify-content:center;gap:12px;align-items:center;padding-top:10px}.picker-item{cursor:pointer}.picker-item:hover{border-color:var(--gold)}#mobile{display:none;position:absolute;inset:0;z-index:15;pointer-events:none}.dpad,.actions{position:absolute;bottom:18px;pointer-events:auto}.dpad{left:15px;width:150px;height:145px}.dpad button{position:absolute;width:51px;height:51px;border-radius:50%;opacity:.82}.dpad button:nth-child(1){left:50px}.dpad button:nth-child(2){top:48px}.dpad button:nth-child(3){top:94px;left:50px}.dpad button:nth-child(4){top:48px;left:100px}.actions{right:14px;width:250px;height:158px}.actions button{position:relative;width:50px;height:50px;border-radius:50%;padding:5px;opacity:.88}.actions img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.actions button:nth-child(1){position:absolute;right:0;bottom:48px}.actions button:nth-child(2){position:absolute;right:52px;bottom:0}.actions button:nth-child(3){position:absolute;right:104px;bottom:0}.actions button:nth-child(4){position:absolute;right:0;bottom:0}.actions button:nth-child(n+5){width:42px;height:42px;margin:3px}.toast{position:absolute;z-index:120;left:50%;bottom:120px;transform:translateX(-50%);padding:10px 16px;background:#101724eb;border:1px solid #596985;border-radius:9px;animation:fade 2.7s forwards}@keyframes fade{70%{opacity:1}100%{opacity:0}}
@media(min-width:1500px){.player-card{width:300px}.quest{width:360px}.menu-buttons{top:76px}.menu-buttons button{font-size:10px;padding:6px 8px}.resources{font-size:10px}#skillBar{bottom:18px}.skill{width:54px;height:54px}}
@media(max-width:900px){#game{object-fit:cover}.player-card{left:8px;top:8px;width:245px;padding:7px}.player-card #portrait{width:43px;height:43px}.resources{top:8px;right:8px;flex-wrap:wrap;max-width:190px}.quest{top:92px;width:60vw}.menu-buttons{display:none}#skillBar{bottom:175px}.skill{width:46px;height:46px}.boss-hud{top:137px;width:80vw}#mobile{display:block}.panel{width:96vw;max-height:82vh;padding:14px}.admin-pro-body{grid-template-columns:1fr}.admin-pro-body nav{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid #2f3a51}.admin-pro-body nav button{white-space:nowrap}.admin-workspace{grid-template-columns:1fr}.admin-workspace aside{max-height:190px;border-right:0;border-bottom:1px solid #2d3950}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.admin-pro-shell>header{align-items:flex-start}.admin-head-actions button,.file-btn{font-size:10px;padding:7px}.start-actions{grid-template-columns:1fr}.grid{grid-template-columns:1fr}.atlas-controls{flex-wrap:wrap}.atlas-controls select{width:35%}.dialogue{left:2%;right:2%;bottom:170px}.dialogue img{width:54px;height:54px}}
@media(max-width:520px){.resources{display:none}.quest{top:72px;width:88vw}.player-card{width:220px}.player-card b{font-size:12px}.player-card small{font-size:9px}#skillBar{bottom:170px}.admin-pro-shell>header p{display:none}.admin-head-actions{flex-wrap:wrap;justify-content:flex-end}.rpg-window,.asset-picker-card{padding:11px}.mission-board{grid-template-columns:1fr}}
/* V4 — interface gamer compacta e responsiva */
.gamer-menu{right:14px;top:88px;display:grid;grid-template-columns:repeat(2,78px);gap:7px}.gamer-menu button{min-width:0;height:70px;padding:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:linear-gradient(145deg,#19243aee,#0c1220ee);border-color:#3c4c6b}.gamer-menu button img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated}.gamer-menu button span{font-size:9px;line-height:1}.inventory-layout{grid-template-columns:minmax(260px,.8fr) minmax(420px,1.4fr)}.equipment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.equip-slot{min-height:108px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0b111d;border:1px solid #33415a;border-radius:10px;padding:8px}.equip-slot img{width:58px;height:58px;object-fit:contain;image-rendering:pixelated}.item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:9px}.item-card{min-height:175px;display:flex;flex-direction:column;gap:5px}.item-card img{width:64px;height:64px;align-self:center;object-fit:contain!important}.service-card img,.shop-item img,.mission-card img,.stat-card img{object-fit:contain!important;background:#080d16;border-radius:8px}.panel h2{margin-top:0;color:#f4c96b}.panel{backdrop-filter:blur(10px)}
@media(min-width:1500px){.gamer-menu{grid-template-columns:repeat(2,72px)}.gamer-menu button{height:64px}.gamer-menu button img{width:30px;height:30px}.player-card{transform:scale(.92);transform-origin:top left}.resources{transform:scale(.92);transform-origin:top right}}
@media(max-width:900px){.gamer-menu{display:none}.inventory-layout{grid-template-columns:1fr}.equipment-grid{grid-template-columns:repeat(4,1fr)}.item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.equip-slot{min-height:92px}.equip-slot img{width:48px;height:48px}}

/* V4.1 — ficha profissional, portas e progressão */
.character-sheet{display:grid;grid-template-columns:270px minmax(0,1fr);gap:18px;align-items:start}.hero-profile,.combat-stats,.attribute-panel,.equipped-summary,.career-panel{background:linear-gradient(180deg,rgba(27,31,49,.98),rgba(12,15,27,.98));border:1px solid #59617a;border-radius:16px;padding:16px;box-shadow:0 12px 35px #0008}.hero-profile{text-align:center;position:sticky;top:0}.hero-frame{width:166px;height:190px;margin:0 auto 12px;border:2px solid #e6bd5d;border-radius:18px;background:radial-gradient(circle,#35405a,#111522 70%);display:grid;place-items:center;position:relative;overflow:hidden}.hero-frame img{width:88%;height:88%;object-fit:contain;image-rendering:pixelated}.level-badge{position:absolute;right:8px;bottom:8px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e6bd5d;color:#15131a;font-weight:900;border:3px solid #fff3}.hero-profile h2{margin:8px 0 2px}.hero-profile> b{color:#e6bd5d}.xp-progress{height:22px;background:#090b12;border-radius:12px;overflow:hidden;position:relative;margin:15px 0}.xp-progress i{display:block;height:100%;background:linear-gradient(90deg,#4d78ff,#8ea8ff)}.xp-progress span{position:absolute;inset:0;display:grid;place-items:center;font-size:11px;font-weight:800}.hero-power{border:1px solid #e6bd5d55;background:#e6bd5d12;border-radius:12px;padding:12px;margin-bottom:12px}.hero-power strong{display:block;font-size:30px;color:#ffe178}.character-main{display:grid;gap:14px}.combat-stats h3,.attribute-panel h3,.equipped-summary h3,.career-panel h3{margin:0 0 12px;color:#ffe178}.combat-grid{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px}.combat-grid>div{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:8px;padding:10px;background:#0a0d17;border:1px solid #373d51;border-radius:10px}.combat-grid img{width:36px;height:36px;object-fit:contain}.combat-grid span{font-size:12px;color:#aeb6ca}.combat-grid b{font-size:20px}.attribute-panel header{display:flex;align-items:center;justify-content:space-between}.attribute-panel header span{color:#74e8a0;font-weight:800}.attribute-list{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:9px}.attribute-list>div{display:grid;grid-template-columns:38px 1fr 36px 34px;gap:8px;align-items:center;background:#0a0d17;border:1px solid #373d51;border-radius:10px;padding:8px}.attribute-list img{width:34px;height:34px;object-fit:contain}.attribute-list span{display:flex;flex-direction:column}.attribute-list small{color:#8e98ad}.attribute-list strong{font-size:20px;text-align:center}.attribute-list button{width:32px;height:32px;padding:0;font-size:22px}.equipment-grid.premium{grid-template-columns:repeat(4,minmax(120px,1fr))}.equipment-grid.premium .equip-slot{min-height:145px}.equipment-grid.premium .equip-slot img{width:64px;height:64px;object-fit:contain}.equipment-grid.premium em{font-size:10px;color:#aab3c7;font-style:normal}.career-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.career-grid>div{background:#0a0d17;border:1px solid #373d51;border-radius:10px;padding:11px}.career-grid small{display:block;color:#98a3b9}.career-grid b{font-size:22px}.interaction{min-width:150px;text-align:center}.panel{max-width:min(1120px,94vw)}
@media(max-width:900px){.character-sheet{grid-template-columns:1fr}.hero-profile{position:static}.combat-grid{grid-template-columns:repeat(2,1fr)}.attribute-list{grid-template-columns:1fr}.equipment-grid.premium{grid-template-columns:repeat(2,1fr)}.career-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.combat-grid{grid-template-columns:1fr}.career-grid{grid-template-columns:1fr 1fr}.hero-frame{width:140px;height:155px}}

/* V4.3 — Guilda, consumíveis rápidos e escala desktop */
#skillBar{display:flex;align-items:flex-end;gap:8px}.quick-slot{width:64px;height:64px;position:relative;display:grid;place-items:center;border:2px solid #596985;border-radius:12px;background:linear-gradient(145deg,#172138ee,#0a101cee);pointer-events:auto;cursor:pointer;box-shadow:0 8px 25px #0008}.quick-slot img{width:45px;height:45px;object-fit:contain;image-rendering:pixelated}.quick-slot .key{position:absolute;left:4px;top:3px;font-size:10px;background:#090d16;border:1px solid #58647b;border-radius:5px;padding:1px 5px}.quick-slot b{position:absolute;right:4px;top:3px;background:#05070bcc;border-radius:9px;min-width:20px;text-align:center}.quick-slot small{position:absolute;left:3px;right:3px;bottom:2px;text-align:center;font-size:8px;font-weight:900}.hp-slot{border-color:#a94455;box-shadow:0 0 20px #b33b4a44}.mp-slot{border-color:#3e70bd;box-shadow:0 0 20px #3c70c344}.guild-header{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,#202c47,#101727);border:1px solid #4c5d7b;border-radius:14px;padding:14px;margin-bottom:14px}.guild-header>div:first-child{display:flex;align-items:center;gap:12px}.guild-header img{width:72px;height:72px;object-fit:contain;image-rendering:pixelated;background:#090e18;border-radius:12px}.guild-header h3,.guild-header p{margin:2px}.guild-rank{min-width:140px;text-align:center;background:#090e18;border:1px solid #8b6c31;border-radius:12px;padding:9px}.guild-rank small,.guild-rank span{display:block;color:#aeb8cc}.guild-rank b{display:block;font-size:34px;color:#ffe178}.mission-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:12px}.mission-card{display:grid;grid-template-columns:72px 1fr;gap:12px;background:linear-gradient(160deg,#171f31,#0b101b);border:1px solid #35435e;border-radius:13px;padding:12px}.mission-card.ready{border-color:#55ce8a;box-shadow:0 0 20px #55ce8a22}.mission-card.locked{opacity:.58}.mission-card>img{width:68px;height:68px;object-fit:contain;image-rendering:pixelated;background:#080d16;border-radius:10px}.mission-card h3,.mission-card p{margin:3px 0}.mission-card p{color:#aeb8cc;font-size:12px;min-height:32px}.mission-meta{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.mission-meta span{padding:4px 7px;background:#0a0f1a;border:1px solid #303d55;border-radius:7px;font-size:10px}.mission-card button{width:100%}
@media(min-width:1200px){#skillBar{bottom:22px}.skill,.quick-slot{width:68px;height:68px}.skill img{width:50px;height:50px}.gamer-menu{grid-template-columns:repeat(2,84px)}.gamer-menu button{height:74px}.panel{max-width:min(1180px,92vw)}}
@media(max-width:900px){.quick-slot{width:48px;height:48px}.quick-slot img{width:34px;height:34px}.quick-slot small{display:none}.mission-board{grid-template-columns:1fr}.guild-header{align-items:flex-start}.guild-rank{min-width:100px}}

/* V4.5 — classes por sexo e escala correta */
.gender-selector{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:10px;margin-bottom:14px}.gender-selector label{cursor:pointer}.gender-selector input{display:none}.gender-selector span{display:block;text-align:center;padding:12px;border:1px solid #46536d;border-radius:10px;background:#0c1321;color:#cbd4e6;font-weight:800}.gender-selector input:checked+span{border-color:#e6bd5d;background:#e6bd5d1c;color:#ffe178;box-shadow:0 0 18px #e6bd5d25}.class-choice{grid-template-columns:92px 1fr!important}.class-preview{position:relative;width:84px;height:84px;display:grid;place-items:center;background:radial-gradient(circle,#27344e,#090e18 72%);border-radius:12px;overflow:hidden}.class-body-preview{width:72px!important;height:72px!important;object-fit:contain!important;image-rendering:pixelated}.class-weapon-preview{position:absolute!important;width:34px!important;height:34px!important;right:2px!important;bottom:2px!important;object-fit:contain!important;filter:drop-shadow(0 2px 3px #000)}
@media(min-width:1200px){#skillBar{bottom:18px}.skill,.quick-slot{width:58px!important;height:58px!important}.skill img{width:40px!important;height:40px!important}.gamer-menu{grid-template-columns:repeat(2,72px)!important}.gamer-menu button{height:62px!important}.gamer-menu button img{width:28px!important;height:28px!important}.panel{max-width:min(1060px,90vw)!important}.player-card,.resources{transform:scale(.9)}.quest{font-size:12px}}
@media(max-width:600px){.gender-selector{grid-template-columns:1fr 1fr}.class-choice{grid-template-columns:70px 1fr!important}.class-preview{width:64px;height:64px}.class-body-preview{width:54px!important;height:54px!important}}
.stack-count{position:absolute;right:7px;top:7px;z-index:3;background:#111827;color:#ffe178;border:1px solid #ffe178;border-radius:999px;padding:3px 7px;font-weight:900;font-size:12px;box-shadow:0 3px 12px #0008}.item-card{position:relative}.permadeath-warning{display:flex;gap:12px;align-items:center;background:linear-gradient(135deg,#4b1015,#1b0b0e);border:1px solid #e65b65;border-radius:14px;padding:14px 18px;margin-bottom:18px;color:#fff}.permadeath-warning b{color:#ff8b93;white-space:nowrap}.world-card.high-risk{border-color:#d44b55;box-shadow:0 0 0 1px #d44b5533 inset}.risk-label,.safe-label{display:block;margin:8px 0;font-size:11px;letter-spacing:.08em}.risk-label{color:#ff6974}.safe-label{color:#77e49a}.area-order{display:block;color:#8fa5c9;font-weight:800;letter-spacing:.08em;margin-bottom:4px}.world-card button{min-height:42px}.world-card.high-risk button{background:linear-gradient(135deg,#9f2630,#e14b57)}

/* V4.7 — barra 1-6, poderes por imagem e escala da cidade */
#skillBar .skill.icon-only .name{display:none!important}#skillBar .skill.icon-only{position:relative;width:58px!important;height:58px!important;display:grid;place-items:center}#skillBar .skill.icon-only img{width:44px!important;height:44px!important;object-fit:contain}#skillBar .skill.locked{filter:grayscale(1);opacity:.48;cursor:not-allowed}#skillBar .skill .lock{position:absolute;inset:auto 2px 2px 2px;background:#090c13dc;border-radius:5px;font-size:8px;text-align:center;color:#ffdc7a}.quick-slot small{display:none!important}.quick-slot{width:58px!important;height:58px!important}.quick-slot img{width:42px!important;height:42px!important}.quick-slot .key,.skill .key{font-weight:900}.world-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.world-card img{height:120px;object-fit:cover;image-rendering:pixelated}
@media(max-width:700px){#skillBar{gap:4px}.skill,.quick-slot,#skillBar .skill.icon-only{width:46px!important;height:46px!important}.skill img,#skillBar .skill.icon-only img,.quick-slot img{width:34px!important;height:34px!important}}

/* V4.8 — cidade compacta, poderes evolutivos, loja e portas de túnel */
.shopkeeper-banner{display:flex;gap:16px;align-items:center;padding:16px;margin-bottom:16px;border:1px solid #8e6b37;border-radius:16px;background:linear-gradient(135deg,#302319,#111522);box-shadow:0 10px 30px #0007}.shopkeeper-banner img{width:92px;height:92px;object-fit:contain;image-rendering:pixelated;background:#080b12;border-radius:14px}.shopkeeper-banner h3{margin:0 0 6px;color:#ffe178}.shopkeeper-banner p{margin:0;color:#d7c9ad;font-style:italic}.skill-evolution-header{display:flex;gap:18px;align-items:center;padding:16px;border:1px solid #536381;border-radius:16px;background:linear-gradient(135deg,#202b44,#0d1320);margin-bottom:16px}.skill-evolution-header img{width:100px;height:100px;object-fit:contain;image-rendering:pixelated}.skill-evolution-header h2,.skill-evolution-header p{margin:3px}.skill-tree{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.skill-node{padding:16px;text-align:center;border:1px solid #39465f;border-radius:15px;background:linear-gradient(160deg,#172137,#090e18)}.skill-node img{width:78px;height:78px;object-fit:contain;image-rendering:pixelated}.skill-node h3{margin:8px 0 3px}.skill-node p,.skill-node small{display:block;color:#aeb8cc}.skill-node.learned{border-color:#55d68d;box-shadow:0 0 25px #55d68d22}.skill-node.available{border-color:#e6bd5d;box-shadow:0 0 25px #e6bd5d22}.skill-node.blocked{filter:grayscale(.8);opacity:.58}.skill-node button{width:100%;margin-top:12px}.skill .key,.quick-slot .key{display:none!important}

/* V4.9 — Missões entregues diretamente por Kaela */
.kaela-dialogue-card{display:grid;grid-template-columns:110px 1fr;gap:18px;align-items:center;padding:16px;margin-bottom:16px;border:1px solid rgba(212,166,74,.55);border-radius:14px;background:linear-gradient(135deg,rgba(67,39,86,.92),rgba(20,27,46,.96));box-shadow:0 10px 28px rgba(0,0,0,.25)}
.kaela-dialogue-card>img{width:110px;height:110px;object-fit:contain;image-rendering:pixelated;background:rgba(0,0,0,.28);border:2px solid #d4a64a;border-radius:12px;padding:8px}
.kaela-dialogue-card small{color:#e8bd62;font-weight:800;letter-spacing:.08em}.kaela-dialogue-card h3{margin:4px 0 8px;font-size:1.35rem}.kaela-dialogue-card p{margin:0;color:#f0edf6;line-height:1.5}.kaela-status{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.kaela-status span{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:6px 9px;border-radius:8px;font-size:.8rem}.kaela-mission-board .mission-card.ready{outline:2px solid #79e79b;box-shadow:0 0 18px rgba(121,231,155,.22)}
@media(max-width:700px){.kaela-dialogue-card{grid-template-columns:76px 1fr;padding:11px;gap:11px}.kaela-dialogue-card>img{width:76px;height:76px}.kaela-dialogue-card h3{font-size:1.05rem}.kaela-dialogue-card p{font-size:.84rem}}

/* V5.2 — blocos internos, informação oficial e interface gamer */
.dialogue{background:linear-gradient(135deg,rgba(9,14,27,.97),rgba(24,31,52,.97));border:2px solid #7b91ba;box-shadow:0 18px 55px #000c,0 0 0 3px #101827,0 0 28px #5aa7ff2e}
.dialogue:before{content:'DIÁLOGO';position:absolute;top:-13px;left:92px;background:linear-gradient(90deg,#d8ad4f,#866323);color:#160f06;font-size:10px;font-weight:1000;letter-spacing:.14em;padding:5px 12px;border-radius:8px;border:1px solid #ffe99c}
.dialogue img{background:radial-gradient(circle,#334263,#0a0f1d 70%);border:2px solid #e0bd69;border-radius:12px;padding:5px;box-shadow:inset 0 0 18px #0008}
.dialogue strong{font-size:16px;color:#ffe28a}.dialogue p{font-size:14px;line-height:1.55;color:#f1f5ff}
.info-hero{display:grid;grid-template-columns:120px 1fr;gap:18px;align-items:center;padding:18px;border:1px solid #4ecfc1;border-radius:16px;background:linear-gradient(135deg,#173c43,#10172a);box-shadow:0 16px 40px #0008}
.info-hero>img{width:120px;height:120px;object-fit:contain;image-rendering:pixelated;background:#071018;border:2px solid #61e2d4;border-radius:14px;padding:8px}.info-hero small,.notice-card small{color:#74eee0;font-weight:900;letter-spacing:.13em}.info-hero h3{margin:4px 0;color:#fff;font-size:24px}.info-hero p{margin:0;line-height:1.55;color:#dffcf8}
.notice-board{display:grid;gap:12px;margin-top:15px}.notice-card{display:grid;grid-template-columns:72px 1fr;gap:14px;padding:14px;background:linear-gradient(145deg,#151c2d,#0b101c);border:1px solid #354866;border-radius:14px;box-shadow:0 10px 28px #0005}.notice-card.featured{border-color:#e1b95d;box-shadow:0 0 0 2px #e1b95d22,0 12px 35px #0007}.notice-icon{width:72px;height:72px;display:grid;place-items:center;background:#090e18;border:1px solid #40536e;border-radius:12px}.notice-icon img{width:58px;height:58px;object-fit:contain;image-rendering:pixelated}.notice-card h3{margin:3px 0 7px;color:#ffe17e}.notice-card p{margin:0;color:#d4dced;line-height:1.5}.notice-card em{display:block;margin-top:8px;color:#8290aa;font-size:11px}.empty-notice{text-align:center;padding:30px;border:1px dashed #3d4d66;border-radius:14px;background:#0b101a}.empty-notice img{width:70px;height:70px;object-fit:contain}
.service-card,.mission-card,.shop-item,.item-card{background:linear-gradient(155deg,#182238,#0b101c)!important;border:1px solid #3b4d6b!important;box-shadow:0 10px 28px #0005}.service-card h3,.mission-card h3,.shop-item b{color:#ffe17e}.panel:before{content:'';position:absolute;inset:8px;pointer-events:none;border:1px solid #ffffff0d;border-radius:12px}
@media(max-width:700px){.info-hero{grid-template-columns:78px 1fr;padding:12px}.info-hero>img{width:78px;height:78px}.info-hero h3{font-size:18px}.notice-card{grid-template-columns:52px 1fr}.notice-icon{width:52px;height:52px}.notice-icon img{width:42px;height:42px}}

.area-warning-card{position:relative;width:min(720px,92vw);padding:26px;border:2px solid #d6a84a;border-radius:20px;background:linear-gradient(145deg,rgba(17,20,32,.98),rgba(39,23,31,.98));box-shadow:0 28px 90px #000b,inset 0 0 40px #8b4b1b22;text-align:center;color:#f8ead1}.area-warning-card:before{content:'';position:absolute;inset:8px;border:1px solid #d6a84a55;border-radius:14px;pointer-events:none}.warning-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border-radius:50%}.warning-emblem{width:118px;height:118px;margin:-72px auto 12px;border:4px solid #d6a84a;border-radius:50%;background:#111827;display:grid;place-items:center;box-shadow:0 0 34px #d6a84a55}.warning-emblem img{width:90px;height:90px;object-fit:contain;image-rendering:pixelated}.area-warning-card>small{color:#eab65d;letter-spacing:.16em;font-weight:800}.area-warning-card h2{font-size:clamp(1.5rem,4vw,2.45rem);margin:8px 0}.area-warning-card>p{max-width:590px;margin:0 auto 18px;color:#d8d0c4}.warning-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.warning-levels div{padding:13px;border:1px solid #ffffff18;border-radius:12px;background:#070b14aa}.warning-levels span{display:block;font-size:.7rem;color:#aeb7c9}.warning-levels b{display:block;font-size:1.45rem;margin-top:4px}.warning-permadeath{display:flex;align-items:center;gap:13px;text-align:left;padding:13px;border:1px solid #db4b4b88;background:#5e171733;border-radius:12px}.warning-permadeath img{width:46px;height:46px;object-fit:contain}.warning-permadeath span{display:block;color:#e8c7c7;font-size:.86rem}.warning-actions{display:flex;justify-content:center;gap:12px;margin-top:18px}.warning-actions button{min-width:180px}.warning-actions .danger{background:linear-gradient(#ce4b4b,#832323);border-color:#f28181}@media(max-width:650px){.warning-levels{grid-template-columns:1fr}.warning-actions{flex-direction:column}.warning-actions button{width:100%}.area-warning-card{padding:22px 16px}.warning-emblem{width:92px;height:92px;margin-top:-58px}.warning-emblem img{width:68px;height:68px}}


/* V5.6 mapa épico + HUD gamer */
.gamer-resources{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:8px;padding:0;background:transparent;border:none;min-width:360px;max-width:430px}
.resource-card{display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:center;padding:10px 12px;border-radius:14px;border:1px solid #44567a;background:linear-gradient(180deg,rgba(17,24,38,.95),rgba(8,12,21,.95));box-shadow:0 14px 28px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.03)}
.resource-card.wide{grid-column:span 2}
.resource-icon{width:44px;height:44px;border-radius:12px;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.12),rgba(0,0,0,.18));display:grid;place-items:center;border:1px solid rgba(255,255,255,.08)}
.resource-icon img{width:28px;height:28px;object-fit:contain;image-rendering:pixelated}
.resource-meta{display:flex;flex-direction:column;gap:2px;min-width:0}
.resource-meta small{font-size:10px;letter-spacing:.12em;color:#8ea0c6;font-weight:800}
.resource-meta b{font-size:20px;line-height:1;color:#fff7cf;text-shadow:0 0 14px rgba(255,224,116,.22)}
.mini-bar{position:relative;height:8px;border-radius:999px;background:#070b13;border:1px solid #2b3951;overflow:hidden;margin-top:4px}
.mini-bar i{display:block;height:100%;width:0%;background:linear-gradient(90deg,#4a72ff,#82d3ff)}
.level-card .resource-icon{background:radial-gradient(circle,#5b72ff55,#10192b)}
.gold-card .resource-icon{background:radial-gradient(circle,#ffda6255,#22190b)}
.power-card .resource-icon{background:radial-gradient(circle,#d774ff55,#1c1027)}
.xp-card .resource-icon{background:radial-gradient(circle,#68c7ff55,#0d1824)}
#panel .world-layout{display:grid;grid-template-columns:280px 1fr;gap:14px;align-items:start}
.world-sidebar{display:grid;gap:10px}
.continent-card{background:linear-gradient(180deg,rgba(25,31,49,.98),rgba(11,15,24,.98));border:1px solid #354667;border-radius:16px;padding:12px;box-shadow:0 12px 32px rgba(0,0,0,.18)}
.continent-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.continent-head img{width:32px;height:32px;object-fit:contain}
.continent-card h3{margin:0;font-size:1rem;color:#ffe39a}
.continent-card p{margin:4px 0 0;color:#cbd4ea;font-size:.83rem;line-height:1.45}
.continent-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.continent-stats span{background:#0b1220;border:1px solid #30405f;border-radius:999px;padding:5px 9px;font-size:.74rem;color:#d9e6ff}
.world-map-shell{display:grid;gap:12px}
.world-map-board{position:relative;min-height:640px;border-radius:22px;overflow:hidden;border:1px solid #44608a;background:#08101d center/cover no-repeat;box-shadow:0 25px 70px rgba(0,0,0,.34)}
.world-map-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,10,18,.12),rgba(4,6,12,.18))}
.world-map-title{position:absolute;left:16px;top:16px;z-index:2;padding:10px 14px;border-radius:14px;background:rgba(7,10,17,.72);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.08)}
.world-map-title h3{margin:0 0 4px;color:#fff5c0}.world-map-title p{margin:0;color:#c8d8ff;font-size:.82rem}
.world-marker{position:absolute;z-index:3;transform:translate(-50%,-50%);width:116px;padding:6px;background:linear-gradient(180deg,rgba(18,26,39,.94),rgba(8,11,18,.94));border:1px solid rgba(91,126,176,.9);border-radius:14px;box-shadow:0 8px 22px rgba(0,0,0,.35);display:grid;gap:4px;text-align:center}
.world-marker:hover{filter:brightness(1.08);transform:translate(-50%,-50%) scale(1.03)}
.world-marker img{width:42px;height:42px;justify-self:center;object-fit:contain;image-rendering:pixelated}
.world-marker strong{font-size:.75rem;line-height:1.1;color:#fff}
.world-marker small{font-size:.67rem;color:#bdd0ff}
.world-marker .continent-tag,.world-marker .level-tag{display:inline-block;padding:2px 6px;border-radius:999px;font-size:.62rem;font-weight:800;letter-spacing:.04em}
.world-marker .continent-tag{background:#1a2944;color:#acd3ff}
.world-marker .level-tag{background:#3a2310;color:#ffd88d}
.world-marker.high-risk{border-color:#d56b6b;background:linear-gradient(180deg,rgba(42,18,24,.94),rgba(16,9,13,.95))}
.world-region-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.world-region-item{background:#121927;border:1px solid #31425f;border-radius:14px;padding:10px;display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center}
.world-region-item img{width:42px;height:42px;object-fit:contain}.world-region-item small{display:block;color:#95a7c6}.world-region-item .enter-btn{padding:7px 9px;font-size:.72rem}
.admin-hint{margin-top:10px;padding:10px 12px;background:#0c1220;border:1px solid #2f4260;border-radius:12px;color:#c4d3ef;font-size:.8rem}
@media(max-width:1100px){#panel .world-layout{grid-template-columns:1fr}.world-map-board{min-height:540px}}
@media(max-width:900px){.gamer-resources{grid-template-columns:1fr 1fr;min-width:0;max-width:330px}.resource-card{padding:8px 9px;grid-template-columns:38px 1fr}.resource-icon{width:38px;height:38px}.resource-meta b{font-size:16px}.world-map-board{min-height:420px}.world-marker{width:94px;padding:4px}}
@media(max-width:520px){.gamer-resources{display:none}.world-map-board{min-height:360px}.world-marker{width:82px}.world-marker img{width:30px;height:30px}.world-marker strong{font-size:.62rem}.world-region-list{grid-template-columns:1fr}}


/* V5.6.1 HUD compacto */
.gamer-resources{top:12px!important;right:12px!important;min-width:0!important;max-width:286px!important;grid-template-columns:repeat(2,minmax(112px,1fr))!important;gap:5px!important}
.resource-card{grid-template-columns:30px 1fr!important;gap:6px!important;padding:6px 8px!important;border-radius:10px!important;min-height:44px!important}
.resource-card.wide{grid-column:span 2!important}
.resource-icon{width:30px!important;height:30px!important;border-radius:8px!important}
.resource-icon img{width:20px!important;height:20px!important}
.resource-meta small{font-size:8px!important;letter-spacing:.08em!important}
.resource-meta b{font-size:14px!important}
.mini-bar{height:5px!important;margin-top:2px!important}
.gamer-menu{right:10px!important;top:auto!important;bottom:86px!important;display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:4px!important}
.gamer-menu button{width:86px!important;min-width:86px!important;height:44px!important;padding:4px 6px!important;flex-direction:row!important;justify-content:flex-start!important;gap:6px!important;border-radius:9px!important}
.gamer-menu button img{width:24px!important;height:24px!important;flex:0 0 24px!important}
.gamer-menu button span{font-size:9px!important;text-align:left!important;white-space:nowrap!important}
#skillBar{bottom:12px!important;gap:4px!important}
#skillBar .skill.icon-only,.quick-slot{width:46px!important;height:46px!important;border-radius:8px!important}
#skillBar .skill.icon-only img,.quick-slot img{width:34px!important;height:34px!important}
#skillBar .skill .lock{font-size:7px!important;padding:1px 2px!important}
#skillBar .skill em{font-size:8px!important}
@media(min-width:1500px){.gamer-resources{transform:none!important}.gamer-menu{bottom:72px!important}.gamer-menu button{width:82px!important;height:42px!important}}
@media(max-width:900px){.gamer-resources{max-width:230px!important;grid-template-columns:repeat(2,minmax(95px,1fr))!important}.resource-card{grid-template-columns:26px 1fr!important}.resource-icon{width:26px!important;height:26px!important}.resource-icon img{width:18px!important;height:18px!important}.resource-meta b{font-size:12px!important}.resource-meta small{font-size:7px!important}.gamer-menu{display:none!important}}

/* V5.7 mapa dinâmico profissional */
.dynamic-map-shell{display:grid;gap:14px}.dynamic-map-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;border:1px solid #3a4c6e;border-radius:16px;background:linear-gradient(135deg,#15223a,#0b111d)}.dynamic-map-header h3,.dynamic-map-header p{margin:2px 0}.dynamic-map-header small{color:#e9c46a;font-weight:900;letter-spacing:.12em}.dynamic-map-header p{color:#aebbd2;font-size:.82rem}.city-return-node{display:flex;align-items:center;gap:10px;min-width:190px;text-align:left;padding:9px 12px}.city-return-node img{width:42px;height:42px;object-fit:contain}.city-return-node span{display:flex;flex-direction:column}.city-return-node small{letter-spacing:0;color:#79d99d}.continent-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.continent-zone{position:relative;overflow:hidden;border:1px solid #344867;border-radius:18px;padding:14px;background:linear-gradient(155deg,#162339,#0a101b);box-shadow:0 14px 32px #0004}.continent-zone:before{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-70px;top:-80px;background:radial-gradient(circle,var(--zone-glow,#5e82bc55),transparent 70%);pointer-events:none}.continent-zone.emerald{--zone-glow:#4ccf8c77}.continent-zone.frost{--zone-glow:#7bcdf077}.continent-zone.inferno{--zone-glow:#ef6a4c77}.continent-zone.shadow{--zone-glow:#9a62df77}.continent-zone.dunes{--zone-glow:#d8ad5177}.continent-zone.wild{--zone-glow:#6bc26777}.continent-zone.stone{--zone-glow:#929bad77}.continent-zone.astral{--zone-glow:#71a9ff77}.continent-zone-head{position:relative;z-index:1;display:grid;grid-template-columns:50px 1fr auto;gap:10px;align-items:center;margin-bottom:12px}.continent-symbol{width:50px;height:50px;display:grid;place-items:center;border:1px solid #ffffff15;border-radius:14px;background:#07101dcc}.continent-symbol img{width:34px;height:34px;object-fit:contain}.continent-zone-head h4,.continent-zone-head p{margin:1px 0}.continent-zone-head h4{color:#ffe6a4}.continent-zone-head p{font-size:.74rem;color:#9fb0cc;line-height:1.35}.continent-zone-head small{font-size:.65rem;color:#7f95bc;letter-spacing:.12em}.continent-levels{padding:5px 8px;border-radius:999px;background:#0a1220;border:1px solid #35496a;color:#dce8ff;font-size:.7rem;font-weight:900}.continent-route{display:flex;align-items:stretch;gap:5px;overflow-x:auto;padding:5px 2px 8px}.route-link{align-self:center;flex:0 0 20px;height:2px;background:linear-gradient(90deg,#4a638a,#8299bd);opacity:.75}.map-node{position:relative;flex:0 0 126px;min-height:126px;padding:8px;display:grid;grid-template-rows:44px auto auto;gap:4px;justify-items:center;background:linear-gradient(#182740,#0b121f);border:1px solid #3d5476;border-radius:14px;text-align:center}.map-node:hover{transform:translateY(-2px);border-color:#e7c66f}.map-node.danger-node{border-color:#864457;background:linear-gradient(#3a1e2b,#160d13)}.route-dot{position:absolute;top:-6px;width:12px;height:12px;border-radius:50%;background:#d9bd65;border:2px solid #171d2b}.node-art{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#07101b}.node-art img{max-width:40px;max-height:40px;object-fit:contain;image-rendering:pixelated}.node-copy b{display:block;font-size:.72rem;line-height:1.18}.node-copy small{color:#9db1d3;font-size:.65rem}.map-node em{font-style:normal;font-size:.57rem;font-weight:900;color:#72d799}.map-node.danger-node em{color:#ff8692}.compact-warning{padding:9px 12px!important;margin-bottom:0!important}.area-warning-card{z-index:2}.warning-actions button{pointer-events:auto;position:relative;z-index:3}.modal:not(.hidden){pointer-events:auto}.modal.hidden{display:none!important}
@media(max-width:1050px){.continent-map-grid{grid-template-columns:1fr}.dynamic-map-header{align-items:flex-start}.city-return-node{min-width:160px}}
@media(max-width:620px){.dynamic-map-header{display:grid}.city-return-node{width:100%}.continent-zone-head{grid-template-columns:44px 1fr}.continent-levels{grid-column:1/-1;justify-self:start}.map-node{flex-basis:108px;min-height:116px}.continent-route{padding-bottom:12px}}


/* ONLINE V1 */
.online-auth{position:fixed;inset:0;z-index:9999;display:none;place-items:center;padding:18px;background:radial-gradient(circle at 50% 15%,#263b63,#05070d 70%)}
.online-auth.active{display:grid}.online-auth-card{width:min(460px,94vw);padding:26px;border-radius:20px;background:linear-gradient(150deg,#15233a,#090e18);border:1px solid #4a6289;box-shadow:0 35px 100px #000c;text-align:center}.online-logo{font-size:48px;color:#ffe17d}.online-auth h1{font-size:34px;letter-spacing:.12em}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:16px 0}.auth-tabs button.active{border-color:#f4c96b;background:linear-gradient(#725729,#2d2415)}.auth-form{display:grid;gap:10px;text-align:left}.auth-form label{font-size:12px;color:#c8d4e8}.online-primary{width:100%;min-height:48px;border-color:#c49a42;background:linear-gradient(#86662c,#3c2b13)}.auth-message{min-height:20px;color:#ff91a1}.online-panel{position:absolute;z-index:95;right:18px;top:18px;width:min(430px,94vw);max-height:88vh;display:flex;flex-direction:column;background:#0a101bf5;border:1px solid #486083;border-radius:16px;box-shadow:0 25px 75px #000b;overflow:hidden}.online-panel header,.online-panel footer{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:#111b2d;border-bottom:1px solid #30415f}.online-panel footer{border-bottom:0;border-top:1px solid #30415f}.online-panel h2{margin:2px 0}.online-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:8px}.online-tabs button{font-size:10px;padding:8px 4px}.online-tabs button.active{border-color:#f4c96b}.online-content{padding:10px;overflow:auto;min-height:260px}.online-player-card{display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;padding:9px;margin-bottom:7px;background:#121c2b;border:1px solid #30435f;border-radius:12px}.online-player-card img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated}.online-player-card small{display:block;color:#95a9c8}.online-player-card button{padding:6px 8px;font-size:10px}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#52db8a;margin-right:5px}.status-dot.offline{background:#6d7789}.world-chat{position:absolute;z-index:30;left:16px;bottom:92px;width:min(390px,55vw);background:#080d16dd;border:1px solid #3d5273;border-radius:13px;overflow:hidden;pointer-events:auto}.world-chat #worldChatMessages{height:145px;overflow:auto;padding:9px}.chat-line{font-size:12px;padding:3px 0}.chat-line b{color:#ffe17d}.world-chat form{display:grid;grid-template-columns:1fr auto;border-top:1px solid #2e405d}.world-chat input{border:0;border-radius:0}.world-chat button{border-radius:0}.remote-player-label{font:700 12px system-ui}.online-empty{padding:24px;text-align:center;color:#95a9c8}.friend-chat{display:grid;grid-template-rows:1fr auto;height:330px}.friend-chat-log{overflow:auto;background:#080d16;border:1px solid #263853;border-radius:10px;padding:8px}.friend-chat-form{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:8px}
@media(max-width:700px){.online-panel{right:3vw;top:3vh;width:94vw}.world-chat{left:3vw;bottom:168px;width:94vw}.online-tabs{grid-template-columns:repeat(2,1fr)}}


/* V1.4 chat online compacto */
.world-chat-toggle{position:absolute;z-index:31;right:16px;bottom:18px;min-width:82px;height:38px;padding:0 12px;border-radius:999px;display:flex;align-items:center;justify-content:center;gap:6px;background:linear-gradient(180deg,#263a5b,#111a2a);border:1px solid #5876a5;box-shadow:0 10px 28px #0008;pointer-events:auto;font-size:11px}
.world-chat-toggle .chat-pulse{width:8px;height:8px;border-radius:50%;background:#57e59a;box-shadow:0 0 10px #57e59a}
.world-chat.compact-chat{left:auto;right:16px;bottom:64px;width:min(320px,calc(100vw - 32px));max-height:310px;border-radius:14px;background:#080d16f2;box-shadow:0 18px 50px #000a}
.world-chat.compact-chat>header{height:38px;padding:0 8px 0 12px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,#17243a,#0d1523);border-bottom:1px solid #344965;font-size:11px;letter-spacing:.08em}
.world-chat.compact-chat>header button{width:28px;height:28px;padding:0;border-radius:8px;font-size:18px}
.world-chat.compact-chat #worldChatMessages{height:130px;max-height:130px;padding:8px}
.world-chat.compact-chat form{grid-template-columns:1fr 64px}
.world-chat.compact-chat input{font-size:12px;padding:8px}
.world-chat.compact-chat form button{font-size:9px;padding:7px}
.online-panel{right:16px;top:auto;bottom:64px;width:min(360px,calc(100vw - 32px));max-height:70vh}
body:not(.game-online-ready) #worldChat,body:not(.game-online-ready) #worldChatToggle,body:not(.game-online-ready) #onlinePanel{display:none!important}
@media(max-width:700px){.world-chat-toggle{right:10px;bottom:172px}.world-chat.compact-chat{right:10px;left:auto;bottom:216px;width:min(300px,calc(100vw - 20px));max-height:270px}.online-panel{right:10px;bottom:210px;width:calc(100vw - 20px);max-height:60vh}}

/* V1.6 — Clãs e cooperação */
.clan-shell{display:grid;gap:14px}.clan-hero{padding:16px;border:1px solid #6f5a2f;background:linear-gradient(135deg,#171a25,#2c2130);border-radius:14px;box-shadow:0 12px 28px #0007}.clan-hero h3{margin:4px 0;color:#ffe49a}.clan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.clan-card{padding:12px;border:1px solid #ffffff18;background:#0e1220;border-radius:12px}.clan-card b{color:#f7dc88}.clan-members{display:grid;gap:8px}.clan-member{display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center;padding:8px;background:#111726;border:1px solid #ffffff12;border-radius:10px}.clan-member img{width:38px;height:38px;object-fit:contain;background:#080b12;border-radius:8px}.clan-actions{display:flex;flex-wrap:wrap;gap:7px}.clan-actions button,.clan-card button{font-size:11px;padding:8px 10px}.clan-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:999px;background:#5a401a;color:#ffe9a8;font-size:11px}.clan-warning{padding:10px;border-left:3px solid #e0b14b;background:#2a2112}.ground-item-label{position:absolute;pointer-events:none}.boss-shield-bar{background:#5ecbff!important}.trade-item-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:8px;border-bottom:1px solid #ffffff10}
@media(max-width:700px){.clan-grid{grid-template-columns:1fr}.clan-member{grid-template-columns:34px 1fr}.clan-member>button{grid-column:1/-1}}

/* Intro gamer de entrada */
.entry-intro{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;overflow:hidden;background:#04060b;color:#fff}.entry-intro.hidden{display:none}.entry-intro-bg{position:absolute;inset:-8%;background:radial-gradient(circle at 50% 35%,rgba(99,61,190,.28),transparent 34%),radial-gradient(circle at 20% 80%,rgba(29,125,148,.2),transparent 28%),linear-gradient(135deg,#050711,#101526 55%,#07080d);animation:entryDrift 7s ease-in-out infinite alternate}.entry-intro-bg:before,.entry-intro-bg:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:42px 42px;transform:perspective(500px) rotateX(58deg) scale(1.4);transform-origin:center bottom}.entry-intro-bg:after{background:radial-gradient(circle,rgba(255,218,112,.55) 0 1px,transparent 2px);background-size:58px 58px;animation:entryStars 6s linear infinite}.entry-intro-card{position:relative;width:min(560px,90vw);padding:38px 32px 30px;text-align:center;border:1px solid rgba(255,215,112,.45);border-radius:24px;background:linear-gradient(180deg,rgba(13,17,30,.92),rgba(4,7,13,.96));box-shadow:0 25px 90px #000,0 0 70px rgba(106,74,210,.18),inset 0 0 45px rgba(255,255,255,.025)}.entry-emblem{width:88px;height:88px;margin:0 auto 15px;display:grid;place-items:center;border:2px solid #e5bd62;border-radius:50%;font-size:40px;color:#ffe49a;box-shadow:0 0 32px rgba(255,208,94,.35);animation:entryPulse 1.8s ease-in-out infinite}.entry-intro-card small{letter-spacing:.34em;color:#8fdff0;font-weight:900}.entry-intro-card h1{margin:8px 0 0;font-size:clamp(42px,9vw,76px);line-height:.95;letter-spacing:.08em;color:#ffe6a1;text-shadow:0 3px 0 #7d5318,0 0 28px rgba(255,211,100,.3)}.entry-intro-card h2{margin:10px 0 22px;font-size:13px;letter-spacing:.25em;color:#b6bfd7}.entry-intro-card p{min-height:24px;margin:0 0 12px;font-weight:800;color:#fff}.entry-progress{height:9px;border-radius:20px;background:#151c2b;border:1px solid #303b54;overflow:hidden}.entry-progress i{display:block;width:8%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#52d6e7,#9e6cff,#ffd46d);box-shadow:0 0 18px #7c76ff;transition:width .35s ease}.entry-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:13px}.entry-steps span{padding:7px 3px;border-radius:8px;background:#0c1220;border:1px solid #283149;color:#59657f;font-size:10px;font-weight:900;letter-spacing:.08em}.entry-steps span.active{color:#ffe290;border-color:#b68a36;background:#251d10;box-shadow:0 0 14px rgba(255,204,87,.15)}.entry-intro-card em{display:block;margin-top:16px;color:#748099;font-size:11px}.entry-runes{position:absolute;top:13px;left:18px;right:18px;display:flex;justify-content:space-between;color:#8f73e8;opacity:.65}@keyframes entryPulse{50%{transform:scale(1.06);box-shadow:0 0 48px rgba(255,208,94,.55)}}@keyframes entryDrift{to{transform:scale(1.04) translateY(-1%)}}@keyframes entryStars{to{transform:translateY(58px)}}

/* V2.2 — tela ampla, mobile compacto e mochila de 100 espaços */
@media (min-width:1100px){
  #game{width:100vw;height:100vh;object-fit:cover}
  .player-card{left:14px;top:12px}
  .quest{top:14px}
  .panel{width:min(1240px,94vw);max-height:92vh}
}
.backpack-section{min-width:0}.backpack-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;padding:11px 13px;border:1px solid #3b4965;border-radius:12px;background:linear-gradient(135deg,#182238,#0b111e)}.backpack-head h3{margin:0}.backpack-head small{color:#9eabc2}.capacity-bar{width:180px;height:9px;overflow:hidden;border:1px solid #40506e;border-radius:999px;background:#080d16}.capacity-bar i{display:block;height:100%;background:linear-gradient(90deg,#54c98a,#e3bd61,#d85b62)}.inventory-slot-grid{display:grid;grid-template-columns:repeat(10,minmax(72px,1fr));gap:7px}.inventory-cell{position:relative;min-width:0;aspect-ratio:1/1;border:1px solid #2f3c55;border-radius:10px;background:linear-gradient(145deg,#121a2a,#080d16);overflow:hidden}.inventory-cell.empty{display:grid;place-items:center;opacity:.42}.inventory-cell.empty span{font-size:10px;color:#71809c}.inventory-cell .item-card{height:100%;padding:5px;border:0;border-radius:0;display:grid;grid-template-rows:38px auto auto 1fr;align-content:start;gap:2px}.inventory-cell .item-card>img{width:38px;height:38px;margin:auto;object-fit:contain;image-rendering:pixelated}.inventory-cell .item-card>b{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.inventory-cell .item-card>small{font-size:7px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inventory-cell .item-card>small:nth-of-type(n+2){display:none}.inventory-cell .item-actions{display:flex;justify-content:center;gap:3px;align-self:end}.inventory-cell .item-actions button{padding:4px 5px;font-size:8px;min-width:0}.drop-item-btn{border-color:#a74a55!important;background:linear-gradient(#7b2632,#3d1219)!important}.inventory-cell .stack-count{right:3px;top:3px;padding:1px 5px;font-size:9px}
@media(max-width:900px){
  #game{object-fit:cover}
  .player-card{width:205px!important;padding:5px!important;gap:6px!important}.player-card #portrait{width:38px!important;height:38px!important}.player-card b{font-size:11px!important}.player-card small{font-size:8px!important}.bar{height:9px!important;margin-top:3px!important}.bar em{font-size:7px!important}
  .quest{top:58px!important;width:72vw!important;padding:6px 9px!important}.quest b{font-size:10px}.quest span{font-size:8px}
  #skillBar{bottom:150px!important;gap:3px!important}.skill,.quick-slot,#skillBar .skill.icon-only{width:40px!important;height:40px!important}.skill img,#skillBar .skill.icon-only img,.quick-slot img{width:29px!important;height:29px!important}
  .dpad{transform:scale(.78);transform-origin:left bottom;left:6px!important;bottom:4px!important}.actions{transform:scale(.78);transform-origin:right bottom;right:5px!important;bottom:4px!important}
  .panel{width:98vw!important;max-height:88vh!important;padding:10px!important}.panel h2{font-size:18px}
  .inventory-layout{gap:9px}.equipment{padding:8px}.equipment-grid{grid-template-columns:repeat(4,1fr)!important;gap:5px}.equip-slot{min-height:72px!important;padding:4px!important}.equip-slot img{width:36px!important;height:36px!important}.equip-slot b,.equip-slot small{font-size:8px!important}
  .backpack-head{padding:8px;display:grid}.capacity-bar{width:100%}.inventory-slot-grid{grid-template-columns:repeat(5,minmax(52px,1fr));gap:4px}.inventory-cell .item-card{grid-template-rows:31px auto auto 1fr;padding:3px}.inventory-cell .item-card>img{width:30px;height:30px}.inventory-cell .item-card>b{font-size:8px}.inventory-cell .item-card>small{font-size:6px}.inventory-cell .item-actions button{font-size:0;width:24px;height:22px;padding:2px}.inventory-cell .item-actions button:first-child:before{content:'✓';font-size:11px}.inventory-cell .item-actions .drop-item-btn{font-size:0}.inventory-cell .item-actions .drop-item-btn:before{content:'🗑';font-size:11px}
}
@media(max-width:520px){.inventory-slot-grid{grid-template-columns:repeat(4,minmax(50px,1fr))}.online-panel{font-size:11px}.dialogue{padding:9px!important;bottom:145px!important}.dialogue img{width:42px!important;height:42px!important}}

/* V2.2.1 — ações do inventário sempre visíveis */
.inventory-cell{overflow:visible!important;min-height:138px!important;aspect-ratio:auto!important}
.inventory-cell .item-card{min-height:136px!important;height:136px!important;display:flex!important;flex-direction:column!important;padding:5px!important;overflow:hidden!important}
.inventory-cell .item-card>img{flex:0 0 38px!important}
.inventory-cell .item-card>b{flex:0 0 auto!important}
.inventory-cell .item-card>small:first-of-type{flex:0 0 auto!important}
.inventory-cell .item-actions{margin-top:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) 32px!important;gap:4px!important;width:100%!important;position:relative!important;z-index:5!important}
.inventory-cell .item-actions:has(.drop-item-btn:only-child){grid-template-columns:1fr!important}
.inventory-cell .item-actions button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;padding:4px!important;font-size:9px!important;line-height:1!important;visibility:visible!important;opacity:1!important}
.inventory-cell .drop-item-btn span{font-size:13px!important}.inventory-cell .drop-item-btn em{display:none!important}
.inventory-cell .equip-item-btn{background:linear-gradient(180deg,#2d734f,#17442f)!important;border-color:#63c48d!important}
@media(max-width:700px){
 .inventory-slot-grid{grid-template-columns:repeat(4,minmax(65px,1fr))!important}
 .inventory-cell{min-height:128px!important}
 .inventory-cell .item-card{height:126px!important;min-height:126px!important}
 .inventory-cell .item-actions{grid-template-columns:minmax(0,1fr) 28px!important}
 .inventory-cell .item-actions button{font-size:8px!important;min-height:25px!important;width:auto!important}
 .inventory-cell .item-actions button:first-child:before{content:none!important}
}

/* Inventário compacto — exibe somente os espaços ocupados */
.inventory-slot-grid.occupied-only{grid-template-columns:repeat(auto-fill,minmax(86px,1fr));align-items:start}
.inventory-slot-grid.occupied-only .inventory-cell{width:100%}
.inventory-empty-message{grid-column:1/-1;min-height:120px;display:grid;place-items:center;align-content:center;gap:6px;text-align:center;border:1px dashed #43516b;border-radius:12px;background:#0b111dcc;color:#dbe6f7}
.inventory-empty-message small{color:#8f9db6}
@media(max-width:700px){.inventory-slot-grid.occupied-only{grid-template-columns:repeat(auto-fill,minmax(72px,1fr))!important}}


/* Nym marketplace */
.nym-shop-tabs{display:flex;gap:8px;margin:14px 0}.nym-shop-tabs button{flex:1;min-height:42px}.nym-shop-tabs button.active{outline:2px solid #d9ad55;box-shadow:0 0 18px rgba(217,173,85,.25)}
.nym-sell-note{padding:10px 12px;margin-bottom:10px;border:1px solid rgba(217,173,85,.35);border-radius:10px;background:rgba(80,51,18,.34);color:#f4d89a}.nym-sell-item strong{color:#83e39d}

/* V2.4 — Empório gamer com venda por seleção */
.nym-hero{position:relative;overflow:hidden;border:1px solid rgba(232,190,89,.55);background:radial-gradient(circle at 15% 20%,rgba(151,87,31,.35),transparent 32%),linear-gradient(135deg,#20150b,#0b111d 55%,#080b12);box-shadow:inset 0 0 35px rgba(255,184,69,.08),0 14px 40px rgba(0,0,0,.35)}
.nym-hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 30%,rgba(255,224,153,.08),transparent 65%)}
.nym-kicker{color:#e9bb61!important;letter-spacing:.2em;font-weight:900}.nym-rules{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.nym-rules span{padding:5px 8px;border:1px solid #4a3a24;border-radius:999px;background:#0b1019cc;color:#cfd7e6;font-size:10px;font-weight:800}
.nym-shop-tabs{padding:5px;border:1px solid #303c54;border-radius:13px;background:#090e18}.nym-shop-tabs button{border-radius:9px;background:linear-gradient(#172238,#0e1523);color:#8795ad;font-weight:900;letter-spacing:.05em}.nym-shop-tabs button.active{color:#ffe19a;border-color:#c49a48;background:linear-gradient(#4a361a,#24190c);outline:0;box-shadow:inset 0 0 18px rgba(255,200,86,.1),0 0 18px rgba(217,173,85,.18)}
.nym-section-head,.nym-sell-toolbar,.nym-sale-footer{display:flex;align-items:center;justify-content:space-between;gap:14px}.nym-section-head{padding:4px 3px 11px}.nym-section-head h3,.nym-sell-toolbar h3{margin:3px 0}.nym-section-head small,.nym-sell-toolbar small,.nym-sale-footer small{color:#8493ad;font-size:9px;letter-spacing:.16em;font-weight:900}.nym-section-head>span{padding:7px 11px;border-radius:999px;background:#131d2d;color:#b8c6dd;border:1px solid #33425d}
.nym-market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}.nym-market-card{position:relative;display:grid;grid-template-columns:58px 1fr;grid-template-rows:auto auto;gap:8px;padding:11px;border:1px solid #344159;border-radius:13px;background:linear-gradient(145deg,#121b2b,#080d16);overflow:hidden;min-height:150px}.nym-market-card>img{width:56px;height:56px;object-fit:contain;image-rendering:pixelated;z-index:1}.nym-card-body{display:flex;flex-direction:column;min-width:0;z-index:1}.nym-card-body b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nym-card-body small{color:#94a3bb;font-size:9px;margin-top:2px}.nym-stats{color:#d7e1f1!important}.nym-rarity{font-size:8px!important;letter-spacing:.12em;font-weight:900;color:#aeb9ca}.nym-card-price{display:flex;flex-direction:column;justify-content:center}.nym-card-price span{font-size:8px;color:#77869d}.nym-card-price strong{color:#f2c661}.nym-buy-btn{align-self:end;border-color:#6aa782!important;background:linear-gradient(#2c7651,#17402e)!important}.nym-card-glow{position:absolute;width:90px;height:90px;right:-25px;top:-30px;border-radius:50%;filter:blur(22px);opacity:.15;background:#719bff}.rarity-rare .nym-card-glow{background:#4f8dff;opacity:.28}.rarity-epic .nym-card-glow{background:#a066ff;opacity:.35}.rarity-legendary .nym-card-glow{background:#ffc24f;opacity:.42}.rarity-epic{border-color:#7651a8!important}.rarity-legendary{border-color:#a77b2e!important}
.nym-sell-toolbar{padding:4px 2px 9px}.nym-sell-actions{display:flex;gap:6px}.nym-sell-actions button{padding:7px 10px;font-size:10px}.nym-sell-grid{display:grid;gap:8px}.nym-sell-card{position:relative;display:grid;grid-template-columns:32px 58px minmax(0,1fr) 110px;align-items:center;gap:10px;padding:10px;border:1px solid #303c54;border-radius:12px;background:linear-gradient(100deg,#111927,#080d16);transition:.16s ease}.nym-sell-card.selected{border-color:#d6aa53;box-shadow:inset 0 0 22px rgba(221,174,78,.09),0 0 15px rgba(221,174,78,.12);transform:translateX(2px)}.nym-sell-card>img{width:54px;height:54px;object-fit:contain;image-rendering:pixelated}.nym-select-box{display:grid;place-items:center;cursor:pointer}.nym-select-box input{position:absolute;opacity:0}.nym-select-box span{display:grid;place-items:center;width:24px;height:24px;border:1px solid #4a5b77;border-radius:7px;background:#080d15;color:transparent;font-weight:900}.nym-select-box input:checked+span{color:#191205;background:#e5b95d;border-color:#ffda8a;box-shadow:0 0 15px rgba(229,185,93,.3)}.nym-sell-info{display:flex;flex-direction:column;min-width:0}.nym-sell-info b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nym-sell-info small{color:#91a0b8;font-size:9px}.nym-values{display:flex;gap:10px;margin-top:5px;font-size:10px}.nym-values span{color:#7d8da5}.nym-values strong{color:#80df9d}.nym-qty{text-align:center}.nym-qty>div{display:grid;grid-template-columns:30px 34px 30px;justify-content:center;align-items:center;margin-top:4px}.nym-qty button{height:28px;padding:0}.nym-qty b{height:28px;display:grid;place-items:center;background:#070b12;border-top:1px solid #34415a;border-bottom:1px solid #34415a}.nym-qty em{font-size:9px;color:#75839a}.nym-sale-footer{position:sticky;bottom:-1px;margin-top:12px;padding:12px;border:1px solid #4c3b20;border-radius:13px;background:linear-gradient(135deg,#17110aee,#0a101bee);backdrop-filter:blur(8px);box-shadow:0 -12px 30px rgba(0,0,0,.3);z-index:5}.nym-sale-footer>div{display:flex;flex-direction:column}.nym-sale-footer strong{font-size:22px;color:#f1c55f}.nym-sale-footer button{min-width:210px;min-height:42px;border-color:#c49a48;background:linear-gradient(#7a5622,#422b10);font-weight:900}.nym-sale-footer button:disabled{opacity:.38;filter:grayscale(1)}
@media(max-width:700px){.nym-market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.nym-market-card{grid-template-columns:42px 1fr;padding:7px;min-height:135px}.nym-market-card>img{width:40px;height:40px}.nym-card-body small{font-size:7px}.nym-shop-tabs button{font-size:9px;padding:7px 4px}.nym-sell-toolbar{align-items:flex-start;flex-direction:column}.nym-sell-card{grid-template-columns:25px 44px minmax(0,1fr);gap:6px;padding:7px}.nym-sell-card>img{width:42px;height:42px}.nym-qty{grid-column:2/4;display:flex;align-items:center;justify-content:flex-end;gap:7px}.nym-qty>small{display:none}.nym-qty>div{margin:0}.nym-values{display:grid;gap:1px}.nym-sale-footer{display:grid;grid-template-columns:1fr 1fr}.nym-sale-footer button{grid-column:1/-1;min-width:0;width:100%}.nym-rules{display:none}}

.sell-confirm-card{max-width:760px;background:linear-gradient(145deg,rgba(17,21,36,.99),rgba(28,19,18,.99));}.sell-confirm-card h2{color:#ffe5a4;text-shadow:0 0 24px rgba(244,201,107,.18)}.sell-confirm-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.sell-confirm-summary div{padding:14px;border-radius:14px;border:1px solid #ffffff1b;background:linear-gradient(180deg,rgba(8,12,20,.92),rgba(15,19,28,.92))}.sell-confirm-summary span{display:block;font-size:.75rem;letter-spacing:.12em;color:#cdb57a;font-weight:800}.sell-confirm-summary b{display:block;margin-top:6px;font-size:1.5rem;color:#fff7db}.sell-confirm-warning{display:flex;align-items:flex-start;gap:14px;text-align:left;padding:14px 16px;border:1px solid #b66666;background:linear-gradient(180deg,rgba(94,23,23,.36),rgba(37,13,13,.42));border-radius:14px;margin:10px 0 4px}.sell-confirm-warning img{width:46px;height:46px;object-fit:contain;image-rendering:pixelated;flex:0 0 auto}.sell-confirm-warning b{display:block;color:#ffd2d2;margin-bottom:4px}.sell-confirm-warning span{display:block;color:#f2d9d9;font-size:.9rem;line-height:1.4}.sell-confirm-warning ul{margin:8px 0 0 18px;padding:0;color:#fff0f0}.sell-confirm-warning li{margin:2px 0}.sell-confirm-warning small{display:block;margin-top:8px;color:#efc1c1}@media(max-width:650px){.sell-confirm-summary{grid-template-columns:1fr}.sell-confirm-warning{flex-direction:column;align-items:center;text-align:center}.sell-confirm-warning ul{text-align:left;width:100%}}

/* Hospedaria: descanso gamer de 60 segundos */
.inn-service-card{position:relative;overflow:hidden;text-align:center;padding:24px;background:radial-gradient(circle at 50% 0,#293453,#101522 62%);border:1px solid #7564a9;border-radius:16px}.inn-service-card:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent,#ffffff08,transparent);transform:translateX(-100%);animation:innShimmer 4s infinite}.inn-service-card>img{width:96px;height:96px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 0 18px #8e7ad8aa)}.inn-service-card>small{display:block;color:#cbbcff;letter-spacing:.18em;font-weight:900}.inn-service-card h3{font-size:1.7rem;margin:8px 0;color:#f4eaff}.inn-benefits{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:18px 0}.inn-benefits span{padding:10px;border:1px solid #ffffff18;border-radius:10px;background:#080d18aa;color:#dfe6ff}.inn-service-card button{position:relative;z-index:2;min-width:260px}
.inn-sleep-scene{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 30%,#16213d,#03050c 72%);color:#f1f4ff;animation:innFadeIn 1.2s both}.inn-night-vignette{position:absolute;inset:0;background:radial-gradient(circle,transparent 35%,#000b 100%);pointer-events:none}.inn-stars{position:absolute;inset:0;background-image:radial-gradient(circle,#fff 1px,transparent 1px),radial-gradient(circle,#9db8ff 1px,transparent 1px);background-size:83px 83px,127px 127px;background-position:13px 21px,45px 67px;opacity:.38;animation:innStars 8s linear infinite}.inn-sleep-room{position:relative;width:min(760px,92vw);padding:28px;border:1px solid #6e76a8;border-radius:22px;background:linear-gradient(160deg,#11192cf2,#080c16f5);box-shadow:0 35px 120px #000,0 0 65px #5263b933,inset 0 0 60px #6176bf0d;text-align:center}.inn-sleep-room:before{content:"";position:absolute;inset:9px;border:1px solid #ffffff12;border-radius:15px;pointer-events:none}.inn-sleep-header small{color:#b8c6ff;letter-spacing:.22em;font-weight:900}.inn-sleep-header h2{margin:7px 0 4px;font-family:Georgia,serif;font-size:clamp(1.8rem,5vw,2.7rem);color:#f6eeff;text-shadow:0 0 24px #9d87ff55}.inn-sleep-header p{margin:0;color:#aeb9d5}.inn-bed-stage{position:relative;height:220px;margin:22px 0;border:1px solid #344268;border-radius:18px;overflow:hidden;background:linear-gradient(#121d39,#080d18 62%,#151425);box-shadow:inset 0 -30px 50px #0007}.inn-room-art{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);width:180px;height:150px;object-fit:contain;image-rendering:pixelated;opacity:.55;filter:drop-shadow(0 10px 18px #000)}.inn-moon{position:absolute;right:48px;top:24px;font-size:56px;color:#fff6c7;text-shadow:0 0 30px #d8dcff}.inn-sleeper{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);width:260px;height:70px;border-radius:50% 50% 16px 16px;background:linear-gradient(#263455,#141a2c);border:1px solid #5c6d9c;box-shadow:0 15px 30px #0009,inset 0 8px 15px #ffffff0d}.sleep-silhouette{position:absolute;left:38px;top:-15px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#0a0d16;border:2px solid #43527b;color:#8fa3d8;font-size:24px;transform:rotate(-8deg)}.sleep-zzz{position:absolute;color:#d5ddff;font-family:Georgia,serif;font-weight:900;text-shadow:0 0 16px #839bff;opacity:0;animation:zzzFloat 3s infinite}.z1{left:125px;top:-12px;font-size:18px}.z2{left:155px;top:-44px;font-size:25px;animation-delay:1s}.z3{left:190px;top:-82px;font-size:34px;animation-delay:2s}.inn-rest-status{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.inn-rest-status div{padding:12px;border:1px solid #ffffff18;border-radius:12px;background:#080d18cc}.inn-rest-status span{display:block;font-size:.68rem;color:#99a8cf;letter-spacing:.14em}.inn-rest-status b{display:block;margin-top:5px;color:#eef2ff;font-size:1.1rem}.inn-progress{height:14px;margin:15px 0 10px;padding:2px;border:1px solid #52618d;border-radius:999px;background:#070a12;overflow:hidden}.inn-progress i{display:block;width:0;height:100%;border-radius:999px;background:linear-gradient(90deg,#5068bd,#9d8ee8,#e4d7ff);box-shadow:0 0 18px #9d8ee8;transition:width .8s linear}.inn-sleep-message{min-height:24px;margin:8px 0;color:#dce3ff;font-style:italic}.inn-sleep-lock{color:#7887aa}.inn-sleep-scene.awakening{animation:innAwaken 2.3s forwards}.inn-sleep-scene.awakening .inn-sleep-room{box-shadow:0 0 160px #fff8,0 0 80px #a7b7ff88}.inn-sleep-scene.awakening .inn-stars{opacity:.85}
@keyframes innFadeIn{from{opacity:0;filter:brightness(2)}to{opacity:1;filter:brightness(1)}}@keyframes innStars{to{transform:translateY(30px)}}@keyframes zzzFloat{0%{opacity:0;transform:translateY(12px) scale(.8)}30%{opacity:1}100%{opacity:0;transform:translateY(-30px) scale(1.15)}}@keyframes innAwaken{0%,70%{opacity:1;filter:brightness(1)}100%{opacity:0;filter:brightness(2.4)}}@keyframes innShimmer{50%,100%{transform:translateX(100%)}}
@media(max-width:650px){.inn-sleep-room{padding:20px 14px}.inn-bed-stage{height:180px}.inn-rest-status{grid-template-columns:1fr}.inn-benefits{grid-template-columns:1fr}.inn-sleep-header p{font-size:.86rem}.inn-room-art{width:140px;height:120px}.inn-sleeper{width:210px}.inn-moon{right:22px;top:18px;font-size:44px}}


/* V2.6 — experiência mobile horizontal compacta */
.rotate-device{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 50% 25%,#1d2b4d,#05070d 72%);color:#fff;text-align:center}
.rotate-device-card{width:min(360px,92vw);padding:28px 22px;border:1px solid #d4b45f;border-radius:22px;background:linear-gradient(160deg,#111a2df5,#080c15fa);box-shadow:0 28px 90px #000,0 0 45px #7c6bd633}
.rotate-device-card small{color:#e9c96f;letter-spacing:.2em;font-weight:900}.rotate-device-card h2{margin:8px 0;font-size:28px}.rotate-device-card p{margin:0;color:#b9c5dc;line-height:1.5}.rotate-device-card span{display:block;color:#7f91b1;font-size:12px}.rotate-phone{font-size:58px;animation:rotatePhone 1.7s ease-in-out infinite}.rotate-arrow{font-size:44px;color:#e9c96f;line-height:1.2;animation:rotateArrow 1.7s linear infinite}@keyframes rotatePhone{50%{transform:rotate(90deg) scale(1.08)}}@keyframes rotateArrow{to{transform:rotate(360deg)}}

@media (hover:none) and (pointer:coarse) and (orientation:portrait){.rotate-device:not(.hidden){display:grid!important}}
@media (hover:none) and (pointer:coarse) and (orientation:landscape){
 html,body,#app{width:100%;height:100%;height:100dvh}.rotate-device{display:none!important}#game{object-fit:cover!important}
 #mobile{display:block!important}.dpad{left:max(7px,env(safe-area-inset-left))!important;bottom:max(5px,env(safe-area-inset-bottom))!important;width:116px!important;height:108px!important;transform:none!important}.dpad button{width:38px!important;height:38px!important;padding:0!important;font-size:14px!important;border-radius:12px!important;opacity:.86!important}.dpad button:nth-child(1){left:39px!important;top:0!important}.dpad button:nth-child(2){left:0!important;top:35px!important}.dpad button:nth-child(3){left:39px!important;top:70px!important}.dpad button:nth-child(4){left:78px!important;top:35px!important}
 .actions{right:max(6px,env(safe-area-inset-right))!important;bottom:max(5px,env(safe-area-inset-bottom))!important;width:200px!important;height:112px!important;transform:none!important}.actions button{width:38px!important;height:38px!important;padding:4px!important;font-size:10px!important;border-radius:12px!important;opacity:.9!important}.actions button:nth-child(1){right:0!important;bottom:37px!important}.actions button:nth-child(2){right:40px!important;bottom:0!important}.actions button:nth-child(3){right:80px!important;bottom:0!important}.actions button:nth-child(4){right:0!important;bottom:0!important}.actions button:nth-child(n+5){position:absolute!important;width:31px!important;height:31px!important;margin:0!important;border-radius:9px!important}.actions button:nth-child(5){left:0!important;top:0!important}.actions button:nth-child(6){left:34px!important;top:0!important}.actions button:nth-child(7){left:0!important;top:34px!important}.actions button:nth-child(8){left:34px!important;top:34px!important}
 .player-card{left:max(6px,env(safe-area-inset-left))!important;top:max(5px,env(safe-area-inset-top))!important;width:178px!important;padding:4px 6px!important;gap:5px!important;border-radius:8px!important}.player-card #portrait{width:32px!important;height:32px!important}.player-card b{font-size:9px!important}.player-card small{font-size:6px!important}.bar{height:7px!important;margin-top:2px!important}.bar em{font-size:5px!important}
 .quest{top:max(5px,env(safe-area-inset-top))!important;width:240px!important;max-width:32vw!important;padding:4px 7px!important;border-radius:8px!important}.quest b{font-size:8px!important}.quest span{font-size:6px!important}.resources,.gamer-resources{display:none!important}
 #skillBar{left:50%!important;bottom:max(7px,env(safe-area-inset-bottom))!important;gap:3px!important}.skill,.quick-slot,#skillBar .skill.icon-only{width:32px!important;height:32px!important;border-radius:7px!important}.skill img,#skillBar .skill.icon-only img,.quick-slot img{width:23px!important;height:23px!important}.skill small{font-size:6px!important}.skill em{font-size:5px!important}
 .interaction{bottom:48px!important;padding:5px 10px!important;font-size:9px!important}.boss-hud{top:42px!important;width:48vw!important;font-size:8px!important}.boss-bar{height:9px!important}
 .dialogue{left:15%!important;right:15%!important;bottom:48px!important;padding:7px!important;gap:7px!important;max-height:86px!important;overflow:auto!important}.dialogue img{width:36px!important;height:36px!important}.dialogue b{font-size:10px!important}.dialogue p{font-size:8px!important;margin:3px 0!important}.dialogue span{font-size:7px!important}
 .panel{width:94vw!important;height:auto!important;max-height:88dvh!important;padding:10px!important;border-radius:11px!important}.panel h2{font-size:15px!important;margin:3px 0 8px!important}.panel>#closePanel{width:31px!important;height:31px!important;padding:0!important}.rpg-window,.asset-picker-card{width:95vw!important;max-height:90dvh!important;padding:10px!important;border-radius:11px!important}.rpg-window h2{font-size:15px!important}.rpg-window p{font-size:9px!important}
 .inventory-layout,.character-grid,.world-grid,.quest-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))!important;gap:6px!important}.inventory-slot-grid,.inventory-slot-grid.occupied-only{grid-template-columns:repeat(auto-fill,minmax(66px,1fr))!important;gap:4px!important}.inventory-cell{min-height:105px!important}.inventory-cell .item-card{height:103px!important;min-height:103px!important;padding:3px!important}.inventory-cell .item-card>img{width:27px!important;height:27px!important;flex-basis:27px!important}.inventory-cell .item-card>b{font-size:7px!important}.inventory-cell .item-card>small{font-size:5px!important}.inventory-cell .item-actions button{min-height:21px!important;font-size:7px!important}
 .nym-market-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}.nym-market-card{min-height:112px!important;padding:5px!important;grid-template-columns:34px 1fr!important}.nym-market-card>img{width:32px!important;height:32px!important}.nym-card-body b{font-size:8px!important}.nym-card-body small{font-size:6px!important}.nym-buy-btn{padding:5px!important;font-size:7px!important}.nym-sell-card{grid-template-columns:20px 34px minmax(0,1fr)!important;padding:5px!important}.nym-sell-card>img{width:32px!important;height:32px!important}.nym-sell-info b{font-size:8px!important}.nym-sell-info small{font-size:6px!important}.nym-qty button{width:25px!important;height:25px!important;padding:0!important}.nym-sale-footer{position:sticky;bottom:-10px;padding:7px!important}.nym-sale-footer b,.nym-sale-footer strong{font-size:10px!important}
 .online-panel{right:6px!important;top:6px!important;bottom:auto!important;width:min(360px,72vw)!important;max-height:86dvh!important;font-size:9px!important}.world-chat-toggle{right:8px!important;bottom:118px!important;padding:6px 8px!important;font-size:8px!important}.world-chat.compact-chat{right:6px!important;bottom:42px!important;width:min(300px,58vw)!important;max-height:62dvh!important;font-size:8px!important}
 .toast{bottom:48px!important;padding:6px 10px!important;font-size:8px!important}.start-card,.creation-card{width:min(640px,94vw)!important;max-height:92dvh!important;padding:14px!important}.start-card h1,.creation-card h1{font-size:32px!important}.start-card h2{font-size:14px!important}.start-actions{grid-template-columns:repeat(2,1fr)!important;margin:10px 0!important}.start-actions button{min-height:36px!important;padding:6px!important;font-size:10px!important}.choice{padding:6px!important}.choice img{width:32px!important;height:32px!important}.choice b{font-size:9px!important}.choice small{font-size:7px!important}
 .inn-sleep-room{width:94vw!important;max-height:92dvh!important;overflow:auto!important;padding:12px!important}.inn-bed-stage{height:120px!important;margin:10px 0!important}.inn-rest-status{grid-template-columns:repeat(3,1fr)!important;gap:5px!important}.inn-rest-status div{padding:6px!important}.inn-benefits{grid-template-columns:repeat(2,1fr)!important}.sell-confirm-card{max-height:90dvh!important;overflow:auto!important}.sell-confirm-summary{grid-template-columns:repeat(3,1fr)!important;gap:5px!important;margin:10px 0!important}.sell-confirm-summary div{padding:7px!important}.sell-confirm-warning{padding:8px!important;font-size:8px!important}
}


/* V2.6.1 — login livre na vertical e HUD mobile reorganizado */
@media (hover:none) and (pointer:coarse) and (orientation:portrait){
 body.mobile-login-visible .rotate-device{display:none!important}
 body.mobile-login-visible .online-auth{display:grid!important;overflow:auto!important;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))!important}
 body.mobile-login-visible .online-auth-card{width:min(430px,94vw)!important;max-height:none!important;padding:22px 18px!important;border-radius:18px!important}
 body.mobile-login-visible .online-logo{font-size:42px!important}
 body.mobile-login-visible .online-auth h1{font-size:27px!important;margin:8px 0!important}
 body.mobile-login-visible .online-auth p{font-size:13px!important;line-height:1.45!important}
 body.mobile-login-visible .auth-tabs button{min-height:42px!important;font-size:12px!important}
 body.mobile-login-visible .auth-form{gap:10px!important}
 body.mobile-login-visible .auth-form input{min-height:44px!important;font-size:16px!important;padding:10px 12px!important}
 body.mobile-login-visible .online-primary{min-height:46px!important;font-size:13px!important}
}

@media (hover:none) and (pointer:coarse) and (orientation:landscape){
 body.mobile-landscape-game .menu-buttons{right:max(7px,env(safe-area-inset-right))!important;top:max(7px,env(safe-area-inset-top))!important;display:grid!important;grid-template-columns:repeat(3,34px)!important;gap:4px!important;width:auto!important}
 body.mobile-landscape-game .menu-buttons button{min-width:34px!important;width:34px!important;height:34px!important;padding:4px!important;border-radius:8px!important;background:#0c1424e8!important;border-color:#3b4d6c!important;box-shadow:0 3px 10px #0007!important}
 body.mobile-landscape-game .menu-buttons button img{width:22px!important;height:22px!important;margin:0!important;object-fit:contain!important}
 body.mobile-landscape-game .menu-buttons button span{display:none!important}
 body.mobile-landscape-game .player-card{box-shadow:0 5px 16px #0008!important;backdrop-filter:blur(4px)!important}
 body.mobile-landscape-game .quest{left:50%!important;transform:translateX(-50%)!important;box-shadow:0 4px 14px #0007!important}
 body.mobile-landscape-game #skillBar{z-index:17!important;padding:3px 4px!important;border-radius:9px!important;background:#070b13b8!important;border:1px solid #2f3d55!important;box-shadow:0 4px 14px #0009!important}
 body.mobile-landscape-game .dpad,body.mobile-landscape-game .actions{z-index:18!important;filter:drop-shadow(0 4px 8px #0009)}
 body.mobile-landscape-game .dpad button,body.mobile-landscape-game .actions button{touch-action:none!important;-webkit-tap-highlight-color:transparent!important;user-select:none!important}
 body.mobile-landscape-game .interaction{z-index:19!important;white-space:nowrap!important;background:#080c15e8!important}
 body.mobile-landscape-game .panel{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(94vw,850px)!important;max-height:88dvh!important;overflow:auto!important}
 body.mobile-landscape-game .panel button,body.mobile-landscape-game .rpg-window button{min-height:30px!important;padding:5px 8px!important;font-size:9px!important}
 body.mobile-landscape-game .online-panel{left:50%!important;right:auto!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(82vw,640px)!important;max-height:88dvh!important}
 body.mobile-landscape-game .online-tabs{grid-template-columns:repeat(4,1fr)!important;gap:3px!important;padding:5px!important}
 body.mobile-landscape-game .online-tabs button{padding:5px 2px!important;font-size:8px!important}
 body.mobile-landscape-game .world-chat.compact-chat{left:auto!important;right:max(7px,env(safe-area-inset-right))!important;bottom:48px!important;width:min(280px,42vw)!important;max-height:48dvh!important}
 body.mobile-landscape-game .world-chat #worldChatMessages{height:74px!important;padding:5px!important}
 body.mobile-landscape-game .chat-line{font-size:8px!important;padding:2px 0!important}
 body.mobile-landscape-game .world-chat input{height:30px!important;font-size:9px!important;padding:5px!important}
 body.mobile-landscape-game .world-chat button{height:30px!important;padding:4px 7px!important;font-size:8px!important}
 body.mobile-landscape-game .dialogue{left:18%!important;right:18%!important;bottom:43px!important;border-radius:9px!important;box-shadow:0 7px 24px #000c!important}
 body.mobile-landscape-game .resources{display:none!important}
 body.mobile-landscape-game .nym-shop-tabs{gap:5px!important}
 body.mobile-landscape-game .nym-shop-tabs button{min-height:30px!important;font-size:8px!important;padding:5px!important}
 body.mobile-landscape-game .nym-section-head,body.mobile-landscape-game .nym-sell-toolbar{gap:6px!important;margin-bottom:5px!important}
 body.mobile-landscape-game .nym-section-head h3,body.mobile-landscape-game .nym-sell-toolbar h3{font-size:11px!important;margin:2px 0!important}
 body.mobile-landscape-game .nym-section-head small,body.mobile-landscape-game .nym-sell-toolbar small{font-size:6px!important}
 body.mobile-landscape-game .nym-sell-grid{gap:5px!important}
 body.mobile-landscape-game .sell-confirm-card{width:min(92vw,620px)!important;padding:13px!important}
 body.mobile-landscape-game .sell-confirm-card h2{font-size:17px!important}
 body.mobile-landscape-game .sell-confirm-card>p{font-size:9px!important}
 body.mobile-landscape-game .warning-emblem{width:68px!important;height:68px!important;margin-top:-46px!important}
 body.mobile-landscape-game .warning-emblem img{width:48px!important;height:48px!important}
 body.mobile-landscape-game .warning-actions{margin-top:9px!important;gap:7px!important}
 body.mobile-landscape-game .warning-actions button{min-width:120px!important}
 body.mobile-landscape-game .inn-sleep-header h2{font-size:19px!important}
 body.mobile-landscape-game .inn-sleep-header p{font-size:9px!important}
 body.mobile-landscape-game .inn-progress{height:9px!important;margin:8px 0!important}
}

@media (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:430px){
 body.mobile-landscape-game .player-card{width:165px!important}
 body.mobile-landscape-game .quest{max-width:29vw!important;width:205px!important}
 body.mobile-landscape-game .menu-buttons{grid-template-columns:repeat(3,31px)!important}
 body.mobile-landscape-game .menu-buttons button{width:31px!important;height:31px!important;min-width:31px!important}
 body.mobile-landscape-game .menu-buttons button img{width:19px!important;height:19px!important}
 body.mobile-landscape-game #skillBar{bottom:4px!important}
 body.mobile-landscape-game .skill,body.mobile-landscape-game .quick-slot,body.mobile-landscape-game #skillBar .skill.icon-only{width:29px!important;height:29px!important}
 body.mobile-landscape-game .dpad{transform:scale(.9)!important;transform-origin:left bottom!important}
 body.mobile-landscape-game .actions{transform:scale(.9)!important;transform-origin:right bottom!important}
}


/* V2.6.2 — controles mobile completos por toque */
@media (hover:none) and (pointer:coarse) and (orientation:landscape){
 body.mobile-landscape-game #mobile{display:block!important;pointer-events:none!important}
 body.mobile-landscape-game .dpad,body.mobile-landscape-game .actions,body.mobile-landscape-game .mobile-utility{pointer-events:auto!important}
 body.mobile-landscape-game .dpad{left:max(8px,env(safe-area-inset-left))!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:132px!important;height:126px!important}
 body.mobile-landscape-game .dpad button{width:44px!important;height:44px!important;padding:0!important;font-size:15px!important;background:linear-gradient(145deg,#22334fdd,#0c1424ee)!important;border:1px solid #6380a9!important;box-shadow:inset 0 0 10px #7ea5d322,0 4px 12px #0009!important}
 body.mobile-landscape-game .dpad button:nth-child(1){left:44px!important;top:0!important}.dpad button:nth-child(2){left:0!important;top:41px!important}.dpad button:nth-child(3){left:44px!important;top:82px!important}.dpad button:nth-child(4){left:88px!important;top:41px!important}
 body.mobile-landscape-game .actions{right:max(8px,env(safe-area-inset-right))!important;bottom:max(7px,env(safe-area-inset-bottom))!important;width:214px!important;height:142px!important;display:block!important}
 body.mobile-landscape-game .actions button{position:absolute!important;width:43px!important;height:43px!important;min-width:43px!important;padding:3px!important;border-radius:50%!important;background:linear-gradient(145deg,#263651ee,#101827f2)!important;border:1px solid #647ca2!important;box-shadow:inset 0 0 10px #ffffff12,0 4px 12px #0009!important}
 body.mobile-landscape-game .actions button img{width:27px!important;height:27px!important;object-fit:contain!important}
 body.mobile-landscape-game .actions button span{display:none!important}
 body.mobile-landscape-game .actions .mobile-attack{width:58px!important;height:58px!important;right:0!important;bottom:38px!important;border-color:#d97171!important;background:linear-gradient(145deg,#8a3039ee,#35131aee)!important}
 body.mobile-landscape-game .actions .mobile-attack img{width:39px!important;height:39px!important}
 body.mobile-landscape-game .actions button[data-action="heavy"]{right:56px!important;bottom:0!important}
 body.mobile-landscape-game .actions button[data-action="defend"]{right:56px!important;bottom:82px!important}
 body.mobile-landscape-game .actions button[data-action="potion"]{right:105px!important;bottom:5px!important}
 body.mobile-landscape-game .actions button[data-action="mana"]{right:105px!important;bottom:55px!important}
 body.mobile-landscape-game .actions button[data-action="skill1"]{left:0!important;top:0!important}body.mobile-landscape-game .actions button[data-action="skill2"]{left:45px!important;top:0!important}body.mobile-landscape-game .actions button[data-action="skill3"]{left:0!important;top:47px!important}body.mobile-landscape-game .actions button[data-action="ultimate"]{left:45px!important;top:47px!important}
 body.mobile-landscape-game .mobile-utility{position:absolute!important;left:max(146px,calc(env(safe-area-inset-left) + 146px))!important;bottom:max(10px,env(safe-area-inset-bottom))!important;display:flex!important;gap:5px!important;align-items:flex-end!important}
 body.mobile-landscape-game .mobile-utility button{position:relative!important;width:50px!important;height:50px!important;min-width:50px!important;padding:4px!important;border-radius:13px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;background:#0d1728e8!important;border:1px solid #516b90!important;box-shadow:0 4px 12px #0009!important}
 body.mobile-landscape-game .mobile-utility button img{width:26px!important;height:26px!important;object-fit:contain!important}
 body.mobile-landscape-game .mobile-utility button span,body.mobile-landscape-game .mobile-utility button b{font-size:6px!important;line-height:1!important;color:#fff!important}
 body.mobile-landscape-game .mobile-utility .mobile-interact{border-color:#d4ad54!important;background:linear-gradient(#6e5525e8,#241c10ee)!important}
 body.mobile-landscape-game .mobile-utility .mobile-interact>span{font-size:19px!important;color:#ffe58d!important}
 body.mobile-landscape-game button.pressed,body.mobile-landscape-game button.active{transform:scale(.92)!important;filter:brightness(1.32)!important;box-shadow:0 0 16px #7fb6ff88!important}
 body.mobile-landscape-game .interaction{pointer-events:auto!important;left:50%!important;bottom:58px!important;transform:translateX(-50%)!important;min-width:120px!important;min-height:34px!important;padding:6px 13px!important;font-size:9px!important;font-weight:900!important;border:1px solid #e2bd62!important;background:linear-gradient(#7b5d25e8,#241b0fee)!important;box-shadow:0 0 16px #d6a84a55,0 5px 15px #000b!important;animation:mobileInteractPulse 1.15s infinite alternate!important}
 body.mobile-landscape-game #skillBar{display:none!important}
}
@keyframes mobileInteractPulse{from{filter:brightness(1)}to{filter:brightness(1.25)}}
@media (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:430px){
 body.mobile-landscape-game .dpad{transform:scale(.86)!important;transform-origin:left bottom!important}
 body.mobile-landscape-game .actions{transform:scale(.86)!important;transform-origin:right bottom!important}
 body.mobile-landscape-game .mobile-utility{transform:scale(.86)!important;transform-origin:left bottom!important;left:max(128px,calc(env(safe-area-inset-left) + 128px))!important}
}
/* V2.8 entrada cinematográfica */
.cinematic-entry,.cinematic-loading{position:fixed;inset:0;z-index:500;overflow:hidden;background:#05040a;color:#fff;font-family:Inter,Segoe UI,sans-serif}.cinematic-entry:not(.active),.cinematic-loading.hidden{display:none}.cinematic-bg{position:absolute;inset:-4%;background:linear-gradient(180deg,rgba(4,5,12,.15),rgba(3,3,8,.78)),var(--entry-bg,url('../media/realm-background.webp')) center/cover no-repeat;filter:saturate(.78) contrast(1.08);animation:cinematicZoom 18s ease-in-out infinite alternate}.cinematic-bg:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 42%,transparent 0 25%,rgba(2,2,7,.55) 68%,#030308 100%)}@keyframes cinematicZoom{to{transform:scale(1.055)}}.cinematic-fog{position:absolute;width:80vw;height:22vh;border-radius:50%;background:#b8c4e814;filter:blur(45px);animation:fogMove 12s ease-in-out infinite alternate}.fog-a{left:-20vw;bottom:10vh}.fog-b{right:-20vw;bottom:28vh;animation-delay:-5s}@keyframes fogMove{to{transform:translateX(14vw) scale(1.2)}}.ember-field{position:absolute;inset:0;pointer-events:none}.ember{position:absolute;bottom:-20px;width:3px;height:3px;border-radius:50%;background:#ffc76a;box-shadow:0 0 10px #ff8a42;animation:emberRise linear infinite}@keyframes emberRise{to{transform:translate(var(--drift),-110vh);opacity:0}}.cinematic-top,.cinematic-footer{position:absolute;left:0;right:0;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:22px 28px}.cinematic-top{top:0}.cinematic-footer{bottom:0;color:#9da7be;font-size:.68rem;letter-spacing:.14em}.realm-status{display:flex;gap:9px;align-items:center;font-size:.72rem;letter-spacing:.18em;font-weight:900}.realm-status i{width:9px;height:9px;border-radius:50%;background:#61e69b;box-shadow:0 0 12px #61e69b}.cinematic-icon{width:42px;height:42px;border-radius:50%;padding:0;background:#0b0d18c9;border-color:#ffffff2c}.cinematic-main{position:relative;z-index:2;min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:72px 20px}.eldoria-mark{width:88px;height:88px;display:grid;place-items:center;border:1px solid #e5bd6c;border-radius:50%;background:radial-gradient(circle,#302419,#090812 70%);box-shadow:0 0 0 8px #e5bd6c10,0 0 55px #ca863b4a;font-size:2.7rem;color:#ffd98c;animation:runePulse 3s ease-in-out infinite}@keyframes runePulse{50%{transform:translateY(-4px);box-shadow:0 0 0 13px #e5bd6c09,0 0 72px #ca863b60}}.cinematic-kicker{margin-top:20px;color:#d7b46d;letter-spacing:.24em;font-weight:900;font-size:.72rem}.cinematic-main h1{font-family:Georgia,serif;font-size:clamp(4.5rem,12vw,9.5rem);line-height:.82;margin:17px 0 0;letter-spacing:.08em;color:#fff5d6;text-shadow:0 4px 0 #47351d,0 0 45px #d7a34955}.cinematic-main h2{font-family:Georgia,serif;font-size:clamp(1rem,2.4vw,1.8rem);letter-spacing:.32em;margin:17px 0;color:#d9bd80}.cinematic-main>p{max-width:720px;color:#c6c8d2;line-height:1.65;margin:0}.cinematic-features{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:22px 0}.cinematic-features span{padding:8px 12px;border:1px solid #ffffff20;border-radius:999px;background:#090b14a8;color:#dfe6f8;font-size:.72rem;font-weight:900;letter-spacing:.08em}.cinematic-actions{display:flex;gap:12px}.enter-realm,.install-realm{min-width:220px;padding:15px 20px;border-radius:5px;letter-spacing:.12em}.enter-realm{background:linear-gradient(180deg,#b98a3b,#65461c);border-color:#efc878;box-shadow:0 8px 30px #0008,0 0 24px #c9913b30}.install-realm{background:linear-gradient(180deg,#243b5d,#111c30);border-color:#6f96d3}.class-orbit{display:flex;gap:28px;margin-top:24px;color:#8f9ab1;font-size:.65rem;letter-spacing:.12em}.cinematic-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:linear-gradient(#050711d8,#03040ae8),url('../media/loading-art.webp') center/cover no-repeat}.loading-rune{font-size:4.8rem;color:#ffd37b;animation:runeSpin 2.2s linear infinite;text-shadow:0 0 35px #e3a44f}@keyframes runeSpin{to{transform:rotate(360deg)}}.cinematic-loading h2{letter-spacing:.25em;margin:18px 0 8px}.cinematic-loading p{color:#b6c0d6}.cinematic-loader{width:min(520px,78vw);height:8px;border:1px solid #b88e49;border-radius:99px;background:#090b12;overflow:hidden;margin:18px}.cinematic-loader i{display:block;height:100%;width:0;background:linear-gradient(90deg,#84551f,#ffe09b);box-shadow:0 0 20px #eebc69}.cinematic-loading small{color:#7f899d}.online-auth{background:linear-gradient(145deg,rgba(4,6,12,.78),rgba(7,9,16,.9)),var(--auth-bg,url('../media/loading-art.webp')) center/cover!important;z-index:490!important}.online-auth:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 35%,transparent 0 16%,rgba(2,3,8,.7) 78%);pointer-events:none}.online-auth-card{position:relative;z-index:2}.online-auth-card{backdrop-filter:blur(14px);box-shadow:0 30px 100px #000d,0 0 0 1px #e2b96822!important}.online-logo{border:1px solid #d7ae63;border-radius:50%;width:62px;height:62px;display:grid;place-items:center;margin:auto;color:#ffd984;background:#17111d;box-shadow:0 0 30px #d99c4550}.online-auth-card h1{font-family:Georgia,serif;letter-spacing:.12em;color:#ffe7ad}
@media(max-width:700px){.cinematic-top{padding:14px}.cinematic-footer{display:none}.cinematic-main{padding:54px 14px 18px}.eldoria-mark{width:64px;height:64px;font-size:2rem}.cinematic-main h1{font-size:clamp(3.4rem,19vw,6rem)}.cinematic-main h2{font-size:.78rem;letter-spacing:.2em}.cinematic-main>p{font-size:.85rem}.cinematic-features{margin:14px 0}.cinematic-actions{flex-direction:column;width:min(340px,92vw)}.cinematic-actions button{width:100%}.class-orbit{display:none}}

/* V2.9 — entrada, login e efeitos visuais reforçados */
.cinematic-entry{--entry-bg:url('../media/realm-background.webp')}
.online-auth{--auth-bg:url('../media/loading-art.webp')}
.cinematic-auth-ready .online-auth-card{animation:authPortalIn .7s cubic-bezier(.2,.8,.2,1)}
@keyframes authPortalIn{from{opacity:0;transform:translateY(28px) scale(.94);filter:blur(7px)}to{opacity:1;transform:none;filter:none}}
.online-auth-card:before{content:'✦';position:absolute;left:50%;top:-22px;transform:translateX(-50%);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#ffd988;background:#17111d;border:1px solid #d7ae63;box-shadow:0 0 26px #d99c4560}

.teleport-network{display:grid;gap:16px}.teleport-keeper{display:flex;gap:16px;align-items:center;padding:16px;border:1px solid #6e5ba4;border-radius:16px;background:linear-gradient(135deg,#1c1830,#0b1020);box-shadow:inset 0 0 30px #815bd522}.teleport-keeper img{width:86px;height:86px;object-fit:contain;image-rendering:pixelated}.teleport-keeper h3,.teleport-keeper p{margin:3px 0}.teleport-keeper small{color:#c7a5ff;font-weight:900;letter-spacing:.12em}.teleport-keeper p{color:#abb7d1}.teleport-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:10px}.teleport-destination{display:grid;grid-template-columns:58px 1fr auto;gap:10px;align-items:center;text-align:left;padding:11px;background:linear-gradient(145deg,#17243b,#0b121f);border-color:#465f85}.teleport-destination img{width:58px;height:58px;object-fit:contain;border-radius:10px;background:#07101b}.teleport-destination span{display:flex;flex-direction:column}.teleport-destination small{color:#91a6c9;margin-top:3px}.teleport-destination em{font-size:.65rem;font-style:normal;color:#ddc57d}.teleport-destination.current{opacity:.55}.teleport-destination:hover:not(:disabled){border-color:#c7a5ff;transform:translateY(-1px)}


/* V2.9.13 — HUD mobile limpo, logout e personagens maiores */
.game-logout-button{position:fixed;right:14px;bottom:14px;z-index:29;pointer-events:auto;display:flex;align-items:center;gap:7px;min-width:82px;padding:9px 12px;border:1px solid #d45d66;background:linear-gradient(145deg,#6f2029,#321019);box-shadow:0 8px 24px #0009,0 0 0 1px #ff8e9740 inset;border-radius:12px}
.game-logout-button img{width:19px;height:19px;object-fit:contain;image-rendering:pixelated}.game-logout-button b{font-size:10px;letter-spacing:.08em}.game-online-ready .game-logout-button{display:flex!important}
#mobile .actions .mobile-power{font-size:0!important;color:transparent!important;overflow:hidden;background:linear-gradient(#26334d,#111a2c);position:relative}
#mobile .actions .mobile-power img{display:block;width:78%;height:78%;margin:auto;object-fit:contain;image-rendering:pixelated;pointer-events:none}
#mobile .actions .mobile-power.locked{filter:grayscale(1);opacity:.55}
#mobile .actions .mobile-power .mobile-cooldown{position:absolute;inset:0;display:grid;place-items:center;background:#050813b8;color:#fff;font-size:10px!important;font-weight:900}
@media(max-width:900px){#skillBar .skill em,#skillBar .skill small,#skillBar .quick-slot b{display:none!important}.game-logout-button{right:8px;top:64px;bottom:auto;min-width:38px;width:38px;height:38px;padding:0;justify-content:center;border-radius:50%}.game-logout-button b{display:none}.game-logout-button img{width:18px;height:18px}}

/* V2.9.16 — camada mobile reconstruída sobre a base estável V2.9.14 */
@media (hover:none) and (pointer:coarse) and (max-width:950px){
  :root{--mobile-safe-top:max(8px,env(safe-area-inset-top));--mobile-safe-right:max(8px,env(safe-area-inset-right));--mobile-safe-bottom:max(8px,env(safe-area-inset-bottom));--mobile-safe-left:max(8px,env(safe-area-inset-left))}
  button{touch-action:manipulation}
  input,select,textarea{font-size:16px}

  /* Entrada e autenticação: funcionam em retrato sem alterar as telas do jogo */
  .cinematic-entry{overflow:auto;-webkit-overflow-scrolling:touch}
  .cinematic-main{min-height:100dvh;padding:calc(var(--mobile-safe-top) + 54px) 14px calc(var(--mobile-safe-bottom) + 26px)}
  .cinematic-top{padding:var(--mobile-safe-top) var(--mobile-safe-right) 0 var(--mobile-safe-left)}
  .cinematic-footer{display:none}
  .cinematic-main h1{font-size:clamp(2.8rem,17vw,5rem);line-height:.9}
  .cinematic-main h2{font-size:clamp(.72rem,3.8vw,1rem);letter-spacing:.16em}
  .cinematic-main>p{max-width:92vw;font-size:.78rem;line-height:1.42}
  .eldoria-mark{width:58px;height:58px;font-size:1.8rem}
  .cinematic-kicker{margin-top:12px;font-size:.55rem}
  .cinematic-features{gap:5px;margin:12px 0}
  .cinematic-features span{padding:5px 7px;font-size:.52rem}
  .cinematic-actions{width:min(92vw,360px);display:grid;grid-template-columns:1fr;gap:7px}
  .cinematic-actions button{width:100%;min-width:0;min-height:43px;padding:10px;font-size:.7rem}
  .class-orbit{display:none}

  .online-auth{position:fixed;inset:0;width:100%;height:100dvh;overflow:auto;-webkit-overflow-scrolling:touch;padding:calc(var(--mobile-safe-top) + 24px) 12px calc(var(--mobile-safe-bottom) + 16px);align-items:flex-start!important;justify-content:center!important}
  .online-auth.hidden{display:none!important}
  .online-auth-card{width:min(100%,390px)!important;max-height:none!important;margin:auto!important;padding:24px 15px 16px!important;border-radius:16px!important;overflow:visible!important}
  .online-auth-card:before{width:36px;height:36px;top:-18px}
  .online-logo{width:46px;height:46px;font-size:1.25rem}
  .online-auth-card h1{font-size:1.3rem;line-height:1.1;margin:8px 0 5px}
  .online-auth-card>p{font-size:.72rem;line-height:1.35;margin:5px 0 9px}
  .auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px}
  .auth-tabs button,.auth-form button{min-height:42px;padding:7px;font-size:.7rem}
  .auth-form label{font-size:.67rem;margin:7px 0}
  .auth-form input{height:43px;padding:8px 10px}
  .online-auth-card>small,.auth-message{font-size:.61rem;line-height:1.3}

  /* Apenas telas internas de início/criação; não toca no Admin */
  #startScreen,#creationScreen{overflow:auto;-webkit-overflow-scrolling:touch;padding:var(--mobile-safe-top) 10px var(--mobile-safe-bottom);align-items:flex-start}
  #startScreen .start-card,#creationScreen .creation-card{width:min(100%,430px);max-height:none;margin:auto;padding:16px 12px;border-radius:14px}
  #startScreen h1{font-size:clamp(2rem,12vw,3.2rem)}
  #startScreen h2,#creationScreen h2{font-size:1rem}
  #startScreen p,#startScreen small,#creationScreen{font-size:.72rem}
  #startScreen .start-actions{grid-template-columns:1fr;gap:7px;margin:12px 0}
  #startScreen .start-actions button,#creationScreen #beginGame{min-height:42px;font-size:.72rem}
  #creationScreen .grid{grid-template-columns:1fr 1fr;gap:6px}
  #creationScreen .choice{padding:7px;gap:7px;min-width:0}
  #creationScreen .choice img{width:34px;height:34px}
  #creationScreen .choice b{font-size:.68rem}
  #creationScreen .choice small{font-size:.56rem}

  /* Janelas e diálogos do jogo em tamanho de celular */
  #dialogue{left:var(--mobile-safe-left);right:var(--mobile-safe-right);bottom:calc(var(--mobile-safe-bottom) + 4px);width:auto;max-height:42dvh;overflow:auto;gap:8px;padding:9px;border-radius:10px;align-items:flex-start;z-index:80}
  #dialogue img{width:46px;height:46px;flex:0 0 46px}
  #dialogue>div{min-width:0;flex:1}
  #dialogue strong{font-size:.78rem}
  #dialogue p{font-size:.68rem;line-height:1.32;margin:3px 0;overflow-wrap:anywhere}
  #dialogue span{font-size:.52rem}

  #panel{width:calc(100vw - 12px);max-width:620px;max-height:calc(100dvh - 14px);padding:10px;border-radius:12px}
  #panel h2{font-size:1rem;margin:3px 36px 8px 0}
  #panel p,#panel li,#panel label{font-size:.68rem;line-height:1.35}
  #panel button{min-height:34px;padding:6px 8px;font-size:.66rem}
  #panel input,#panel select,#panel textarea{padding:7px}
  #panel .inventory-slot-grid.occupied-only{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px}

  .modal{padding:6px;overflow:hidden}
  .modal>.rpg-window,.modal>.asset-picker-card{width:calc(100vw - 12px);max-width:680px;max-height:calc(100dvh - 14px);padding:10px;border-radius:12px}
  .rpg-window header,.asset-picker-card header{position:sticky;top:-10px;z-index:4;background:#0e1421;padding-top:5px}
  .rpg-window h2,.asset-picker-card h3{font-size:1rem}
  .rpg-window p,.rpg-window li,.rpg-window label{font-size:.68rem;line-height:1.35}
  .rpg-window button,.modal button{min-height:34px;padding:6px 8px;font-size:.66rem}
  .mission-board{grid-template-columns:1fr;gap:7px}
  .nym-market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

  /* Logout separado do chat em qualquer modo de tela */
  .game-logout-button{left:auto!important;right:var(--mobile-safe-right)!important;top:calc(var(--mobile-safe-top) + 52px)!important;bottom:auto!important;width:33px!important;height:33px!important;min-width:33px!important;padding:0!important;border-radius:50%!important;justify-content:center!important;z-index:76!important}
  .game-logout-button b{display:none!important}
  .game-logout-button img{width:15px!important;height:15px!important}
  .world-chat-toggle{right:var(--mobile-safe-right)!important;bottom:calc(var(--mobile-safe-bottom) + 112px)!important;z-index:73!important}
  .world-chat.compact-chat{left:var(--mobile-safe-left)!important;right:var(--mobile-safe-right)!important;bottom:var(--mobile-safe-bottom)!important;width:auto!important;max-height:52dvh!important;z-index:91!important}
  .world-chat #worldChatMessages{height:min(28dvh,170px)!important;font-size:.64rem!important}
  .world-chat input{font-size:16px!important}
}

@media (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-width:950px){
  /* Durante o jogo, mantém os controles originais e compacta somente sobreposições */
  #dialogue{left:18%;right:18%;bottom:44px;max-height:38dvh}
  #dialogue img{width:42px;height:42px;flex-basis:42px}
  #panel{width:min(88vw,720px);max-height:88dvh}
  #panel .inventory-slot-grid.occupied-only{grid-template-columns:repeat(8,minmax(0,1fr))!important}
  .modal>.rpg-window,.modal>.asset-picker-card{width:min(88vw,760px);max-height:88dvh}
  .game-logout-button{top:calc(var(--mobile-safe-top) + 42px)!important;right:var(--mobile-safe-right)!important;width:31px!important;height:31px!important;min-width:31px!important}
  .world-chat-toggle{right:var(--mobile-safe-right)!important;bottom:calc(var(--mobile-safe-bottom) + 100px)!important}
  .world-chat.compact-chat{left:auto!important;right:var(--mobile-safe-right)!important;bottom:calc(var(--mobile-safe-bottom) + 44px)!important;width:min(300px,45vw)!important;max-height:50dvh!important}
}


/* King of Chaos V3.0.6 — identidade gamer da apresentação */
.cinematic-main h1{font-family:Impact,Haettenschweiler,'Arial Narrow Bold',sans-serif;letter-spacing:.055em;background:linear-gradient(180deg,#fff3c2 0%,#e6b653 46%,#8c511f 72%,#f0d17a 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 5px 0 #2b160b) drop-shadow(0 0 28px #e99b3f55);position:relative}
.cinematic-main h1:after{content:'♛';display:block;font-size:.2em;line-height:1;color:#f2c75e;-webkit-text-fill-color:#f2c75e;margin-top:.18em;text-shadow:0 0 18px #e1a13d}
.cinematic-main h2{max-width:900px;font-weight:900;color:#f2d89b;text-shadow:0 2px 12px #000;letter-spacing:.22em}
.cinematic-gamer-info{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px;width:min(760px,92vw);margin:0 0 20px}
.cinematic-gamer-info article{position:relative;overflow:hidden;padding:13px 14px;border:1px solid #dfaf5942;background:linear-gradient(145deg,#17111bd9,#090a12e8);box-shadow:inset 0 1px #fff1,0 12px 28px #0007;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
.cinematic-gamer-info article:before{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(#f1cf77,#8d4f1d)}
.cinematic-gamer-info b{display:block;color:#ffe29a;font-size:.96rem;letter-spacing:.09em}
.cinematic-gamer-info small{display:block;margin-top:4px;color:#929db4;font-size:.58rem;font-weight:900;letter-spacing:.12em}
.enter-realm{position:relative;overflow:hidden;font-weight:1000;text-shadow:0 1px #000}
.enter-realm:after{content:'';position:absolute;inset:-100% -35%;background:linear-gradient(105deg,transparent 40%,#fff7 50%,transparent 60%);transform:translateX(-70%);animation:kocButtonShine 3.8s ease-in-out infinite}
@keyframes kocButtonShine{55%,100%{transform:translateX(70%)}}
.online-logo,.eldoria-mark,.sigil{font-family:Georgia,serif}
.online-logo:before,.eldoria-mark span:before{content:'♛';font-size:1.1em}
.online-logo{font-size:0}.eldoria-mark span{font-size:0}
@media(max-width:700px){.cinematic-gamer-info{grid-template-columns:1fr 1fr;gap:7px;margin-bottom:12px}.cinematic-gamer-info article:last-child{grid-column:1/-1}.cinematic-gamer-info article{padding:9px 10px}.cinematic-gamer-info b{font-size:.78rem}.cinematic-main h2{font-size:.72rem;line-height:1.45}.cinematic-main h1:after{margin-top:.12em}}

/* King of Chaos V3.0.7 — apresentação compacta, profissional e sem cortes */
.koc-intro-main{min-height:100dvh!important;height:100dvh;box-sizing:border-box;padding:clamp(54px,8vh,76px) 16px clamp(34px,6vh,54px)!important;overflow:hidden!important}
.koc-intro-panel{width:min(860px,94vw);max-height:calc(100dvh - clamp(92px,15vh,132px));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(6px,1.1vh,12px);padding:clamp(10px,1.8vh,20px) clamp(12px,2vw,26px);border:1px solid #d6ad6042;background:linear-gradient(180deg,rgba(10,9,16,.48),rgba(5,6,12,.72));box-shadow:0 24px 80px #0008,inset 0 1px #fff1;backdrop-filter:blur(5px);clip-path:polygon(16px 0,calc(100% - 16px) 0,100% 16px,100% calc(100% - 16px),calc(100% - 16px) 100%,16px 100%,0 calc(100% - 16px),0 16px)}
.koc-intro-panel .eldoria-mark{width:clamp(48px,7vh,68px);height:clamp(48px,7vh,68px);font-size:clamp(1.55rem,3.5vh,2.2rem);flex:0 0 auto}
.koc-intro-panel .cinematic-kicker{margin:0;font-size:clamp(.48rem,1.25vh,.68rem);letter-spacing:clamp(.09em,.22vw,.2em)}
.koc-intro-panel h1{font-size:clamp(2.6rem,8.2vw,6.6rem)!important;line-height:.82!important;margin:clamp(3px,.7vh,8px) 0 0!important;white-space:nowrap}
.koc-intro-panel h1:after{display:none!important}
.koc-intro-panel h2{font-size:clamp(.65rem,1.55vw,1.05rem)!important;line-height:1.25!important;margin:0!important;letter-spacing:clamp(.1em,.32vw,.22em)!important}
.koc-intro-copy{max-width:690px!important;font-size:clamp(.68rem,1.45vw,.9rem)!important;line-height:1.42!important;margin:0!important}
.cinematic-gamer-info{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:min(720px,92vw)!important;margin:clamp(2px,.6vh,7px) 0!important;gap:clamp(5px,.8vw,9px)!important}
.cinematic-gamer-info article{display:grid;grid-template-columns:clamp(30px,4.5vh,42px) 1fr;align-items:center;text-align:left;gap:9px;padding:clamp(7px,1vh,10px) clamp(8px,1.2vw,12px)!important;min-width:0}
.cinematic-gamer-info article img{width:clamp(28px,4.2vh,40px);height:clamp(28px,4.2vh,40px);object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 0 8px #d99b45aa)}
.cinematic-gamer-info article div{min-width:0}.cinematic-gamer-info b{font-size:clamp(.62rem,1.25vw,.82rem)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cinematic-gamer-info small{font-size:clamp(.43rem,.8vw,.57rem)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.koc-intro-panel .cinematic-features{margin:0!important;gap:clamp(5px,.8vw,9px)!important}
.koc-intro-panel .cinematic-features span{display:flex;align-items:center;gap:6px;padding:clamp(5px,.75vh,7px) clamp(8px,1vw,11px)!important;font-size:clamp(.48rem,.9vw,.64rem)!important}
.koc-intro-panel .cinematic-features img{width:17px;height:17px;object-fit:contain;image-rendering:pixelated}
.koc-intro-panel .cinematic-actions{margin-top:clamp(2px,.5vh,6px);gap:8px}.koc-intro-panel .enter-realm,.koc-intro-panel .install-realm{min-width:min(280px,82vw);padding:clamp(10px,1.5vh,14px) 18px;font-size:clamp(.68rem,1.2vw,.84rem)}
@media(max-height:760px) and (min-width:701px){.koc-intro-main{padding-top:52px!important;padding-bottom:34px!important}.koc-intro-panel{gap:5px;padding:8px 18px}.koc-intro-panel .eldoria-mark{width:46px;height:46px}.koc-intro-panel h1{font-size:clamp(2.7rem,7vw,5.2rem)!important}.koc-intro-copy{font-size:.7rem!important}.cinematic-gamer-info article{padding:6px 9px!important}.koc-intro-panel .cinematic-features span{padding:4px 8px!important}.cinematic-footer{font-size:.55rem;padding-bottom:10px}}
@media(max-width:700px){.koc-intro-main{height:100dvh;min-height:100dvh!important;padding:calc(env(safe-area-inset-top) + 48px) 10px calc(env(safe-area-inset-bottom) + 14px)!important;overflow:hidden!important}.koc-intro-panel{width:96vw;max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 66px);gap:5px;padding:8px 9px}.koc-intro-panel .eldoria-mark{width:44px;height:44px}.koc-intro-panel .cinematic-kicker{font-size:.43rem;letter-spacing:.09em}.koc-intro-panel h1{font-size:clamp(2.25rem,12vw,4.2rem)!important;white-space:normal;line-height:.88!important}.koc-intro-panel h2{font-size:clamp(.54rem,2.5vw,.72rem)!important;letter-spacing:.1em!important}.koc-intro-copy{font-size:clamp(.6rem,2.55vw,.72rem)!important;line-height:1.28!important}.cinematic-gamer-info{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:100%!important;gap:4px!important}.cinematic-gamer-info article,.cinematic-gamer-info article:last-child{grid-column:auto!important;grid-template-columns:1fr;text-align:center;gap:2px;padding:5px 3px!important}.cinematic-gamer-info article img{width:25px;height:25px;margin:auto}.cinematic-gamer-info b{font-size:.5rem!important}.cinematic-gamer-info small{font-size:.36rem!important}.koc-intro-panel .cinematic-features{display:grid;grid-template-columns:repeat(3,1fr);width:100%;gap:4px!important}.koc-intro-panel .cinematic-features span{justify-content:center;padding:4px 3px!important;font-size:.42rem!important}.koc-intro-panel .cinematic-features img{width:14px;height:14px}.koc-intro-panel .cinematic-actions{width:100%;flex-direction:column}.koc-intro-panel .enter-realm,.koc-intro-panel .install-realm{width:100%;min-width:0;padding:10px 12px;font-size:.64rem}.cinematic-top{padding:10px 12px}.cinematic-icon{width:34px;height:34px}.realm-status{font-size:.56rem}}
@media(max-height:560px){.koc-intro-panel .eldoria-mark,.koc-intro-copy,.koc-intro-panel .cinematic-features{display:none}.koc-intro-panel{gap:4px}.cinematic-gamer-info article img{width:23px;height:23px}.koc-intro-panel h1{font-size:clamp(2rem,10vw,4rem)!important}}

/* King of Chaos V3.0.8 — entrada 2D gamer */
.koc-intro-panel{position:relative;image-rendering:pixelated;border:2px solid #c89a4d;box-shadow:0 0 0 4px #24170d,0 0 0 6px #67441f,0 28px 90px #000c,inset 0 0 42px #0009!important;background:linear-gradient(180deg,rgba(24,17,20,.82),rgba(5,7,13,.92))!important;clip-path:polygon(14px 0,calc(100% - 14px) 0,100% 14px,100% calc(100% - 14px),calc(100% - 14px) 100%,14px 100%,0 calc(100% - 14px),0 14px)!important}
.koc-intro-panel:before,.koc-intro-panel:after{content:"";position:absolute;width:56px;height:56px;background:url('../assets/crawl_full/dungeon/wall/stone_gray_3.png') center/cover;opacity:.45;filter:sepia(.6) brightness(.65);pointer-events:none}.koc-intro-panel:before{left:9px;top:9px}.koc-intro-panel:after{right:9px;bottom:9px;transform:rotate(180deg)}
.koc-pixel-crest{display:flex;align-items:center;justify-content:center;gap:8px;height:52px}.koc-pixel-crest img{width:42px;height:42px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 4px 0 #170d08) drop-shadow(0 0 8px #e6a94f88)}.koc-pixel-crest span{font-size:2rem;color:#ffd77d;text-shadow:0 3px 0 #68421d,0 0 18px #eab14f}
.koc-intro-panel h1{font-family:Georgia,serif;filter:drop-shadow(0 5px 0 #241308);background:linear-gradient(#fff0af,#c98731 62%,#6f3c16);-webkit-background-clip:text;background-clip:text;color:transparent!important}
.cinematic-gamer-info article{position:relative;overflow:hidden;border:2px solid #8f6534!important;border-radius:3px!important;background:linear-gradient(180deg,#1b1720,#0b0d15)!important;box-shadow:inset 0 0 0 2px #2f2116,0 5px 0 #050609!important}.cinematic-gamer-info article:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 3px,#fff 4px 4px);opacity:.025;pointer-events:none}.cinematic-gamer-info article img{image-rendering:pixelated;filter:drop-shadow(0 3px 0 #000) drop-shadow(0 0 8px #e3a74f55)}
.cinematic-features span{border-radius:3px!important;border:1px solid #76532d!important;background:#0b0c13dd!important;box-shadow:inset 0 0 0 1px #ffffff0d}.enter-realm{border-radius:3px!important;text-shadow:0 2px 0 #3a210d;box-shadow:0 5px 0 #3b260f,0 10px 25px #000b,0 0 20px #d69c3b40!important}
@media(max-width:700px){.koc-pixel-crest{height:38px}.koc-pixel-crest img{width:31px;height:31px}.koc-pixel-crest span{font-size:1.45rem}.koc-intro-panel:before,.koc-intro-panel:after{width:34px;height:34px}}


/* King of Chaos V3.0.12 — jogabilidade mobile ampliada sem aumentar painel de recursos */
@media (hover:none) and (pointer:coarse) and (orientation:landscape){
 body.mobile-landscape-game .player-card{
  width:224px!important;padding:7px 9px!important;gap:8px!important;
  border-radius:11px!important;background:#080d18e8!important;
 }
 body.mobile-landscape-game .player-card #portrait{width:46px!important;height:46px!important;flex:0 0 46px!important}
 body.mobile-landscape-game .player-card b{font-size:12px!important}
 body.mobile-landscape-game .player-card small{font-size:8px!important}
 body.mobile-landscape-game .bar{height:11px!important;margin-top:4px!important}
 body.mobile-landscape-game .bar em{font-size:7px!important;line-height:10px!important}
 body.mobile-landscape-game .quest{width:250px!important;max-width:31vw!important;padding:5px 8px!important}
 body.mobile-landscape-game .quest b{font-size:9px!important}
 body.mobile-landscape-game .quest span{font-size:7px!important}

 body.mobile-landscape-game .dpad{
  left:max(9px,env(safe-area-inset-left))!important;
  bottom:max(9px,env(safe-area-inset-bottom))!important;
  width:162px!important;height:154px!important;transform:none!important;
 }
 body.mobile-landscape-game .dpad button{
  width:54px!important;height:54px!important;font-size:20px!important;
  border-radius:16px!important;opacity:.94!important;
 }
 body.mobile-landscape-game .dpad button:nth-child(1){left:54px!important;top:0!important}
 body.mobile-landscape-game .dpad button:nth-child(2){left:0!important;top:50px!important}
 body.mobile-landscape-game .dpad button:nth-child(3){left:54px!important;top:100px!important}
 body.mobile-landscape-game .dpad button:nth-child(4){left:108px!important;top:50px!important}

 body.mobile-landscape-game .actions{
  right:max(9px,env(safe-area-inset-right))!important;
  bottom:max(8px,env(safe-area-inset-bottom))!important;
  width:268px!important;height:174px!important;transform:none!important;
 }
 body.mobile-landscape-game .actions button{
  width:52px!important;height:52px!important;min-width:52px!important;
  padding:5px!important;border-radius:50%!important;opacity:.96!important;
 }
 body.mobile-landscape-game .actions button img{width:34px!important;height:34px!important}
 body.mobile-landscape-game .actions .mobile-attack{
  width:72px!important;height:72px!important;right:0!important;bottom:48px!important;
 }
 body.mobile-landscape-game .actions .mobile-attack img{width:49px!important;height:49px!important}
 body.mobile-landscape-game .actions button[data-action="heavy"]{right:70px!important;bottom:0!important}
 body.mobile-landscape-game .actions button[data-action="defend"]{right:70px!important;bottom:104px!important}
 body.mobile-landscape-game .actions button[data-action="potion"]{right:130px!important;bottom:6px!important}
 body.mobile-landscape-game .actions button[data-action="mana"]{right:130px!important;bottom:68px!important}
 body.mobile-landscape-game .actions button[data-action="skill1"]{left:0!important;top:0!important}
 body.mobile-landscape-game .actions button[data-action="skill2"]{left:56px!important;top:0!important}
 body.mobile-landscape-game .actions button[data-action="skill3"]{left:0!important;top:58px!important}
 body.mobile-landscape-game .actions button[data-action="ultimate"]{left:56px!important;top:58px!important}

 body.mobile-landscape-game .mobile-utility{
  left:max(174px,calc(env(safe-area-inset-left) + 174px))!important;
  bottom:max(11px,env(safe-area-inset-bottom))!important;
  transform:none!important;gap:7px!important;
 }
 body.mobile-landscape-game .mobile-utility button{
  width:60px!important;height:60px!important;min-width:60px!important;border-radius:15px!important;
 }
 body.mobile-landscape-game .mobile-utility button img{width:34px!important;height:34px!important}
 body.mobile-landscape-game .mobile-utility button span,body.mobile-landscape-game .mobile-utility button b{font-size:7px!important}
 body.mobile-landscape-game .mobile-utility .mobile-interact>span{font-size:24px!important}
 body.mobile-landscape-game .interaction{bottom:72px!important;min-width:145px!important;min-height:40px!important;font-size:11px!important}

 /* Diamantes, ouro, menus e informações laterais continuam compactos. */
 body.mobile-landscape-game .resources,body.mobile-landscape-game .gamer-resources{display:none!important}
 body.mobile-landscape-game .menu-buttons{grid-template-columns:repeat(3,31px)!important;gap:3px!important}
 body.mobile-landscape-game .menu-buttons button{width:31px!important;height:31px!important;min-width:31px!important;padding:3px!important}
 body.mobile-landscape-game .menu-buttons button img{width:19px!important;height:19px!important}
}

@media (hover:none) and (pointer:coarse) and (orientation:landscape) and (max-height:430px){
 body.mobile-landscape-game .dpad{transform:scale(.9)!important;transform-origin:left bottom!important}
 body.mobile-landscape-game .actions{transform:scale(.9)!important;transform-origin:right bottom!important}
 body.mobile-landscape-game .mobile-utility{transform:scale(.9)!important;transform-origin:left bottom!important;left:max(158px,calc(env(safe-area-inset-left) + 158px))!important}
}

/* Personagens 3D renderizados do pacote RPG Characters */
#creation{overflow:hidden;background:
 radial-gradient(circle at 18% 22%,rgba(90,118,255,.22),transparent 28%),
 radial-gradient(circle at 82% 18%,rgba(244,201,107,.18),transparent 24%),
 radial-gradient(circle at 50% 100%,rgba(92,28,124,.18),transparent 40%),
 linear-gradient(180deg,#04070f 0%,#08101c 42%,#060b12 100%)}
#creation:before,#creation:after{content:'';position:absolute;inset:-10%;pointer-events:none}
#creation:before{background:
 radial-gradient(circle at 12% 30%,rgba(255,255,255,.12) 0 2px,transparent 2.5px),
 radial-gradient(circle at 20% 76%,rgba(255,218,150,.10) 0 2px,transparent 2.7px),
 radial-gradient(circle at 78% 22%,rgba(162,194,255,.12) 0 2px,transparent 2.8px),
 radial-gradient(circle at 86% 72%,rgba(255,255,255,.08) 0 1.8px,transparent 2.4px),
 radial-gradient(circle at 60% 14%,rgba(255,229,166,.10) 0 2px,transparent 2.6px);
 opacity:.75;animation:creationStarsDrift 24s linear infinite}
#creation:after{background:radial-gradient(circle at center,rgba(101,133,255,.12),transparent 55%);filter:blur(18px);opacity:.7;animation:creationPulseBg 6s ease-in-out infinite}
.creation-card{position:relative;width:min(1040px,96vw);padding:30px;background:linear-gradient(180deg,rgba(11,18,29,.95),rgba(7,12,20,.96));border:1px solid rgba(109,128,163,.58);box-shadow:0 30px 90px #000c,inset 0 1px 0 rgba(255,255,255,.06)}
.creation-card:before{content:'';position:absolute;inset:0;border-radius:18px;background:radial-gradient(circle at top,rgba(255,231,153,.09),transparent 34%),linear-gradient(180deg,rgba(255,255,255,.04),transparent 24%);pointer-events:none}
.creation-card:after{content:'';position:absolute;inset:14px;border-radius:14px;border:1px solid rgba(255,255,255,.05);pointer-events:none}
.creation-card h2{position:relative;z-index:1;margin:0 0 8px;font-size:clamp(26px,4vw,36px);letter-spacing:.08em;color:#fff0bd;text-shadow:0 0 20px rgba(244,201,107,.18)}
.creation-card h3{position:relative;z-index:1;margin:18px 0 10px;color:#dce7ff;letter-spacing:.08em}
.creation-card>label{position:relative;z-index:1}
#classGrid{position:relative;z-index:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.class-choice{--class-glow:#f4c96b;position:relative;display:block!important;text-align:center!important;padding:10px!important;overflow:hidden;background:linear-gradient(160deg,#16233c,#0a111d 72%);border:1px solid #40506f;min-height:355px;border-radius:18px;cursor:pointer;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease,filter .22s ease}
.class-choice:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 18%,rgba(155,186,255,.18),transparent 42%),linear-gradient(180deg,rgba(255,255,255,.05),transparent 36%);pointer-events:none}
.class-choice:after{content:'';position:absolute;inset:1px;border-radius:16px;border:1px solid rgba(255,255,255,.04);pointer-events:none}
.class-choice.entering{opacity:0;transform:translateY(36px) scale(.97);animation:classCardEnter .64s cubic-bezier(.2,.8,.18,1) forwards;animation-delay:var(--enter-delay,0ms)}
.class-choice:hover{transform:translateY(-7px) scale(1.01);border-color:#8da6d9;box-shadow:0 20px 40px #0009,0 0 24px #89a8d42a;filter:brightness(1.04)}
.class-choice.selected{transform:translateY(-8px) scale(1.015);border-color:#f4c96b;box-shadow:0 22px 42px #000a,0 0 30px #f4c96b55;background:linear-gradient(160deg,#1a2742,#0c1320 72%)}
.class-state-badge,.class-role{position:absolute;z-index:6;padding:6px 10px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.08em;transition:opacity .18s ease,transform .18s ease}
.class-state-badge{top:10px;right:10px;border:1px solid rgba(255,231,141,.65);background:rgba(244,201,107,.18);color:#ffe69d;opacity:0;transform:translateY(-6px)}
.class-choice.selected .class-state-badge{opacity:1;transform:translateY(0)}
.class-role{top:10px;left:10px;border:1px solid rgba(154,190,255,.4);background:rgba(91,126,194,.16);color:#d8e6ff;backdrop-filter:blur(6px)}
.class-cover{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;padding:18px 16px 16px;background:linear-gradient(180deg,rgba(6,10,18,0) 0%,rgba(6,10,18,.08) 44%,rgba(7,12,20,.88) 100%);opacity:0;pointer-events:none;transition:opacity .22s ease}
.class-choice:hover .class-cover,.class-choice:focus-visible .class-cover,.class-choice.selected .class-cover{opacity:1}
.class-cover span{font-size:10px;font-weight:900;letter-spacing:.18em;color:#a5c1ef}
.class-cover strong{font-size:17px;line-height:1.1;color:#fff0c4;text-shadow:0 4px 20px #000}
.class-cover small{font-size:11px;color:#d7e1f4}
.class-preview{position:relative;width:100%;height:194px;border-radius:14px;background:radial-gradient(circle at 50% 24%,#3b5077 0%,#151f33 45%,#0a0f19 85%);overflow:hidden;display:flex;align-items:flex-end;justify-content:center;padding:0 10px 16px}
.class-background-mark{position:absolute;inset:0;opacity:.28;pointer-events:none}
.class-aura{position:absolute;left:50%;bottom:56px;transform:translateX(-50%);width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,var(--class-glow) 0%,transparent 68%);opacity:.16;filter:blur(12px);transition:opacity .22s ease,transform .22s ease}
.class-stage-light{position:absolute;left:50%;bottom:44px;transform:translateX(-50%);width:180px;height:72px;border-radius:50%;background:radial-gradient(circle,var(--class-glow) 0%,transparent 70%);opacity:.14;filter:blur(16px);transition:opacity .22s ease,transform .22s ease}
.class-pedestal{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);width:142px;height:30px;border-radius:50%;background:radial-gradient(ellipse at center,#516380 0%,#263246 58%,#0c111b 84%);box-shadow:inset 0 2px 10px rgba(255,255,255,.22),inset 0 -10px 16px rgba(0,0,0,.5),0 16px 16px rgba(0,0,0,.45)}
.class-pedestal i{position:absolute;left:50%;top:6px;transform:translateX(-50%);width:102px;height:10px;border-radius:50%;background:radial-gradient(circle,#dfe8ff 0%,rgba(223,232,255,.12) 65%,transparent 100%);opacity:.35}
.class-pedestal span{position:absolute;inset:auto 14px 6px;height:4px;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(255,236,176,.85),transparent)}
.class-emblem{position:absolute;top:14px;right:14px;z-index:4;font-size:26px;opacity:.5;filter:drop-shadow(0 6px 16px rgba(0,0,0,.35))}
.class-body-preview{position:relative;z-index:3;width:152px!important;height:162px!important;object-fit:contain!important;image-rendering:auto!important;filter:drop-shadow(0 16px 14px #000c);transition:transform .22s ease,filter .22s ease}
.class-weapon-preview{position:absolute!important;z-index:4;width:42px!important;height:42px!important;right:18px!important;bottom:26px!important;object-fit:contain!important;filter:drop-shadow(0 4px 8px #000c);transition:transform .22s ease,filter .22s ease}
.class-choice:hover .class-stage-light,.class-choice:hover .class-aura,.class-choice.selected .class-stage-light,.class-choice.selected .class-aura{opacity:.32;transform:translateX(-50%) scale(1.08)}
.class-choice:hover .class-body-preview,.class-choice.selected .class-body-preview{transform:translateY(-8px) scale(1.03);filter:drop-shadow(0 22px 18px #000d)}
.class-choice:hover .class-weapon-preview,.class-choice.selected .class-weapon-preview{transform:translateY(-7px) rotate(-7deg)}
.class-meta{position:relative;z-index:2;padding:12px 6px 4px}
.class-choice b{display:block;margin-top:0;font-family:Georgia,serif;font-size:20px;color:#fff0bd;letter-spacing:.05em}
.class-choice small{display:block;font-size:11px;line-height:1.45;color:#c6d3e9;margin-top:6px}
.class-subtitle{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;margin-top:10px;padding:6px 12px;border-radius:999px;border:1px solid rgba(138,163,210,.34);background:rgba(109,129,169,.14);color:#d3def2!important;font-size:10px!important;font-style:normal;font-weight:800;letter-spacing:.08em;text-transform:uppercase;word-break:normal!important}
.class-lore{min-height:34px;margin:10px 0 0;color:#9fb0ca;font-size:11px;line-height:1.45}
.class-tags{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:10px}
.class-tags span{padding:5px 9px;border-radius:999px;background:rgba(10,15,24,.75);border:1px solid rgba(89,105,136,.65);color:#dfe8f9;font-size:10px;font-weight:800}
.class-file-tag{margin-top:10px;padding:7px 10px;border-radius:10px;background:rgba(7,11,18,.68);border:1px solid rgba(80,99,134,.55);color:#8ea2c1;font-size:10px;word-break:break-word}
.class-choice[data-pedestal='ember'] .class-pedestal{background:radial-gradient(ellipse at center,#8a6a45 0%,#5a3822 55%,#1e110c 86%)}
.class-choice[data-pedestal='ember'] .class-background-mark{background:radial-gradient(circle at 50% 24%,rgba(255,162,71,.55),transparent 30%),linear-gradient(180deg,rgba(255,126,65,.16),transparent 55%)}
.class-choice[data-pedestal='nature'] .class-pedestal{background:radial-gradient(ellipse at center,#6f8d63 0%,#365334 56%,#122012 86%)}
.class-choice[data-pedestal='nature'] .class-background-mark{background:radial-gradient(circle at 50% 24%,rgba(86,191,126,.48),transparent 30%),linear-gradient(180deg,rgba(62,151,99,.16),transparent 55%)}
.class-choice[data-pedestal='arcane'] .class-pedestal{background:radial-gradient(ellipse at center,#6f63a7 0%,#403270 56%,#17122b 86%)}
.class-choice[data-pedestal='arcane'] .class-background-mark{background:radial-gradient(circle at 50% 24%,rgba(129,119,255,.55),transparent 30%),linear-gradient(180deg,rgba(114,94,255,.18),transparent 55%)}
.class-choice[data-pedestal='shadow'] .class-pedestal{background:radial-gradient(ellipse at center,#6a6670 0%,#34323c 56%,#121218 86%)}
.class-choice[data-pedestal='shadow'] .class-background-mark{background:radial-gradient(circle at 50% 24%,rgba(148,148,168,.42),transparent 30%),linear-gradient(180deg,rgba(80,83,104,.16),transparent 55%)}
.class-choice[data-pedestal='holy'] .class-pedestal{background:radial-gradient(ellipse at center,#b79d5b 0%,#715a2a 56%,#251c0a 86%)}
.class-choice[data-pedestal='holy'] .class-background-mark{background:radial-gradient(circle at 50% 24%,rgba(255,224,128,.56),transparent 30%),linear-gradient(180deg,rgba(255,211,90,.18),transparent 55%)}
.class-choice[data-pedestal='storm'] .class-pedestal{background:radial-gradient(ellipse at center,#6ba4b3 0%,#305568 56%,#0f1e28 86%)}
.class-choice[data-pedestal='storm'] .class-background-mark{background:radial-gradient(circle at 50% 24%,rgba(114,220,255,.5),transparent 30%),linear-gradient(180deg,rgba(88,184,226,.18),transparent 55%)}
#portrait{background-size:contain!important;background-repeat:no-repeat!important;background-position:center bottom!important;image-rendering:auto!important}
.hero-frame img,.skill-evolution-header>img{image-rendering:auto!important;object-fit:contain!important}
.creation-awakened .creation-card{animation:creationCardRise .6s ease}
@keyframes classCardEnter{0%{opacity:0;transform:translateY(36px) scale(.97)}70%{opacity:1;transform:translateY(-4px) scale(1.01)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes creationCardRise{0%{transform:translateY(22px);opacity:.2}100%{transform:translateY(0);opacity:1}}
@keyframes creationStarsDrift{0%{transform:translateY(0)}50%{transform:translateY(-10px)}100%{transform:translateY(0)}}
@keyframes creationPulseBg{0%,100%{transform:scale(1);opacity:.6}50%{transform:scale(1.04);opacity:.85}}
@media(max-width:900px){#classGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.class-choice{min-height:320px}.class-preview{height:176px}.class-body-preview{width:132px!important;height:142px!important}}
@media(max-width:760px){.creation-card{padding:18px}.creation-card h2{font-size:24px}#classGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.class-choice{min-height:290px;padding:8px!important}.class-preview{height:150px}.class-body-preview{width:112px!important;height:122px!important}.class-choice b{font-size:15px}.class-cover strong{font-size:14px}.class-lore{font-size:10px;min-height:28px}.class-file-tag{font-size:9px;padding:6px 8px}.class-role,.class-state-badge{font-size:8px;padding:5px 8px}}
.appearance-customizer{position:relative;z-index:1;margin:18px 0;padding:14px;background:linear-gradient(145deg,#111a2a,#090e18);border:1px solid #3c4d6b;border-radius:14px}.appearance-customizer h3{margin:0 0 5px;color:#ffe19a}.appearance-customizer p{margin:0 0 12px;color:#aebbd1;font-size:11px;line-height:1.45}.appearance-grid{display:grid;grid-template-columns:repeat(5,minmax(105px,1fr));gap:9px}.appearance-grid label{display:flex;flex-direction:column;gap:6px;padding:9px;background:#0b111d;border:1px solid #2e3c55;border-radius:9px;font-size:11px;font-weight:800;color:#dce5f5}.appearance-grid input[type=color]{width:100%;height:38px;padding:2px;border-radius:7px;cursor:pointer}.appearance-customizer .secondary{margin-top:10px;background:#19243a;border-color:#425574}@media(max-width:760px){.appearance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.appearance-grid label:last-child{grid-column:1/-1}}
.appearance-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.selected-class-files{margin-top:10px;padding:10px;border:1px solid #40506c;border-radius:10px;background:#090f19;color:#aabbd0;font-size:11px;word-break:break-all;line-height:1.5}.class-choice em{display:block;color:#8195ae;font-size:9px;margin-top:4px;word-break:break-all}
.dungeon-map-screen{display:grid;gap:14px}.dungeon-map-image{position:relative;width:min(100%,1100px);aspect-ratio:16/10;margin:auto;background:#17263b center/cover no-repeat;border:2px solid #4d6380;border-radius:16px;box-shadow:inset 0 0 70px #0009;overflow:hidden}.dungeon-map-node{position:absolute;transform:translate(-50%,-50%);min-width:92px;min-height:92px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px;border:3px solid #ffd866;background:#14233fe8;color:#fff;box-shadow:0 0 0 5px #0008,0 0 25px #ffd86666;cursor:pointer}.dungeon-map-node b{font-size:24px;color:#ffe58a}.dungeon-map-node span{font-weight:900;font-size:12px;max-width:110px}.dungeon-map-node small{font-size:9px;max-width:105px}.dungeon-map-node.locked{border-color:#8b5260;background:#26151ddd;filter:grayscale(.7);cursor:not-allowed}.dungeon-map-node.locked b{color:#d08794}@media(max-width:700px){.dungeon-map-node{min-width:64px;min-height:64px}.dungeon-map-node span{font-size:9px}.dungeon-map-node small{display:none}.dungeon-map-node b{font-size:18px}}

/* HUD inspirado em MMO clássico, aproximando do layout de referência */
@media (min-width: 901px){
  #hud{
    --hud-frame:#1f2a3f;
    --hud-frame-2:#3f567b;
    --hud-gold:#d5b87a;
  }
  #hud::before{
    content:'';
    position:absolute;
    inset:0;
    pointer-events:none;
    background:radial-gradient(circle at 50% 100%,rgba(11,17,28,.18),transparent 40%);
  }
  .player-card{
    left:10px!important;
    top:10px!important;
    width:300px!important;
    min-height:92px;
    gap:10px;
    padding:8px 10px 8px 9px!important;
    border-radius:16px!important;
    border:1px solid #5a739b!important;
    background:linear-gradient(180deg,rgba(23,31,48,.95),rgba(6,10,18,.92))!important;
    box-shadow:0 10px 30px #000a,inset 0 1px 0 rgba(255,255,255,.1);
    overflow:hidden;
  }
  .player-card::before{
    content:'';
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(255,255,255,.06),transparent 26%),radial-gradient(circle at 0 0,rgba(89,116,161,.28),transparent 34%);
  }
  .player-card::after{
    content:'';
    position:absolute;
    inset:4px;
    border:1px solid rgba(255,255,255,.05);
    border-radius:12px;
    pointer-events:none;
  }
  #portrait{
    position:relative;
    width:72px!important;
    height:72px!important;
    flex:0 0 72px;
    border-radius:14px!important;
    border:2px solid #7e97c1;
    background-color:#182237!important;
    box-shadow:0 8px 20px #000a,inset 0 0 0 1px rgba(255,255,255,.12);
  }
  .player-card b{
    display:block;
    font-size:17px!important;
    color:#f6f8ff;
    text-shadow:0 1px 5px #000;
    margin-bottom:1px;
  }
  .player-card small{
    font-size:11px!important;
    color:#cfd8ed!important;
    margin-bottom:4px;
    letter-spacing:.03em;
  }
  .bar{
    height:14px!important;
    margin-top:4px!important;
    border-radius:14px!important;
    border:1px solid #546887!important;
    background:linear-gradient(180deg,#060a12,#182131)!important;
    box-shadow:inset 0 2px 5px rgba(0,0,0,.7);
  }
  .bar i{border-radius:12px}
  .hp i{background:linear-gradient(90deg,#cf3348,#ff6875)!important}
  .mp i{background:linear-gradient(90deg,#2b70d9,#72b7ff)!important}
  .stamina i{background:linear-gradient(90deg,#b68a2a,#f5d06a)!important}
  .bar em{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:10px!important;
    font-weight:800;
    color:#fff;
    text-shadow:0 1px 3px #000;
  }

  .quest{
    left:10px!important;
    top:108px!important;
    transform:none!important;
    width:300px!important;
    padding:8px 10px!important;
    border-radius:14px!important;
    border:1px solid #586d8e!important;
    background:linear-gradient(180deg,rgba(20,29,44,.94),rgba(8,12,20,.92))!important;
    box-shadow:0 8px 24px #0008;
    text-align:left!important;
  }
  .quest b{display:block;font-size:15px;color:#e4efff;margin-bottom:2px}
  .quest span{font-size:11px!important;color:#b8c6de!important;line-height:1.35}

  .gamer-resources{
    left:50%!important;
    top:10px!important;
    right:auto!important;
    transform:translateX(-50%);
    width:min(560px,48vw)!important;
    min-width:0!important;
    max-width:none!important;
    grid-template-columns:104px 104px 1fr 104px!important;
    gap:8px!important;
    align-items:stretch;
  }
  .resource-card{
    min-height:62px;
    border-radius:14px!important;
    border:1px solid #617897!important;
    background:linear-gradient(180deg,rgba(22,31,47,.96),rgba(7,11,18,.92))!important;
    box-shadow:0 10px 22px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.06);
  }
  .resource-card.wide{grid-template-columns:42px 1fr!important}
  .resource-icon{border-radius:12px!important;background:linear-gradient(180deg,#24324c,#101826)!important;border:1px solid rgba(130,156,196,.4)!important}
  .resource-meta small{font-size:10px!important;letter-spacing:.08em;color:#c0cfe6!important}
  .resource-meta b{font-size:17px!important;color:#fff!important;text-shadow:0 1px 4px #000}
  .mini-bar{height:8px!important;border-radius:999px;background:#0d131f!important;border:1px solid #3b4f6e!important;overflow:hidden}
  .mini-bar i{display:block;height:100%;background:linear-gradient(90deg,#2a6de0,#7dc0ff)}

  .gamer-menu{
    top:126px!important;
    right:12px!important;
    display:grid!important;
    grid-template-columns:repeat(2,58px)!important;
    gap:8px!important;
    width:auto!important;
  }
  .gamer-menu button{
    width:58px!important;
    min-width:58px!important;
    height:58px!important;
    padding:5px!important;
    border-radius:12px!important;
    border:1px solid #617899!important;
    background:linear-gradient(180deg,rgba(22,31,47,.96),rgba(8,12,20,.94))!important;
    box-shadow:0 8px 20px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.07);
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:relative;
  }
  .gamer-menu button img{width:28px!important;height:28px!important;margin:0!important;filter:drop-shadow(0 2px 6px #000)}
  .gamer-menu button span{
    position:absolute;
    left:50%;
    bottom:-19px;
    transform:translateX(-50%);
    white-space:nowrap;
    font-size:9px!important;
    color:#d7e4fb;
    text-shadow:0 1px 4px #000;
    pointer-events:none;
  }

  #skillBar{
    left:50%!important;
    bottom:16px!important;
    transform:translateX(-50%)!important;
    display:grid!important;
    grid-template-columns:repeat(4,64px)!important;
    grid-template-rows:repeat(2,64px)!important;
    gap:6px!important;
    padding:12px 14px!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,rgba(21,29,45,.94),rgba(7,11,18,.95))!important;
    border:1px solid #617899!important;
    box-shadow:0 16px 38px #000b,inset 0 1px 0 rgba(255,255,255,.08);
    width:auto!important;
  }
  #skillBar::before{
    content:'';
    position:absolute;
    inset:5px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.05);
    pointer-events:none;
  }
  #skillBar .skill.icon-only,
  #skillBar .quick-slot{
    width:64px!important;
    height:64px!important;
    border-radius:12px!important;
    border:1px solid #6981a4!important;
    background:linear-gradient(180deg,#0f1828,#060b12)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 8px 16px rgba(0,0,0,.35);
  }
  #skillBar .skill.icon-only img,
  #skillBar .quick-slot img{width:40px!important;height:40px!important;image-rendering:auto!important}
  #skillBar .skill small{
    top:3px!important;
    left:4px!important;
    font-size:10px!important;
    color:#e4edf9!important;
  }
  #skillBar .skill em,
  #skillBar .quick-slot b{
    position:absolute;
    right:4px;
    bottom:3px;
    left:auto;
    inset:auto 4px 3px auto;
    background:rgba(4,7,12,.76)!important;
    padding:1px 5px;
    border-radius:999px;
    font-size:10px!important;
    color:#fff!important;
  }
  #skillBar .skill .lock{font-size:8px!important;padding:2px 4px!important;border-radius:999px;background:#000a}

  .interaction{
    bottom:172px!important;
    padding:10px 18px!important;
    border-radius:999px!important;
    background:linear-gradient(180deg,rgba(24,33,51,.95),rgba(8,12,20,.92))!important;
    border:1px solid #8aa2c7!important;
    box-shadow:0 8px 18px #0008;
  }

  .world-chat{
    left:10px!important;
    bottom:16px!important;
    width:min(340px,28vw)!important;
    border-radius:14px!important;
    border:1px solid #5a739b!important;
    background:linear-gradient(180deg,rgba(18,26,40,.92),rgba(8,12,20,.92))!important;
    box-shadow:0 12px 26px #000a;
  }

  .boss-hud{
    top:84px!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:min(520px,46vw)!important;
  }
}

/* HUD desktop remodelado para ficar muito mais próximo do MMO da referência */
@media (min-width: 901px){
  #hud{pointer-events:none}
  .hud-left-stack,.hud-right-stack{position:absolute;top:10px;pointer-events:none}
  .hud-left-stack{left:10px;width:295px}
  .hud-right-stack{right:10px;width:260px;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
  .mmo-frame{position:relative;overflow:hidden;border-radius:14px;border:1px solid #697f9f;background:linear-gradient(180deg,rgba(26,33,46,.97),rgba(7,10,17,.94));box-shadow:0 12px 28px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.08)}
  .mmo-frame::before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.07),transparent 24%),radial-gradient(circle at 10% 10%,rgba(95,119,158,.24),transparent 30%)}
  .player-card,.target-card{position:relative!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;transform:none!important;width:100%!important;display:flex;gap:10px;padding:8px 10px!important}
  #portrait,#targetPortrait{width:64px!important;height:64px!important;flex:0 0 64px;border-radius:10px;border:2px solid #8096bd;background:#1a2131 center/contain no-repeat!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 6px 16px rgba(0,0,0,.5)}
  #targetPortrait{border-color:#b59c6a}
  .player-card > div:last-child,.target-card > div:last-child{flex:1;min-width:0}
  .player-card b,.target-card b{display:block;font-size:17px!important;line-height:1.05;color:#f4f7ff;text-shadow:0 1px 3px #000;margin-bottom:1px}
  .player-card small,.target-card small{display:block;font-size:10px!important;color:#c9d4e5!important;margin-bottom:4px;letter-spacing:.04em}
  .bar{position:relative;height:13px!important;margin-top:4px!important;border-radius:12px!important;border:1px solid #526680!important;background:linear-gradient(180deg,#04070d,#151d2a)!important;box-shadow:inset 0 2px 5px rgba(0,0,0,.6)}
  .bar i{border-radius:10px}
  .bar em{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:9px!important;color:#fff;text-shadow:0 1px 3px #000;font-style:normal;font-weight:800;letter-spacing:.03em}
  .hp i{background:linear-gradient(90deg,#cf3448,#ff7c85)!important}
  .mp i{background:linear-gradient(90deg,#2f76dd,#7ebcff)!important}
  .stamina i{background:linear-gradient(90deg,#8c8f96,#d7d9df)!important}
  .target-hp i{background:linear-gradient(90deg,#d54a3c,#ff9c67)!important}
  .quest{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:100%!important;margin-top:8px;padding:8px 10px!important;border-radius:12px!important;border:1px solid #647b9b!important;background:linear-gradient(180deg,rgba(28,35,49,.95),rgba(8,12,18,.93))!important;text-align:left!important;box-shadow:0 8px 22px rgba(0,0,0,.45)}
  .quest b{display:block;font-size:14px;color:#eef5ff;margin-bottom:3px}
  .quest span{font-size:10px!important;line-height:1.35;color:#bfcede!important}

  .xp-header{position:absolute;top:6px;left:50%;transform:translateX(-50%);width:min(420px,38vw);padding:6px 12px 8px;text-align:center;pointer-events:none}
  .xp-header small{display:block;font-size:10px;color:#b5c3d8;letter-spacing:.16em;margin-bottom:3px}
  .xp-header b{display:block;font-size:11px;color:#f5f8ff;margin-top:4px}
  .xp-top-bar{height:12px;border-radius:999px;border:1px solid #7086a8;background:linear-gradient(180deg,#0a1220,#202d41);overflow:hidden;box-shadow:inset 0 2px 4px rgba(0,0,0,.65)}
  .xp-top-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#2f77df,#82c2ff);border-radius:999px;box-shadow:0 0 12px rgba(120,195,255,.35)}

  .minimap-shell{width:250px;padding:8px}
  .minimap-header{display:flex;justify-content:space-between;align-items:center;font-size:11px;margin-bottom:6px;color:#edf3ff}
  .minimap-header b{font-size:15px;color:#f2f7ff}
  .minimap-header span{color:#ccd8ea}
  .minimap-circle{position:relative;width:190px;height:190px;margin:2px auto 0;border-radius:50%;border:4px solid #7e9771;background:radial-gradient(circle at 45% 35%,rgba(138,160,82,.42),rgba(43,59,32,.92) 58%,rgba(20,25,17,.98) 100%);box-shadow:inset 0 0 32px rgba(0,0,0,.7),0 8px 20px rgba(0,0,0,.5);overflow:hidden}
  .minimap-circle::before{content:'';position:absolute;inset:14px;border-radius:50%;border:1px solid rgba(255,255,255,.12)}
  .minimap-circle::after{content:'';position:absolute;left:50%;top:50%;width:2px;height:100%;background:linear-gradient(180deg,transparent,rgba(255,255,255,.18),transparent);transform:translateX(-50%)}
  .minimap-rings{position:absolute;inset:0;background:linear-gradient(90deg,transparent 49%,rgba(255,255,255,.14) 50%,transparent 51%),linear-gradient(180deg,transparent 49%,rgba(255,255,255,.14) 50%,transparent 51%)}
  .compass{position:absolute;font-weight:900;color:#f1d28c;text-shadow:0 1px 4px #000;font-size:14px;z-index:3}
  .compass.north{left:50%;top:7px;transform:translateX(-50%)}
  .compass.south{left:50%;bottom:7px;transform:translateX(-50%)}
  .compass.east{right:8px;top:50%;transform:translateY(-50%)}
  .compass.west{left:8px;top:50%;transform:translateY(-50%)}
  #miniPlayerDot{position:absolute;z-index:4;width:14px;height:14px;border-radius:50%;background:radial-gradient(circle,#ffe8a4 0%,#f3c764 60%,#8a5e13 100%);border:2px solid rgba(255,255,255,.85);box-shadow:0 0 14px rgba(255,220,110,.7);transform:translate(-50%,-50%);left:50%;top:50%}

  .gamer-resources{position:relative!important;top:auto!important;right:auto!important;left:auto!important;transform:none!important;width:250px!important;min-width:0!important;max-width:none!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;padding:0!important;background:transparent!important;border:none!important}
  .resource-card{min-height:54px;border-radius:12px!important;border:1px solid #687f9f!important;background:linear-gradient(180deg,rgba(25,32,45,.96),rgba(7,10,17,.93))!important;box-shadow:0 8px 18px rgba(0,0,0,.4)}
  .resource-card.wide{grid-column:1 / -1}
  .resource-icon{width:34px!important;height:34px!important;border-radius:10px!important;border:1px solid rgba(120,146,184,.34)!important;background:linear-gradient(180deg,#233048,#101725)!important}
  .resource-icon img{width:22px!important;height:22px!important}
  .resource-meta small{font-size:9px!important;color:#bfcee2!important;letter-spacing:.08em}
  .resource-meta b{font-size:14px!important;color:#fff!important}
  .mini-bar{height:7px!important;border-radius:999px;border:1px solid #415774!important;background:#0d131f!important}
  .mini-bar i{display:block;height:100%;background:linear-gradient(90deg,#2f77df,#82c2ff)}

  .gamer-menu{position:relative!important;top:auto!important;right:auto!important;display:grid!important;grid-template-columns:repeat(2,46px)!important;gap:8px!important;pointer-events:auto;width:auto!important}
  .gamer-menu button{width:46px!important;height:46px!important;min-width:46px!important;padding:4px!important;border-radius:10px!important;border:1px solid #687f9f!important;background:linear-gradient(180deg,rgba(24,31,44,.96),rgba(7,10,17,.94))!important;box-shadow:0 6px 16px rgba(0,0,0,.45);display:flex!important;align-items:center!important;justify-content:center!important}
  .gamer-menu button img{width:26px!important;height:26px!important;margin:0!important;filter:drop-shadow(0 2px 6px #000)}
  .gamer-menu button span{display:none!important}

  #skillBar{position:absolute;left:50%!important;bottom:10px!important;transform:translateX(-50%)!important;display:block!important;width:auto!important;padding:12px 14px!important;border-radius:16px!important;border:1px solid #6b82a3!important;background:linear-gradient(180deg,rgba(24,31,44,.95),rgba(6,10,17,.95))!important;box-shadow:0 16px 36px rgba(0,0,0,.68),inset 0 1px 0 rgba(255,255,255,.06);pointer-events:auto}
  #skillBar::before{content:'';position:absolute;inset:4px;border-radius:12px;border:1px solid rgba(255,255,255,.05);pointer-events:none}
  .action-row{display:grid;grid-template-columns:repeat(8,58px);gap:6px}
  .action-row + .action-row{margin-top:6px}
  .action-slot{position:relative;width:58px;height:58px;border-radius:10px;border:1px solid #6b82a3;background:linear-gradient(180deg,#121b29,#060a11);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 6px 14px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden}
  .action-slot img{width:36px!important;height:36px!important;object-fit:contain!important;image-rendering:auto!important;filter:drop-shadow(0 2px 6px #000)}
  .action-slot .hotkey{position:absolute;left:4px;top:3px;font-size:9px;font-weight:800;color:#e7eefb;text-shadow:0 1px 3px #000}
  .action-slot strong{position:absolute;left:0;right:0;bottom:2px;font-size:8px;text-align:center;color:#f2f6ff;text-shadow:0 1px 3px #000;pointer-events:none}
  .action-slot em,.action-slot b,.action-slot .lock{position:absolute;right:3px;bottom:12px;padding:1px 4px;border-radius:999px;font-size:8px;background:rgba(0,0,0,.72);color:#fff}
  .action-slot.locked{filter:grayscale(.7)}
  .action-slot.locked .lock{left:50%;right:auto;bottom:22px;transform:translateX(-50%)}
  .interaction{left:50%!important;bottom:154px!important;transform:translateX(-50%)!important;padding:8px 14px!important;border-radius:999px!important;border:1px solid #7e96bc!important;background:linear-gradient(180deg,rgba(26,33,46,.94),rgba(8,10,18,.92))!important;box-shadow:0 8px 16px rgba(0,0,0,.5)}
  .world-chat{left:10px!important;bottom:12px!important;width:300px!important;border-radius:12px!important;border:1px solid #697f9f!important;background:linear-gradient(180deg,rgba(22,29,41,.95),rgba(7,10,17,.94))!important;box-shadow:0 12px 26px rgba(0,0,0,.58)}
  .world-chat #worldChatMessages{height:124px!important}
  .boss-hud{top:84px!important;left:50%!important;transform:translateX(-50%)!important;width:min(440px,34vw)!important}
}

/* Ajustes solicitados: barra inferior apenas com poderes e HUD lateral menor */
@media (min-width: 901px){
  .hud-right-stack{width:205px!important;gap:5px!important;right:7px!important;top:7px!important}
  .minimap-shell{width:205px!important;padding:6px!important;border-radius:11px!important}
  .minimap-header{margin-bottom:4px!important;font-size:9px!important}
  .minimap-header b{font-size:12px!important}
  .minimap-header span{font-size:8px!important}
  .minimap-circle{width:148px!important;height:148px!important;border-width:3px!important}
  .compass{font-size:10px!important}
  #miniPlayerDot{width:10px!important;height:10px!important;border-width:1px!important}

  .gamer-resources{width:205px!important;grid-template-columns:1fr 1fr!important;gap:4px!important}
  .resource-card{min-height:38px!important;padding:4px 5px!important;border-radius:8px!important;grid-template-columns:25px 1fr!important;gap:4px!important}
  .resource-card.wide{grid-column:1/-1!important}
  .resource-icon{width:25px!important;height:25px!important;border-radius:7px!important}
  .resource-icon img{width:16px!important;height:16px!important}
  .resource-meta small{font-size:6px!important}
  .resource-meta b{font-size:10px!important}
  .mini-bar{height:4px!important}

  .gamer-resources .gold-card{
    position:absolute!important;
    right:0!important;
    top:210px!important;
    width:72px!important;
    min-height:32px!important;
    grid-template-columns:20px 1fr!important;
    padding:3px 5px!important;
    opacity:.9;
    z-index:4;
  }
  .gamer-resources .gold-card .resource-icon{width:20px!important;height:20px!important}
  .gamer-resources .gold-card .resource-icon img{width:13px!important;height:13px!important}
  .gamer-resources .gold-card .resource-meta small{display:none!important}
  .gamer-resources .gold-card .resource-meta b{font-size:9px!important}

  .gamer-menu{grid-template-columns:repeat(2,34px)!important;gap:5px!important;margin-top:2px!important}
  .gamer-menu button{width:34px!important;height:34px!important;min-width:34px!important;padding:3px!important;border-radius:8px!important}
  .gamer-menu button img{width:20px!important;height:20px!important}

  #skillBar{bottom:10px!important;padding:9px 11px!important;border-radius:14px!important}
  #skillBar .action-row{grid-template-columns:repeat(4,62px)!important;gap:7px!important}
  #skillBar .action-slot{width:62px!important;height:62px!important}
  #skillBar .action-slot img{width:39px!important;height:39px!important}
  #skillBar .action-slot strong{font-size:8px!important}
  #skillBar .action-slot .hotkey{font-size:9px!important}
  .interaction{bottom:92px!important}
}

/* Organização final: menu alinhado, ícones Font Awesome e utilidades na parte inferior */
.game-utility-bar{display:none}
@media (min-width:901px){
  .hud-right-stack{width:238px!important}
  .minimap-shell{width:218px!important;padding:7px!important}
  .minimap-circle{width:154px!important;height:154px!important;border-width:3px!important}
  .minimap-header b{font-size:13px!important}
  .minimap-header span{font-size:9px!important}

  .gamer-resources{width:218px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
  .resource-card{min-height:44px!important;padding:5px 7px!important;grid-template-columns:28px 1fr!important}
  .resource-icon{width:28px!important;height:28px!important}
  .resource-icon img{width:18px!important;height:18px!important}
  .resource-meta small{font-size:7px!important}
  .resource-meta b{font-size:11px!important}
  .resource-card.wide{grid-column:auto!important}
  .mini-bar{height:5px!important}

  .gamer-menu{
    width:218px!important;
    display:grid!important;
    grid-template-columns:repeat(6,1fr)!important;
    gap:5px!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .gamer-menu button{
    min-width:0!important;
    width:100%!important;
    height:36px!important;
    padding:0!important;
    border-radius:8px!important;
    border:1px solid #607795!important;
    background:linear-gradient(180deg,rgba(27,36,51,.98),rgba(8,12,20,.96))!important;
    box-shadow:0 5px 12px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.07)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    transition:transform .15s ease,border-color .15s ease,filter .15s ease!important;
  }
  .gamer-menu button:hover{transform:translateY(-2px);border-color:#9eb6d9!important;filter:brightness(1.12)}
  .gamer-menu button i{font-size:17px;color:#dbe8fb;filter:drop-shadow(0 2px 4px #000)}
  .gamer-menu button:nth-child(3) i{color:#c8a8ff}
  .gamer-menu button:nth-child(4) i{color:#f0cc73}
  .gamer-menu button:nth-child(5) i{color:#ef8e85}
  .gamer-menu button:nth-child(6) i{color:#75caff}
  .gamer-menu button span{display:none!important}

  .diamond-wallet-badge{
    position:absolute!important;
    top:auto!important;
    right:160px!important;
    bottom:12px!important;
    z-index:36!important;
    min-width:70px!important;
    height:34px!important;
    padding:0 10px!important;
    gap:6px!important;
    border-radius:9px!important;
    border:1px solid #7564b7!important;
    background:linear-gradient(180deg,rgba(42,34,75,.96),rgba(18,14,35,.96))!important;
    box-shadow:0 7px 16px #0008!important;
  }
  .diamond-wallet-badge span{font-size:14px!important}
  .diamond-wallet-badge b{font-size:11px!important}

  #hud:not(.hidden) ~ .game-utility-bar{display:flex!important}
  .game-utility-bar{
    position:absolute;
    right:10px;
    bottom:12px;
    z-index:38;
    gap:6px;
    pointer-events:auto;
  }
  .game-utility-bar button{
    min-width:66px;
    height:34px;
    padding:0 9px;
    border-radius:9px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    border:1px solid #607795;
    background:linear-gradient(180deg,rgba(27,36,51,.97),rgba(8,12,20,.97));
    box-shadow:0 7px 16px #0008,inset 0 1px 0 rgba(255,255,255,.06);
    color:#eaf2ff;
    transition:transform .15s ease,filter .15s ease;
  }
  .game-utility-bar button:hover{transform:translateY(-2px);filter:brightness(1.14)}
  .game-utility-bar button i{font-size:14px}
  .game-utility-bar button b{font-size:9px;letter-spacing:.04em}
  .game-save-button i{color:#75d6a1}
  .game-logout-button i{color:#ff8d98}
  .game-logout-button{position:static!important;inset:auto!important;width:auto!important;min-width:58px!important;border-radius:9px!important}
  .game-logout-button span{display:none!important}
}

@media(max-width:900px){
  .game-utility-bar{display:none!important}
  .diamond-wallet-badge{transform:scale(.82);transform-origin:right bottom}
}

/* Ajustes finos pedidos: menu um pouco mais baixo, alvo oculto até existir, chat mais acima */
@media (min-width: 901px){
  .target-card.hidden{display:none!important}
  .hud-left-stack{gap:8px;display:flex;flex-direction:column}
  .hud-right-stack{gap:10px!important}
  .gamer-menu{margin-top:14px!important}
  .world-chat-toggle{right:16px!important;bottom:94px!important}
  .world-chat.compact-chat{right:16px!important;bottom:140px!important}
}

/* Diamantes junto dos recursos superiores, usando Font Awesome */
@media (min-width:901px){
  .gamer-resources .diamond-card{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    left:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:auto!important;
    min-width:0!important;
    height:auto!important;
    min-height:54px!important;
    margin:0!important;
    padding:8px 9px!important;
    display:grid!important;
    grid-template-columns:34px 1fr!important;
    gap:8px!important;
    align-items:center!important;
    border-radius:12px!important;
    border:1px solid #7b69c5!important;
    background:linear-gradient(180deg,rgba(38,31,69,.96),rgba(14,11,28,.94))!important;
    box-shadow:0 8px 18px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.06)!important;
    color:#fff!important;
  }
  .gamer-resources .diamond-card .diamond-icon{
    width:34px!important;
    height:34px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:10px!important;
    background:radial-gradient(circle,#9b7cff55,#241a42)!important;
    border:1px solid rgba(170,146,255,.45)!important;
  }
  .gamer-resources .diamond-card .diamond-icon i{
    font-size:18px!important;
    color:#c9b6ff!important;
    filter:drop-shadow(0 2px 5px #000);
  }
  .gamer-resources .diamond-card .resource-meta small{
    display:block!important;
    font-size:9px!important;
    color:#c9bff0!important;
    letter-spacing:.08em!important;
  }
  .gamer-resources .diamond-card .resource-meta b{
    display:block!important;
    font-size:14px!important;
    color:#fff!important;
  }
}
@media (max-width:900px){
  .diamond-card{display:none!important}
}

/* Diamantes mais abaixo, separados do topo para liberar espaço visual */
@media (min-width:901px){
  .gamer-resources .diamond-card{
    grid-column:1 / -1!important;
    width:126px!important;
    justify-self:end!important;
    min-height:40px!important;
    margin-top:78px!important;
    padding:5px 8px!important;
    grid-template-columns:28px 1fr!important;
    gap:6px!important;
  }
  .gamer-resources .diamond-card .diamond-icon{
    width:28px!important;
    height:28px!important;
  }
  .gamer-resources .diamond-card .diamond-icon i{font-size:15px!important}
  .gamer-resources .diamond-card .resource-meta small{font-size:8px!important}
  .gamer-resources .diamond-card .resource-meta b{font-size:12px!important}
}

/* Ajuste pedido: diamantes mais para cima, ao lado do contador inferior, sem sobrepor */
@media (min-width:901px){
  .gamer-resources .power-card,
  .gamer-resources .diamond-card{
    grid-column:auto!important;
    width:auto!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    min-height:44px!important;
    margin-top:0!important;
  }
  .gamer-resources .diamond-card{
    padding:6px 8px!important;
    grid-template-columns:28px 1fr!important;
    gap:6px!important;
  }
  .gamer-resources .diamond-card .diamond-icon{
    width:28px!important;
    height:28px!important;
  }
  .gamer-resources .diamond-card .diamond-icon i{font-size:15px!important}
  .gamer-resources .diamond-card .resource-meta small{font-size:8px!important}
  .gamer-resources .diamond-card .resource-meta b{font-size:12px!important}
}

/* Correção final: fileira exclusiva com somente os 6 ícones do menu */
@media (min-width:901px){
  .hud-right-stack .gamer-menu{
    display:grid!important;
    grid-template-columns:repeat(6,34px)!important;
    grid-template-rows:34px!important;
    gap:5px!important;
    width:max-content!important;
    max-width:none!important;
    margin-top:10px!important;
    align-self:flex-end!important;
    position:relative!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
  }
  .hud-right-stack .gamer-menu button{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    padding:3px!important;
    margin:0!important;
    border-radius:8px!important;
  }
  .hud-right-stack .gamer-menu button i{
    font-size:16px!important;
  }
  .hud-right-stack .gamer-menu button span{
    display:none!important;
  }
  .hud-right-stack .gamer-resources{
    display:grid!important;
    width:205px!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:4px!important;
  }
  .hud-right-stack .gamer-resources .diamond-card{
    grid-column:auto!important;
    margin:0!important;
  }
}

/* Chat de computador sempre aberto, em sombra transparente como no MMO da referência */
@media (min-width:901px){
  #worldChatToggle{display:none!important}
  #worldChat.compact-chat,
  #worldChat.compact-chat.hidden{
    display:flex!important;
    flex-direction:column;
    left:10px!important;
    right:auto!important;
    bottom:10px!important;
    width:min(360px,30vw)!important;
    max-height:205px!important;
    border-radius:10px!important;
    border:1px solid rgba(105,127,159,.38)!important;
    background:linear-gradient(180deg,rgba(8,12,18,.42),rgba(6,10,16,.24))!important;
    box-shadow:0 10px 24px rgba(0,0,0,.28)!important;
    backdrop-filter:blur(1.5px);
    overflow:hidden;
  }
  #worldChat.compact-chat > header{
    height:26px!important;
    min-height:26px!important;
    padding:0 10px!important;
    background:linear-gradient(180deg,rgba(18,28,44,.55),rgba(9,14,22,.22))!important;
    border-bottom:1px solid rgba(125,150,186,.18)!important;
    font-size:10px!important;
    letter-spacing:.12em!important;
    color:#dfe9f8!important;
  }
  #worldChat.compact-chat > header button{display:none!important}
  #worldChat.compact-chat #worldChatMessages{
    height:126px!important;
    max-height:126px!important;
    padding:7px 9px!important;
    background:transparent!important;
    scrollbar-width:thin;
  }
  #worldChat.compact-chat .chat-line{
    font-size:11px!important;
    line-height:1.38!important;
    color:#eef4ff!important;
    text-shadow:0 1px 2px rgba(0,0,0,.45);
    padding:2px 0!important;
  }
  #worldChat.compact-chat .chat-line b{color:#f7d785!important}
  #worldChat.compact-chat form{
    grid-template-columns:1fr 74px!important;
    gap:0!important;
    border-top:1px solid rgba(96,118,150,.18)!important;
    background:rgba(7,11,18,.18)!important;
  }
  #worldChat.compact-chat input{
    font-size:11px!important;
    padding:8px 10px!important;
    background:rgba(255,255,255,.06)!important;
    color:#eef5ff!important;
  }
  #worldChat.compact-chat input::placeholder{color:#c8d3e5!important}
  #worldChat.compact-chat form button{
    font-size:9px!important;
    padding:7px 8px!important;
    background:linear-gradient(180deg,rgba(83,112,160,.72),rgba(43,61,96,.82))!important;
    color:#fff!important;
  }
}

/* Chat só aparece durante a sessão de jogo ou na tela imediata de morte */
body:not(.game-chat-visible) #worldChat,
body:not(.game-chat-visible) #worldChatToggle{
  display:none!important;
}
#worldChatMessages .death-message{
  color:#ffd4d8!important;
  background:linear-gradient(90deg,rgba(145,25,42,.26),transparent 88%);
  border-left:3px solid #e44b61;
  padding:4px 7px!important;
  margin:2px 0;
  border-radius:4px;
}
#worldChatMessages .death-message b{
  color:#ff7385!important;
  letter-spacing:.04em;
}
#worldChatMessages .duel-message{
  color:#fff0ba!important;
  background:linear-gradient(90deg,rgba(151,104,20,.34),rgba(99,37,57,.14),transparent 94%);
  border-left:3px solid #f0bd52;
  padding:5px 7px!important;
  margin:3px 0;
  border-radius:4px;
  box-shadow:inset 0 0 14px rgba(240,189,82,.06);
}
#worldChatMessages .duel-message b{color:#ffd76a!important;letter-spacing:.05em}

/* Controle definitivo do chat: somente durante jogabilidade real */
html body:not(.chat-gameplay-active) #worldChat,
html body:not(.chat-gameplay-active) #worldChatToggle{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
html body.chat-gameplay-active #worldChat{
  visibility:visible!important;
  pointer-events:auto!important;
}
@media (min-width:901px){
  html body.chat-gameplay-active #worldChat.compact-chat,
  html body.chat-gameplay-active #worldChat.compact-chat.hidden{
    display:flex!important;
  }
  html body.chat-gameplay-active #worldChatToggle{display:none!important}
}
@media (max-width:900px){
  html body.chat-gameplay-active #worldChatToggle:not(.hidden){
    display:flex!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
  html body.chat-gameplay-active #worldChat.hidden{display:none!important}
}

/* Correções: retrato visível e barra com 4 poderes + 2 poções */
#portrait{overflow:hidden!important;position:relative!important}
#portrait #portraitImg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  position:relative!important;
  z-index:2!important;
  image-rendering:auto!important;
  filter:drop-shadow(0 2px 5px rgba(0,0,0,.65));
}
@media (min-width:901px){
  #skillBar .action-row{grid-template-columns:repeat(6,58px)!important}
  #skillBar .quick-slot b{
    display:block!important;
    position:absolute!important;
    right:4px!important;
    top:4px!important;
    min-width:17px!important;
    height:17px!important;
    padding:0 4px!important;
    border-radius:999px!important;
    background:rgba(0,0,0,.82)!important;
    border:1px solid rgba(255,255,255,.32)!important;
    color:#fff!important;
    font-size:9px!important;
    line-height:15px!important;
    text-align:center!important;
    z-index:3!important;
  }
  #skillBar .potion-slot{border-color:#a74c52!important}
  #skillBar .mana-slot{border-color:#477bc2!important}
}
@media (min-width:1500px){
  #skillBar .action-row{grid-template-columns:repeat(6,62px)!important}
}

/* Mapa mundial salvo pelo Painel Admin: nomes, números e posições exatas */
.saved-world-layout .dynamic-map-header{margin-bottom:10px}
.saved-country-board{position:relative;min-height:560px;border:1px solid rgba(114,139,174,.55);border-radius:18px;overflow:hidden;background:radial-gradient(circle at 50% 40%,rgba(55,83,73,.5),rgba(12,20,29,.96) 72%),linear-gradient(135deg,#172235,#0b121d);box-shadow:inset 0 0 50px rgba(0,0,0,.58)}
.saved-country-board .world-grid-lines{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:10% 10%}
.saved-country-node{position:absolute;left:var(--wx);top:var(--wy);transform:translate(-50%,-50%);width:154px;min-height:74px;padding:8px;display:grid;grid-template-columns:48px 1fr;gap:8px;align-items:center;text-align:left;border-radius:14px;border:1px solid #7188a8;background:linear-gradient(180deg,rgba(29,40,57,.96),rgba(8,13,22,.94));color:#f3f7ff;box-shadow:0 10px 24px rgba(0,0,0,.5);z-index:2}
.saved-country-node:hover{transform:translate(-50%,-50%) scale(1.04);border-color:#d8bd6a;z-index:4}
.saved-country-node .country-number{position:absolute;left:-8px;top:-10px;min-width:27px;height:27px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:#d1a844;color:#12100a;font-weight:900;border:2px solid #f3db86;box-shadow:0 4px 10px #0008}
.saved-country-node .country-art{width:48px;height:48px;border-radius:11px;overflow:hidden;border:1px solid #526985;background:#07101a}
.saved-country-node .country-art img{width:100%;height:100%;object-fit:cover}
.saved-country-node .country-copy{display:block;min-width:0}.saved-country-node .country-copy b,.saved-country-node .country-copy small,.saved-country-node .country-copy em{display:block}.saved-country-node .country-copy b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.saved-country-node .country-copy small{font-size:9px;color:#bdcbe0;margin-top:2px}.saved-country-node .country-copy em{font-size:8px;color:#7ee3a9;margin-top:4px;font-style:normal}.saved-country-node.danger-node .country-copy em{color:#ff8c93}
@media(max-width:900px){.saved-country-board{min-height:440px}.saved-country-node{width:120px;min-height:62px;grid-template-columns:38px 1fr;padding:6px}.saved-country-node .country-art{width:38px;height:38px}.saved-country-node .country-copy b{font-size:10px}.saved-country-node .country-copy small{font-size:8px}}

/* Removido a pedido: barra grande de experiência no topo central */
.xp-header{display:none!important}

/* ===== BORIN / FERREIRO PRO ===== */
.blacksmith-shell{display:grid;gap:14px}.blacksmith-hero{display:grid;grid-template-columns:92px 1fr auto;gap:16px;align-items:center;padding:16px;border:1px solid #7d5f37;border-radius:14px;background:radial-gradient(circle at 12% 0%,rgba(255,139,42,.18),transparent 36%),linear-gradient(180deg,#251b14,#100d0b 72%);box-shadow:inset 0 1px 0 #ffffff12,0 18px 34px #0007}.blacksmith-portrait{position:relative;width:92px;height:92px;border:2px solid #a87942;border-radius:12px;background:#090706;display:grid;place-items:center;overflow:hidden;box-shadow:0 0 0 4px #0006,inset 0 0 24px #000}.blacksmith-portrait img{width:100%;height:100%;object-fit:contain}.blacksmith-portrait span{position:absolute;right:5px;bottom:5px;font-size:20px;filter:drop-shadow(0 0 8px #ff8a28)}.blacksmith-hero small{color:#d69a57;font-weight:900;letter-spacing:.12em}.blacksmith-hero h3{margin:4px 0 6px;color:#ffe0a7;font-size:22px}.blacksmith-hero p{margin:0;color:#c8bba9}.blacksmith-hero aside{display:grid;gap:7px;min-width:150px;padding:10px 12px;border:1px solid #5b4934;border-radius:10px;background:#0b0907cc;text-align:right}.blacksmith-hero aside b{color:#ffd57b}.blacksmith-hero aside span{color:#c8d2df;font-size:12px}.forge-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.forge-tabs button{padding:11px 8px;border:1px solid #654c31;border-radius:9px;background:linear-gradient(#231a13,#110d0a);color:#d8c6ac;font-weight:900;cursor:pointer}.forge-tabs button.active{border-color:#c58a43;color:#ffe1a1;background:linear-gradient(#5a321a,#23150e);box-shadow:inset 0 0 16px #ff9d3222,0 0 16px #ff9d3218}.forge-workshop{position:relative;min-height:260px;padding:12px;border:1px solid #3e3429;border-radius:12px;background:linear-gradient(180deg,#0e0c0a,#090807)}.forge-items,.forge-recipes{display:grid;gap:9px}.forge-item,.forge-recipes article{display:grid;grid-template-columns:68px 1fr auto;gap:12px;align-items:center;padding:10px;border:1px solid #40362c;border-radius:10px;background:linear-gradient(180deg,#18130f,#0d0b09)}.forge-item-art,.forge-recipes article>img{width:68px;height:68px;border-radius:9px;border:1px solid #55452f;background:#080706;object-fit:contain;padding:5px}.forge-item-info{display:grid;gap:3px}.forge-item-info b,.forge-recipes b{color:#f4e3c7}.forge-item-info small,.forge-recipes small{color:#a99a87}.forge-item-info span,.forge-recipes span{color:#d6b46f;font-size:11px}.forge-item button,.forge-recipes button{min-width:108px;padding:10px;border:1px solid #bd7b32;border-radius:8px;background:linear-gradient(#7c421d,#3c2111);color:#ffe2aa;font-weight:900}.forge-item button:disabled{opacity:.35;filter:grayscale(1)}.durability{position:relative;height:18px;margin-top:4px;border:1px solid #4a4036;border-radius:5px;background:#080706;overflow:hidden}.durability i{display:block;height:100%;background:linear-gradient(90deg,#a6402e,#d7a23f,#6dbb70)}.durability em{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:9px;font-style:normal;font-weight:900;text-shadow:0 1px 2px #000}.forge-empty{min-height:220px;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;color:#b9aa97}.forge-empty span{font-size:44px}.forge-work-overlay{position:absolute;inset:0;z-index:25;display:grid;place-items:center;align-content:center;gap:10px;padding:24px;text-align:center;background:radial-gradient(circle at center,#56220fe8,#090706f7 62%);backdrop-filter:blur(3px);border-radius:12px}.forge-work-overlay h3{margin:0;color:#ffd58c;font-size:22px}.forge-work-overlay p{margin:0;color:#dcc9ad}.forge-anvil{position:relative;width:130px;height:104px;display:grid;place-items:end center;font-size:58px}.forge-hammer{position:absolute;left:52px;top:0;font-size:44px;transform-origin:20% 80%;animation:forgeHammer .42s ease-in-out infinite alternate}.forge-spark{position:absolute;color:#ffd76f;text-shadow:0 0 10px #ff8a2a;animation:forgeSpark .65s ease-out infinite}.forge-spark.s1{left:24px;top:50px}.forge-spark.s2{right:18px;top:42px;animation-delay:.16s}.forge-spark.s3{right:42px;top:16px;animation-delay:.3s}.forge-work-bar{width:min(360px,80%);height:9px;border:1px solid #68411f;border-radius:99px;background:#090604;overflow:hidden}.forge-work-bar i{display:block;width:0;height:100%;background:linear-gradient(90deg,#6d2a15,#ff8a2a,#ffd47a);animation:forgeProgress 1.25s linear forwards}@keyframes forgeHammer{from{transform:rotate(-25deg) translateY(-5px)}to{transform:rotate(16deg) translateY(8px)}}@keyframes forgeSpark{0%{opacity:0;transform:translate(0,10px) scale(.6)}45%{opacity:1}100%{opacity:0;transform:translate(12px,-22px) scale(1.4)}}@keyframes forgeProgress{to{width:100%}}@media(max-width:760px){.blacksmith-hero{grid-template-columns:70px 1fr}.blacksmith-portrait{width:70px;height:70px}.blacksmith-hero aside{grid-column:1/-1;grid-template-columns:1fr 1fr;text-align:center}.forge-tabs{grid-template-columns:1fr 1fr}.forge-item,.forge-recipes article{grid-template-columns:54px 1fr}.forge-item-art,.forge-recipes article>img{width:54px;height:54px}.forge-item button,.forge-recipes button{grid-column:1/-1;width:100%}}
