:root{--bg:#0b1016;--panel:#121a23;--panel2:#182430;--line:#2a3a49;--text:#eef6fb;--muted:#9fb0bf;--gold:#f2b84b;--green:#52d273;--red:#f06464;--blue:#5ab0ff}*{box-sizing:border-box}html{background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}body{margin:0;background:radial-gradient(circle at top,#142333 0,#0b1016 55%);min-height:100vh}a{color:inherit;text-decoration:none}.topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px clamp(16px,4vw,56px);background:rgba(8,13,18,.93);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.brand{font-size:22px;font-weight:900;letter-spacing:.8px}.brand span{color:var(--gold)}nav{display:flex;align-items:center;gap:16px;flex-wrap:wrap}nav a{font-size:14px;color:#d5e1e9}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;background:linear-gradient(180deg,#f6c65e,#d99b2a);color:#1c1508;font-weight:800;border:0;cursor:pointer}.btn.secondary{background:var(--panel2);color:var(--text);border:1px solid var(--line)}.btn.danger{background:#5c2424;color:#ffdede;border:1px solid #7c3737}.btn.small{min-height:36px;padding:0 13px}.site-main{width:min(1180px,calc(100% - 28px));margin:0 auto;padding:34px 0 70px}.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:center;padding:30px 0 42px}.hero h1{font-size:clamp(38px,7vw,72px);line-height:.96;margin:0 0 18px}.hero h1 span{color:var(--gold)}.hero p{color:var(--muted);font-size:18px;line-height:1.65}.hero-card,.card,.panel{background:linear-gradient(180deg,rgba(26,38,50,.95),rgba(16,24,32,.96));border:1px solid var(--line);border-radius:18px;padding:20px}.hero-card{min-height:360px;display:grid;place-items:center;position:relative;overflow:hidden}.fake-game{width:100%;aspect-ratio:4/3;background:linear-gradient(135deg,#214a28,#3c6b31 55%,#39552b);border:6px solid #101820;border-radius:12px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 2px #4d6473}.fake-game:before{content:"";position:absolute;left:12%;right:8%;top:45%;height:64px;background:#a17a4e;transform:rotate(-6deg);border-radius:50%}.fake-game .player{position:absolute;left:47%;top:48%;width:28px;height:36px;background:#d6d9dc;border:5px solid #2f4050;border-radius:8px}.fake-game .mob{position:absolute;width:25px;height:25px;border-radius:50%;background:#5cbf58;border:4px solid #245a2d}.fake-game .m1{left:62%;top:45%}.fake-game .m2{left:34%;top:30%;background:#747b83}.fake-game .hud{position:absolute;left:10px;top:10px;width:140px;height:54px;border-radius:8px;background:#101820;border:1px solid #385063}.fake-game .hp,.fake-game .mp{height:8px;margin:9px 10px;background:#8b2525;border-radius:4px}.fake-game .mp{background:#25649a;margin-top:6px}.section-title{font-size:28px;margin:16px 0 20px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card h3{margin-top:0}.muted{color:var(--muted)}.stat{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.stat:last-child{border-bottom:0}.tag{display:inline-block;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:800;background:#263a4d;color:#cfe6f5}.tag.gold{background:#4f3b18;color:#ffd476}.tag.red{background:#4b2424;color:#ffb6b6}.tag.green{background:#1f442a;color:#9cf1b1}.form-card{width:min(560px,100%);margin:25px auto}.field{display:grid;gap:7px;margin:14px 0}.field label{font-weight:700}.field input,.field select,.field textarea{width:100%;min-height:46px;border:1px solid var(--line);border-radius:10px;background:#0d151d;color:var(--text);padding:10px 12px;font-size:16px}.alert{padding:12px 14px;border-radius:10px;margin:12px 0;background:#472828;color:#ffd2d2;border:1px solid #743b3b}.success{background:#1f442a;color:#c8ffd4;border-color:#316641}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px}.table{width:100%;border-collapse:collapse;min-width:680px;background:var(--panel)}.table th,.table td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left}.table th{background:#182430;color:#cfe0ea}.footer{padding:24px;text-align:center;color:var(--muted);border-top:1px solid var(--line)}.admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.big-number{font-size:34px;font-weight:900;margin-top:7px}.actions{display:flex;gap:10px;flex-wrap:wrap}.vocation-icon{width:56px;height:56px;border-radius:14px;display:grid;place-items:center;background:#243545;border:1px solid #3d5669;font-weight:900;font-size:20px}.voc-row{display:flex;gap:14px;align-items:flex-start}.skills{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.skill{padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:#0d151d;font-size:13px}.game-shell{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px}.game-stage{position:relative;background:#0b1116;border:1px solid var(--line);border-radius:16px;overflow:hidden}.game-stage canvas{width:100%;display:block;aspect-ratio:16/10;background:#213922;touch-action:none}.side-panel{display:grid;gap:12px;align-content:start}.bar{height:12px;background:#0b1116;border-radius:8px;overflow:hidden;border:1px solid #30404d}.bar>span{display:block;height:100%;background:var(--green)}.bar.mana>span{background:var(--blue)}.chat-log{height:180px;overflow:auto;background:#0c131a;border:1px solid var(--line);border-radius:10px;padding:10px;font-size:13px}.chat-line{margin:0 0 6px;color:#d9e5ed}.controls{display:grid;grid-template-columns:repeat(3,54px);gap:6px;justify-content:center;margin-top:10px}.controls button,.skillbar button{min-width:50px;min-height:48px;border:1px solid var(--line);border-radius:10px;background:#17232e;color:#fff;font-weight:800}.skillbar{display:flex;gap:8px;flex-wrap:wrap}.inline-form{display:flex;gap:8px}.inline-form input{flex:1;min-width:0}.status-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:#7f8991}.status-dot.on{background:#58db79}@media(max-width:900px){.hero{grid-template-columns:1fr}.grid,.grid.two,.admin-grid{grid-template-columns:1fr 1fr}.game-shell{grid-template-columns:1fr}.side-panel{grid-template-columns:1fr 1fr}.topbar{align-items:flex-start}.topbar nav{justify-content:flex-end}}@media(max-width:620px){.site-main{width:min(100% - 20px,1180px);padding-top:18px}.topbar{position:static;display:block}.topbar nav{margin-top:12px;justify-content:flex-start;gap:10px}.hero{padding-top:12px}.grid,.grid.two,.admin-grid,.side-panel{grid-template-columns:1fr}.hero-card{min-height:auto}.game-stage{border-radius:10px}.controls{grid-template-columns:repeat(3,62px)}}

/* DAZIVO RPG v0.2 - interface de jogo */
.game-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:12px 14px}.game-toolbar-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.game-shell-v2{grid-template-columns:minmax(0,1fr) 330px}.game-sidebar{max-height:none}.game-hint{position:absolute;left:12px;bottom:10px;background:rgba(8,13,18,.82);border:1px solid rgba(255,255,255,.14);border-radius:8px;padding:7px 10px;font-size:12px;color:#dbe7ee;pointer-events:none}.hud-row,.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-heading h2,.panel-heading h3{margin:0}.compact-actions{margin-top:10px;gap:7px}.skillbar button{display:grid;gap:2px;text-align:center;min-width:66px;padding:7px}.skillbar button span{font-size:10px;font-weight:600;color:#b9c8d3;line-height:1.1}.inventory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.inventory-slot{position:relative;min-width:0;min-height:94px;border:1px solid var(--line);border-radius:10px;background:#0d151d;padding:8px;text-align:center}.item-icon{font-size:22px;color:#f2c765}.item-name{font-size:11px;line-height:1.15;margin:4px 0 18px;word-break:break-word}.item-qty{position:absolute;right:6px;top:5px;font-size:10px;background:#263847;border-radius:99px;padding:2px 5px}.item-btn,.tiny-btn{border:1px solid #3a5365;background:#172631;color:#e9f3f8;border-radius:7px;cursor:pointer}.item-btn{position:absolute;left:6px;right:6px;bottom:6px;min-height:24px;font-size:10px}.tiny-btn{padding:4px 7px;font-size:10px}.equipment-list{display:grid;gap:7px}.equipment-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:1px solid var(--line);border-radius:9px;background:#0d151d;font-size:12px}.quest-list{display:grid;gap:8px}.quest-entry{display:grid;gap:3px;padding:9px;border-left:3px solid var(--gold);background:#0d151d;border-radius:8px}.quest-entry span,.quest-entry small{font-size:12px;color:var(--muted)}.party-member{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line);font-size:12px}.mini-hp{grid-column:1/-1;height:5px;background:#091015;border-radius:5px;overflow:hidden}.mini-hp span{display:block;height:100%;background:var(--green)}.chat-line.system{color:#f2b84b}.game-modal[hidden]{display:none}.game-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:16px}.game-modal-backdrop{position:absolute;inset:0;background:rgba(1,5,8,.76);backdrop-filter:blur(4px)}.game-modal-card{position:relative;z-index:1;width:min(680px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#121b24;border:1px solid #334958;border-radius:16px;padding:18px}.modal-close{width:42px;height:42px;border:1px solid var(--line);border-radius:10px;background:#0c141b;color:#fff;font-size:24px;cursor:pointer}.shop-list,.quest-modal-list{display:grid;gap:8px;margin-top:12px}.shop-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#0c141b}.shop-row>div:first-child{display:grid;gap:3px}.shop-row small{color:var(--muted)}.quest-card{display:grid;gap:7px;padding:12px;border:1px solid var(--line);border-radius:11px;background:#0c141b}.quest-card p{margin:0;color:#c7d5df}.reward-line{font-size:12px;color:#f2c765}.modal-open{overflow:hidden}
@media(max-width:900px){.game-shell-v2{grid-template-columns:1fr}.game-sidebar{grid-template-columns:1fr 1fr}.game-toolbar{align-items:flex-start}.game-stage canvas{min-height:420px}.inventory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:620px){.game-toolbar{display:grid}.game-toolbar-actions{justify-content:space-between}.game-sidebar{grid-template-columns:1fr}.inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.game-hint{display:none}.game-stage canvas{min-height:390px}.skillbar{display:grid;grid-template-columns:repeat(2,1fr)}.skillbar button{width:100%}.shop-row{align-items:flex-start;flex-direction:column}.game-modal-card{max-height:calc(100vh - 20px);padding:14px}}

/* DAZIVO RPG v0.2.4 - cadastro/login */
.field-help{display:block;margin-top:2px;color:var(--muted);font-size:12px;line-height:1.45}.password-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}.password-wrap input{min-width:0}.password-toggle{min-width:86px;border:1px solid var(--line);border-radius:10px;background:#17232e;color:var(--text);font-weight:800;padding:0 13px;cursor:pointer}.password-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:2px}@media(max-width:420px){.password-wrap{grid-template-columns:1fr}.password-toggle{min-height:44px;width:100%}}

/* =========================================================
   DAZIVO RPG v0.3.0 - cliente de jogo imersivo
   ========================================================= */
body.game-page{overflow:hidden;background:#061017;overscroll-behavior:none;touch-action:manipulation}
body.game-page .topbar,body.game-page .footer{display:none!important}
body.game-page .site-main{width:100%;max-width:none;margin:0;padding:0;height:100dvh;overflow:hidden}
.rpg-client{position:relative;width:100%;height:100%;background:#071017;color:#eef6fb;overflow:hidden}
.rpg-viewport{position:relative;width:100%;height:100%;overflow:hidden;background:#1f4828;isolation:isolate}
.rpg-viewport canvas{position:absolute;inset:0;width:100%;height:100%;display:block;background:#2f6334;touch-action:none;cursor:grab}
.game-glass{background:rgba(7,14,20,.88);border:1px solid rgba(142,171,191,.35);box-shadow:0 8px 26px rgba(0,0,0,.30);backdrop-filter:blur(8px);border-radius:12px}
.rpg-top-left{position:absolute;z-index:5;left:14px;top:14px;width:min(390px,calc(100% - 180px));padding:10px;display:flex;gap:10px;align-items:center;pointer-events:auto}
.avatar-pixel{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border:2px solid #e5b44d;border-radius:8px;background:linear-gradient(135deg,#354b5d,#172532);font-weight:1000;color:#ffd36a;font-size:24px;box-shadow:inset 0 0 0 3px #0b151d}
.player-main{min-width:0;flex:1}.player-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.player-title>b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.skull-badge{font-size:9px;font-weight:900;text-transform:uppercase;padding:3px 6px;border-radius:999px;background:#243847;color:#dceaf2;white-space:nowrap}.skull-badge[data-skull="white"]{background:#d8dde0;color:#121619}.skull-badge[data-skull="red"]{background:#7b2929;color:#ffd4d4}.skull-badge[data-skull="black"]{background:#08090a;color:#fff;border:1px solid #515151}
.compact-bar{height:14px;position:relative;border-radius:5px;background:#10171c;border:1px solid #263844;overflow:hidden;margin:4px 0}.compact-bar>span{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(180deg,#68e987,#31b956)}.compact-bar.mana>span{background:linear-gradient(180deg,#66bcff,#318bd0)}.compact-bar>b{position:absolute;inset:0;display:grid;place-items:center;font-size:9px;text-shadow:0 1px 2px #000;color:#fff;z-index:2}.player-meta{display:flex;justify-content:space-between;gap:10px;color:#b9c9d3;font-size:10px;margin-top:5px}.player-meta b{color:#f4cf72}
.rpg-status{position:absolute;z-index:6;top:14px;left:50%;transform:translateX(-50%);min-height:36px;padding:0 12px;display:flex;align-items:center;gap:7px;font-size:11px;pointer-events:none}.status-dot{width:8px;height:8px;box-shadow:0 0 0 3px rgba(127,137,145,.12)}.status-dot.on{box-shadow:0 0 0 3px rgba(88,219,121,.14)}
.rpg-quick-menu{position:absolute;z-index:7;right:14px;top:178px;padding:6px;display:grid;gap:5px;pointer-events:auto}.rpg-quick-menu button,.rpg-quick-menu a{width:54px;min-height:50px;padding:5px;border:1px solid transparent;border-radius:8px;background:transparent;color:#dce8ef;display:grid;place-items:center;gap:1px;cursor:pointer;font:inherit}.rpg-quick-menu button:hover,.rpg-quick-menu a:hover{background:#1a2a35;border-color:#334b5d}.quick-icon{font-size:10px;font-weight:1000;color:#f0c45b}.rpg-quick-menu small{font-size:8px;color:#aebdc7}
.target-card{position:absolute;z-index:6;top:90px;left:50%;transform:translateX(-50%);min-width:220px;max-width:320px;padding:8px 10px;display:grid;grid-template-columns:1fr 28px;gap:5px 10px;pointer-events:auto}.target-card[hidden]{display:none}.target-card small{display:block;color:#9fb0bf;font-size:8px;text-transform:uppercase;letter-spacing:.7px}.target-card b{display:block;font-size:12px}.target-card>button{grid-column:2;grid-row:1/3;width:28px;height:28px;border:1px solid #344b5d;border-radius:7px;background:#14212a;color:#fff;cursor:pointer}.target-hp{height:6px;background:#0b1116;border-radius:6px;overflow:hidden}.target-hp>span{display:block;height:100%;background:#e95e5e;width:100%}
.rpg-chat{position:absolute;z-index:7;left:14px;bottom:88px;width:min(390px,34vw);min-width:290px;overflow:hidden;pointer-events:auto}.chat-head{height:32px;padding:0 9px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #243744;font-size:11px}.chat-head button{width:26px;height:24px;border:0;border-radius:6px;background:#182833;color:#fff}.rpg-chat .chat-log{height:126px;border:0;border-radius:0;background:rgba(5,11,16,.68);padding:8px;font-size:11px}.game-chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;padding:6px;background:rgba(5,11,16,.82)}.game-chat-form input{min-width:0;height:34px;border:1px solid #314655;border-radius:7px;background:#0b141b;color:#fff;padding:0 9px;font-size:12px}.game-chat-form button{height:34px;border:0;border-radius:7px;background:#e6aa36;color:#18120a;font-weight:900;padding:0 12px}.rpg-chat.collapsed .chat-log,.rpg-chat.collapsed .game-chat-form{display:none}
.rpg-actionbar{position:absolute;z-index:8;bottom:12px;left:50%;transform:translateX(-50%);padding:6px;display:flex;align-items:stretch;gap:5px;pointer-events:auto;max-width:calc(100% - 220px)}.rpg-skillbar{display:flex;gap:5px}.rpg-actionbar button{height:58px;min-width:58px;max-width:92px;padding:5px 7px;border:1px solid #42596a;border-radius:9px;background:linear-gradient(180deg,#1b2b36,#101a22);color:#fff;display:grid;place-items:center;align-content:center;gap:2px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}.rpg-actionbar button:active{transform:translateY(1px);background:#253a48}.rpg-actionbar button b{font-size:14px;color:#f4c75f}.rpg-actionbar button span{font-size:8px;color:#b8c7d1;line-height:1.05;text-align:center}.rpg-actionbar .attack{border-color:#8e553b;background:linear-gradient(180deg,#5f3628,#352019)}.rpg-actionbar .pvp{border-color:#774044;background:linear-gradient(180deg,#54292e,#32191c)}
.mobile-dpad{display:none;position:absolute;z-index:8;left:14px;bottom:12px;padding:6px;grid-template-columns:repeat(3,46px);grid-template-rows:repeat(3,46px);gap:3px;pointer-events:auto}.mobile-dpad button{border:1px solid #49616f;border-radius:10px;background:rgba(21,35,45,.94);color:#fff;font-size:17px;font-weight:900;touch-action:none}.mobile-dpad .dpad-center{opacity:.45}
.connection-help{position:absolute;z-index:10;left:50%;top:48%;transform:translate(-50%,-50%);width:min(390px,calc(100% - 28px));padding:14px;display:grid;gap:8px;text-align:center;pointer-events:auto}.connection-help[hidden]{display:none}.connection-help b{color:#ffd06e}.connection-help span{font-size:12px;color:#d0dde5}.connection-help button{justify-self:center;min-height:38px;padding:0 16px;border:0;border-radius:8px;background:#e5aa38;color:#1d160a;font-weight:900}
.game-drawer[hidden]{display:none}.game-drawer{position:absolute;z-index:30;right:0;top:0;width:min(390px,92vw);height:100%;overflow:auto;background:linear-gradient(180deg,#101b24,#091118);border-left:1px solid #334858;box-shadow:-16px 0 40px rgba(0,0,0,.42);padding:16px}.drawer-head{position:sticky;top:-16px;z-index:2;margin:-16px -16px 12px;padding:16px;display:flex;align-items:center;justify-content:space-between;background:rgba(13,23,31,.96);border-bottom:1px solid #293d4a;backdrop-filter:blur(8px)}.drawer-head small{color:#f1bf56;text-transform:uppercase;letter-spacing:1px;font-size:9px}.drawer-head h2{margin:2px 0 0;font-size:22px}.drawer-close{width:42px;height:42px;border:1px solid #344d5f;border-radius:9px;background:#14232d;color:#fff;font-size:24px}.drawer-section{padding:12px 0;border-bottom:1px solid #233540}.drawer-section:last-child{border-bottom:0}.status-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.status-grid>div{padding:11px;border:1px solid #2a4050;border-radius:9px;background:#0b151d}.status-grid small{display:block;color:#8fa4b2;font-size:9px;margin-bottom:4px}.status-grid b{font-size:14px}.game-page .inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.game-page .inventory-slot{min-height:88px}.game-page .equipment-row{grid-template-columns:66px minmax(0,1fr) auto}

@media(max-width:900px){
  .rpg-top-left{left:8px;top:8px;width:calc(100% - 126px);padding:7px}.avatar-pixel{width:46px;height:46px;flex-basis:46px;font-size:20px}.player-title>b{font-size:11px}.player-meta{font-size:9px}
  .rpg-status{top:80px;left:10px;transform:none;min-height:28px;padding:0 9px;font-size:9px}
  .rpg-quick-menu{right:7px;top:8px;padding:4px;gap:2px}.rpg-quick-menu button,.rpg-quick-menu a{width:45px;min-height:43px;padding:3px}.quick-icon{font-size:9px}.rpg-quick-menu small{font-size:7px}
  .target-card{top:112px;min-width:180px;max-width:56vw;padding:6px 8px}.target-card b{font-size:10px}
  .mobile-dpad{display:grid}
  .rpg-actionbar{left:auto;right:8px;transform:none;bottom:8px;max-width:calc(100% - 176px);padding:4px;gap:3px}.rpg-actionbar button{min-width:45px;height:48px;padding:3px}.rpg-actionbar button b{font-size:12px}.rpg-actionbar button span{font-size:7px}.rpg-skillbar{gap:3px}
  .rpg-chat{left:8px;bottom:164px;width:min(330px,62vw);min-width:0}.rpg-chat .chat-log{height:88px}.game-chat-form input{font-size:11px}
  .connection-help{top:50%}
}
@media(max-width:620px){
  body.game-page .site-main{height:100dvh}.rpg-viewport{height:100%}.rpg-top-left{width:calc(100% - 60px)}.avatar-pixel{display:none}.player-title{padding-right:3px}.player-title>b{font-size:10px}.skull-badge{font-size:7px}.compact-bar{height:12px}
  .rpg-quick-menu{top:108px;right:6px}.rpg-quick-menu button,.rpg-quick-menu a{width:42px;min-height:38px}.rpg-quick-menu small{display:none}
  .rpg-status{top:86px;left:8px}.target-card{top:120px;left:8px;transform:none;max-width:62vw}
  .mobile-dpad{left:8px;bottom:8px;grid-template-columns:repeat(3,42px);grid-template-rows:repeat(3,42px);padding:4px}
  .rpg-actionbar{right:6px;bottom:6px;max-width:calc(100% - 146px);overflow-x:auto;scrollbar-width:none}.rpg-actionbar::-webkit-scrollbar{display:none}.rpg-actionbar button{min-width:43px;width:43px;height:44px;border-radius:8px}.rpg-actionbar button span{display:none}.rpg-skillbar{display:flex}.rpg-chat{left:7px;bottom:146px;width:55vw}.rpg-chat .chat-log{height:72px;padding:5px;font-size:9px}.chat-head{height:27px;font-size:9px}.game-chat-form{grid-template-columns:1fr;padding:4px}.game-chat-form input{height:31px}.game-chat-form button{display:none}.rpg-chat.collapsed{width:118px}.game-drawer{width:94vw;padding:12px}.drawer-head{top:-12px;margin:-12px -12px 8px;padding:12px}.game-page .inventory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-height:560px) and (orientation:landscape){
  .rpg-top-left{max-width:330px}.rpg-chat{bottom:76px;width:300px}.rpg-chat .chat-log{height:62px}.mobile-dpad{grid-template-columns:repeat(3,36px);grid-template-rows:repeat(3,36px)}.rpg-actionbar button{height:44px;min-width:44px}.rpg-quick-menu{top:70px}
}

/* v0.3.1 PWA */
.pwa-install-link{border:1px solid #3a5261;background:#12212b;color:#f3c45e;border-radius:9px;padding:9px 12px;font:inherit;font-weight:800;cursor:pointer}.pwa-install-link[hidden]{display:none!important}@media(display-mode:standalone){.pwa-install-link{display:none!important}body{overscroll-behavior:none}}

/* v0.5.0 tibia-like social/inventory/spells */
.chat-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:6px;background:rgba(7,12,17,.92);border-bottom:1px solid #243744}.chat-tabs button{height:26px;border:1px solid #33495a;border-radius:7px;background:#10202a;color:#d7e5ee;padding:0 9px;font-size:10px;font-weight:800;cursor:pointer}.chat-tabs button.active{background:#e0a93a;color:#1a1309;border-color:#f0c76e}.private-hint{flex:1 1 100%;font-size:10px;color:#a9bcc8;padding-top:2px}.friends-list{display:grid;gap:8px}.friend-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #2c4251;border-radius:10px;background:#0c151d}.friend-row b{display:block;font-size:13px}.friend-row small{color:#8ea3b2}.friend-row.online{border-color:#2c6a43;box-shadow:inset 0 0 0 1px rgba(82,210,115,.12)}.friend-row.offline{opacity:.86}.equipment-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.equip-card{display:grid;gap:6px;align-content:start;min-height:116px}.equip-card small{color:#8fa5b3;font-size:10px;text-transform:uppercase}.tibia-bag{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tibia-slot{background:linear-gradient(180deg,#121b24,#0a1118);border:1px solid #344b5a;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}.tibia-slot .slot-label{display:grid;place-items:center;height:28px;border-radius:8px;background:#0d161f;color:#f0c56b;font-weight:900;font-size:12px;border:1px solid rgba(255,255,255,.04)}.tibia-slot .slot-actions{margin-top:auto}.inventory-slot[draggable="true"]{cursor:grab}.inventory-slot[draggable="true"]:active{cursor:grabbing}.rpg-actionbar button.locked{opacity:.45;filter:grayscale(.25)}.rpg-actionbar button.cooldown{border-color:#6c4f1a;box-shadow:0 0 0 1px rgba(242,184,75,.26) inset}.rpg-actionbar button span small{display:block;font-size:9px;color:#ffd98a}.chat-line{word-break:break-word}
@media(max-width:620px){.chat-tabs{padding:4px;gap:3px}.chat-tabs button{height:22px;font-size:9px;padding:0 7px}.equipment-grid{grid-template-columns:1fr}.friend-row{flex-direction:column;align-items:flex-start}.friend-row .actions{width:100%;display:flex;gap:6px;flex-wrap:wrap}.friend-row .actions .btn{flex:1}}

/* =========================================================
   DAZIVO RPG v0.6.0 - HUD clássico / containers / hotkeys
   ========================================================= */
.classic-client .rpg-quick-menu{display:none!important}
.classic-top-actions{position:absolute;z-index:9;right:14px;top:12px;display:flex;gap:4px;padding:5px;pointer-events:auto}
.classic-top-actions button,.classic-top-actions a{min-height:32px;padding:0 10px;border:1px solid #405363;border-radius:6px;background:linear-gradient(180deg,#1b2933,#0e171e);color:#e7f0f5;font:700 10px/1 system-ui;display:flex;align-items:center;justify-content:center;cursor:pointer}
.classic-top-actions button:hover,.classic-top-actions a:hover{border-color:#d3a64a;color:#ffd777}

.classic-client .rpg-actionbar{bottom:128px;max-width:min(980px,calc(100% - 28px));border-radius:8px;padding:4px;background:rgba(7,13,18,.94);overflow-x:auto;scrollbar-width:none}
.classic-client .rpg-actionbar::-webkit-scrollbar{display:none}
.classic-client .rpg-actionbar button{height:50px;min-width:55px;border-radius:6px}
.classic-client .rpg-actionbar button.active{border-color:#65d47d;box-shadow:inset 0 0 0 1px rgba(101,212,125,.35),0 0 12px rgba(101,212,125,.12)}
.classic-client .rpg-actionbar button.active b{color:#86ef9d}
.classic-client .rpg-skillbar{display:flex;gap:4px}

.classic-client .rpg-chat{left:50%;transform:translateX(-50%);bottom:8px;width:min(760px,calc(100% - 28px));min-width:0;border-radius:7px;background:rgba(6,12,17,.95)}
.classic-client .chat-head{height:22px;padding:0 7px;font-size:10px}
.classic-client .chat-head button{height:18px;width:24px;font-size:12px}
.classic-client .chat-tabs{padding:3px 5px;gap:3px;flex-wrap:nowrap;align-items:center}
.classic-client .chat-tabs button{height:22px;border-radius:4px;padding:0 8px;font-size:9px;white-space:nowrap}
.classic-client .private-hint{flex:1 1 auto;min-width:0;padding:0 4px;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.classic-client .rpg-chat .chat-log{height:44px;padding:5px 7px;font-size:10px;line-height:1.3;background:rgba(3,8,12,.9)}
.classic-client .game-chat-form{padding:4px;gap:4px}
.classic-client .game-chat-form input{height:29px;border-radius:5px;font-size:12px}
.classic-client .game-chat-form button{height:29px;border-radius:5px;padding:0 10px;font-size:10px}
.classic-client .rpg-chat.collapsed{width:220px;left:14px;transform:none}

.classic-window[hidden],.corpse-window[hidden],.game-context-menu[hidden]{display:none!important}
.classic-client .game-drawer.classic-window,.classic-window{position:absolute;z-index:32;right:14px;top:205px;width:min(350px,calc(100% - 28px));height:auto;max-height:58%;overflow:auto;padding:9px;background:linear-gradient(180deg,#101920,#080e13);border:1px solid #41515d;border-radius:8px;box-shadow:0 14px 36px rgba(0,0,0,.45)}
.classic-client .classic-window .drawer-head{position:relative;top:auto;margin:-9px -9px 7px;padding:7px 8px;background:#141f27;border-bottom:1px solid #344651;cursor:move;touch-action:none}
.classic-client .classic-window .drawer-head h2{font-size:15px;margin:0}
.classic-client .classic-window .drawer-head small{font-size:8px}
.classic-client .classic-window .drawer-close{width:28px;height:28px;border-radius:5px;font-size:18px}
.classic-client .classic-window .drawer-section{padding:7px 0}
.classic-client .bag-window{top:190px}
.classic-client .spell-window{top:190px}
.classic-client .friends-window{top:190px}
.classic-client .menu-window{top:190px;width:250px}
.classic-client .mini-window{top:190px;width:330px}
.classic-menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.classic-menu-grid button{min-height:40px;border:1px solid #334957;border-radius:6px;background:#111d25;color:#edf4f8;font-weight:800;cursor:pointer}

.classic-client .inventory-grid,.classic-client .tibia-bag{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.classic-client .inventory-slot{min-height:72px;padding:5px;border-radius:5px}
.classic-client .tibia-slot{border-radius:5px;background:linear-gradient(145deg,#1c262d,#0d1419);border-color:#465761}
.classic-client .tibia-slot .slot-label{height:26px;border-radius:4px;background:#10171c;color:#f2c968;font-size:10px}
.classic-client .item-name{font-size:9px;margin:3px 0 17px}
.classic-client .item-btn{left:4px;right:4px;bottom:4px;min-height:20px;font-size:9px}
.classic-client .equipment-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.classic-client .equip-card{min-height:94px;padding:6px;text-align:center}
.classic-client .equip-card b{font-size:9px;line-height:1.15}

.spellbook-list{display:grid;gap:5px}.spell-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px;border:1px solid #334650;border-radius:6px;background:#0c141a}.spell-row b{display:block;font-size:11px}.spell-row small{display:block;color:#8fa3af;font-size:9px;margin-top:2px}.spell-row>span{font-size:9px;color:#76e391}.spell-row.locked{opacity:.56}.spell-row.locked>span{color:#d4a06a}
.hotkey-edit-grid{display:grid;gap:7px;margin:12px 0}.hotkey-edit-row{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px}.hotkey-edit-row b{text-align:center;color:#f0c45b}.hotkey-edit-row select{width:100%;min-height:38px;border:1px solid #38505f;border-radius:7px;background:#0b141a;color:#fff;padding:0 9px;font-size:14px}

.corpse-window{position:absolute;z-index:35;right:14px;bottom:132px;width:min(305px,calc(100% - 28px));max-height:42%;overflow:auto;padding:9px;background:linear-gradient(180deg,#171713,#0b0d0d);border:1px solid #665938;border-radius:8px;box-shadow:0 14px 36px rgba(0,0,0,.48)}
.corpse-timer{font-size:9px;color:#cfbd91;margin-bottom:6px}.corpse-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:8px}.corpse-slot{min-height:72px;padding:5px;color:#e9f1f5;text-align:center;cursor:pointer}.corpse-slot b{display:block;font-size:9px;line-height:1.15;margin:3px 0}.corpse-slot span{font-size:9px;color:#f2cd71}

.game-context-menu{position:absolute;z-index:80;width:164px;padding:5px;border:1px solid #53626a;border-radius:7px;background:#11181d;box-shadow:0 14px 35px rgba(0,0,0,.55);pointer-events:auto}.game-context-menu button{display:block;width:100%;min-height:34px;padding:0 9px;text-align:left;border:0;border-bottom:1px solid #27343c;background:transparent;color:#edf3f6;font:600 11px system-ui;cursor:pointer}.game-context-menu button:last-child{border-bottom:0}.game-context-menu button:hover{background:#24323b;color:#ffd46f}

.classic-client .target-card{top:78px}
.classic-client .target-card #targetRangeInfo{margin-top:2px;color:#d5ba75;text-transform:none;letter-spacing:0}
.classic-client .mobile-dpad{bottom:130px}

@media(max-width:900px){
  .classic-top-actions{top:75px;right:7px;max-width:245px;flex-wrap:wrap;justify-content:flex-end}.classic-top-actions button,.classic-top-actions a{min-height:28px;padding:0 8px;font-size:9px}
  .classic-client .rpg-actionbar{bottom:126px;left:auto;right:6px;transform:none;max-width:calc(100% - 158px)}
  .classic-client .mobile-dpad{left:7px;bottom:126px}
  .classic-client .rpg-chat{bottom:6px;width:calc(100% - 12px)}
  .classic-client .rpg-chat .chat-log{height:40px}
  .classic-client .game-drawer.classic-window,.classic-window{right:6px;top:150px;max-height:54%;width:min(340px,calc(100% - 12px))}
  .corpse-window{right:6px;bottom:124px;width:min(290px,calc(100% - 12px))}
}
@media(max-width:620px){
  .classic-client .rpg-top-left{width:calc(100% - 12px);max-width:none;right:6px}
  .classic-top-actions{top:74px;left:7px;right:7px;max-width:none;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.classic-top-actions::-webkit-scrollbar{display:none}.classic-top-actions button,.classic-top-actions a{flex:0 0 auto}
  .classic-client .rpg-status{top:111px}
  .classic-client .target-card{top:140px}
  .classic-client .rpg-actionbar{left:146px;right:4px;bottom:112px;max-width:none;padding:3px}.classic-client .rpg-actionbar button{min-width:44px;width:44px;height:42px}.classic-client .rpg-actionbar button span{display:none}.classic-client .rpg-skillbar{gap:3px}
  .classic-client .mobile-dpad{left:4px;bottom:112px;grid-template-columns:repeat(3,42px);grid-template-rows:repeat(3,42px)}
  .classic-client .rpg-chat{left:4px;right:4px;transform:none;width:auto;bottom:4px}.classic-client .rpg-chat .chat-log{height:36px;font-size:9px}.classic-client .chat-tabs{overflow-x:auto}.classic-client .private-hint{display:none}.classic-client .game-chat-form input{font-size:16px}.classic-client .game-chat-form button{display:block}
  .classic-client .game-drawer.classic-window,.classic-window{left:5px!important;right:5px!important;top:150px!important;width:auto!important;max-height:48%}.classic-client .inventory-grid,.classic-client .tibia-bag{grid-template-columns:repeat(4,minmax(0,1fr))}.classic-client .equipment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .corpse-window{left:5px;right:5px;bottom:108px;width:auto;max-height:34%}
}

/* DAZIVO RPG v0.6.1 - bag fixa, loot modal e cooldown circular */
.bag-dock-toggle{position:absolute;z-index:12;right:18px;top:174px;min-width:72px;height:28px;border:1px solid #5a6870;border-radius:5px;background:linear-gradient(180deg,#26343d,#111a20);color:#f4cf72;font:800 10px/1 system-ui;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.32)}
.classic-client .bag-window{top:208px;right:14px;width:min(330px,calc(100% - 28px));max-height:52%;z-index:31}
.classic-client .bag-window .drawer-section:first-of-type{padding-top:4px}
.classic-client .bag-window .equipment-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.classic-client .rpg-actionbar button[data-hotkey]{position:relative;overflow:hidden;isolation:isolate}
.classic-client .rpg-actionbar button[data-hotkey]>b,.classic-client .rpg-actionbar button[data-hotkey]>span{position:relative;z-index:2}
.cooldown-wheel{position:absolute;z-index:3;left:50%;top:50%;width:38px;height:38px;transform:translate(-50%,-50%);border-radius:50%;background:conic-gradient(rgba(3,7,10,.82) 0 calc(var(--cd)*1%),rgba(3,7,10,.08) calc(var(--cd)*1%) 100%);border:2px solid rgba(238,202,112,.55);box-shadow:inset 0 0 0 2px rgba(0,0,0,.35);pointer-events:none;display:grid;place-items:center}
.cooldown-wheel:after{content:"";position:absolute;inset:6px;border-radius:50%;background:rgba(7,12,16,.78);border:1px solid rgba(255,255,255,.08)}
.cooldown-wheel em{position:relative;z-index:1;color:#fff2b4;font:900 11px/1 system-ui;font-style:normal;text-shadow:0 1px 2px #000}
.hotkey-lock{position:absolute;z-index:4;right:3px;top:3px;padding:2px 4px;border-radius:4px;background:#5f2f2f;color:#ffd7d7;font:800 8px/1 system-ui;font-style:normal}
.corpse-modal-wrap{display:grid;gap:10px;min-width:0}.corpse-modal-wrap .corpse-items{grid-template-columns:repeat(5,minmax(0,1fr));margin:0}.corpse-modal-wrap .corpse-slot{border:1px solid #5c5137;border-radius:6px;background:linear-gradient(145deg,#252219,#10100d)}.corpse-empty{grid-column:1/-1;padding:18px;text-align:center;border:1px dashed #4a4a40;border-radius:7px}.corpse-modal-wrap .btn[disabled]{opacity:.45;cursor:not-allowed}
@media(max-width:900px){.bag-dock-toggle{right:8px;top:178px}.classic-client .bag-window{right:6px;top:210px;width:min(315px,calc(100% - 12px));max-height:48%}.corpse-modal-wrap .corpse-items{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:620px){.bag-dock-toggle{right:6px;top:142px;height:26px;min-width:58px}.classic-client .bag-window{left:5px!important;right:5px!important;top:172px!important;width:auto!important;max-height:44%}.corpse-modal-wrap .corpse-items{grid-template-columns:repeat(4,minmax(0,1fr))}.cooldown-wheel{width:34px;height:34px}.cooldown-wheel em{font-size:10px}}
.bag-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0 0 6px}.bag-shortcuts button,.bag-shortcuts a{min-height:27px;border:1px solid #394d59;border-radius:4px;background:#111b22;color:#dbe7ee;font:800 9px/1 system-ui;display:flex;align-items:center;justify-content:center;cursor:pointer}.bag-shortcuts button:hover,.bag-shortcuts a:hover{border-color:#d6ac51;color:#ffd979}.classic-top-actions{display:none!important}
@media(max-width:620px){.bag-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}.bag-shortcuts button,.bag-shortcuts a{font-size:8px;padding:0 4px}}

/* DAZIVO RPG v0.7.0 - visual upgrade */
.classic-client .bag-window{background:linear-gradient(180deg,#0f1419,#0a0f14);border-color:#5e6972;box-shadow:0 14px 42px rgba(0,0,0,.52), inset 0 0 0 1px rgba(255,255,255,.03)}
.classic-client .bag-window .drawer-head,.classic-client .classic-window .drawer-head{background:linear-gradient(180deg,#1c242c,#10171d);border-bottom-color:#5b6670}
.paperdoll-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"helmet helmet helmet" "weapon body shield" "armor body bag" "boots boots boots";gap:6px;align-items:stretch}.paperdoll-layout .helmet{grid-area:helmet}.paperdoll-layout .weapon{grid-area:weapon}.paperdoll-layout .shield{grid-area:shield}.paperdoll-layout .armor{grid-area:armor}.paperdoll-layout .boots{grid-area:boots}.paperdoll-layout .paperdoll-body{grid-area:body}.paperdoll-layout .paperdoll-bag-slot{grid-area:bag}
.paperdoll-slot,.paperdoll-body,.paperdoll-bag-slot{position:relative;min-height:94px;padding:6px;border:1px solid #445661;border-radius:6px;background:linear-gradient(180deg,#172027,#0d1318);display:grid;gap:4px;align-content:start;text-align:center}.paperdoll-slot small,.paperdoll-bag-slot small{font-size:9px;color:#a9b8c2;text-transform:uppercase;letter-spacing:.06em}.paperdoll-slot b,.paperdoll-bag-slot b{font-size:9px;line-height:1.15;color:#e9f2f7}.paperdoll-slot .tiny-btn{margin-top:auto}.paperdoll-slot .empty-slot{display:grid;place-items:center;min-height:38px;border:1px dashed rgba(255,255,255,.13);border-radius:6px;color:#6f808c;font-size:9px;text-transform:uppercase}.paperdoll-slot.filled{box-shadow:inset 0 0 0 1px rgba(255,217,121,.12)}
.paperdoll-body{min-height:196px;place-items:center;align-content:center;background:radial-gradient(circle at 50% 30%,rgba(255,226,157,.08),transparent 42%),linear-gradient(180deg,#121920,#091016)}.paperdoll-head{width:38px;height:38px;border-radius:10px 10px 8px 8px;background:linear-gradient(180deg,#edc39f,#c8956f);position:relative;box-shadow:0 2px 0 rgba(0,0,0,.22)}.paperdoll-head:before{content:"";position:absolute;left:-2px;right:-2px;top:-6px;height:10px;border-radius:8px 8px 2px 2px;background:linear-gradient(180deg,#cca044,#8b6830)}.paperdoll-torso{width:56px;height:74px;margin-top:6px;border-radius:12px 12px 10px 10px;background:linear-gradient(180deg,#6a7281,#4b5664);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}.paperdoll-legs{width:52px;height:46px;margin-top:6px;background:linear-gradient(180deg,#2a3640,#1d262f);clip-path:polygon(18% 0,42% 0,46% 56%,34% 100%,14% 100%,22% 56%,58% 0,82% 0,86% 56%,74% 100%,54% 100%,62% 56%)}
.paperdoll-bag-slot .bag-emblem{height:54px;border-radius:10px;background:linear-gradient(180deg,#6f482a,#4f311d);border:1px solid #8d6340;display:grid;place-items:center;color:#f8ddb1;font-weight:900;letter-spacing:.14em;box-shadow:inset 0 8px 14px rgba(255,255,255,.08), inset 0 -8px 14px rgba(0,0,0,.18)}
.item-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}.item-card .item-name{margin:0;min-height:24px;display:flex;align-items:flex-start;justify-content:center;color:#e3ebf1}.item-card .item-qty{padding:1px 6px;border-radius:999px;background:rgba(9,14,19,.76);border:1px solid rgba(255,255,255,.06);font-size:9px;color:#ffd97e}.item-card .slot-actions{width:100%}
.item-glyph{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:8px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#0e161d,#151f28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 6px 12px rgba(0,0,0,.22)}.item-glyph.small{width:32px;height:32px;justify-self:center}.item-glyph i{position:relative;z-index:3;font-style:normal;font:900 8px/1 system-ui;color:#f8f8f8;text-shadow:0 1px 2px rgba(0,0,0,.45)}
.item-glyph:before,.item-glyph:after{content:"";position:absolute;display:block}
.item-glyph.weapon.sword:before{width:6px;height:22px;border-radius:3px;background:linear-gradient(180deg,#f6fafc,#9fb2c3);transform:rotate(35deg)}.item-glyph.weapon.sword:after{width:18px;height:4px;border-radius:4px;background:#b48945;transform:rotate(35deg) translate(4px,7px)}
.item-glyph.weapon.bow:before{width:18px;height:28px;border:3px solid #c59657;border-left-color:transparent;border-radius:50%;transform:rotate(-12deg)}.item-glyph.weapon.bow:after{width:2px;height:25px;background:#ece3be;transform:rotate(-12deg)}
.item-glyph.weapon.staff:before{width:4px;height:24px;border-radius:4px;background:#8d6ac4;transform:rotate(10deg)}.item-glyph.weapon.staff:after{width:12px;height:12px;border-radius:50%;background:#d0a5ff;top:5px;box-shadow:0 0 10px rgba(197,128,255,.55)}
.item-glyph.potion.heal:before{width:16px;height:20px;border-radius:6px 6px 8px 8px;background:linear-gradient(180deg,#ff8484,#c83434);bottom:6px}.item-glyph.potion.heal:after{width:8px;height:6px;border-radius:2px;background:#f3dfbd;top:5px}.item-glyph.potion.mana:before{width:16px;height:20px;border-radius:6px 6px 8px 8px;background:linear-gradient(180deg,#8ac4ff,#345bd0);bottom:6px}.item-glyph.potion.mana:after{width:8px;height:6px;border-radius:2px;background:#f3dfbd;top:5px}
.item-glyph.armor:before{width:24px;height:22px;background:linear-gradient(180deg,#6b8aa7,#42596b);clip-path:polygon(18% 0,36% 0,44% 13%,56% 13%,64% 0,82% 0,100% 26%,84% 100%,16% 100%,0 26%)}.item-glyph.shield:before{width:22px;height:26px;background:linear-gradient(180deg,#c14444,#741e1e);clip-path:polygon(50% 0,95% 16%,82% 72%,50% 100%,18% 72%,5% 16%)}.item-glyph.helmet:before{width:24px;height:18px;background:linear-gradient(180deg,#d1b87d,#886b33);border-radius:12px 12px 6px 6px;top:9px}.item-glyph.helmet:after{width:10px;height:12px;background:#7c612c;bottom:7px}
.item-glyph.boots:before{width:24px;height:16px;background:linear-gradient(180deg,#7f5a36,#46301c);bottom:9px;clip-path:polygon(0 48%,22% 48%,34% 0,54% 0,56% 48%,100% 48%,100% 100%,0 100%)}.item-glyph.material:before{width:22px;height:18px;border-radius:8px;background:linear-gradient(180deg,#cab18b,#7d6243)}.item-glyph.quest:before{width:16px;height:22px;border-radius:3px;background:linear-gradient(180deg,#f2e8bf,#bea96b)}.item-glyph.quest:after{width:10px;height:2px;background:#8f7741;top:12px}
.corpse-slot.item-card{min-height:92px}.corpse-slot.item-card b{font-size:9px;color:#f1f4f7}
.classic-client .rpg-top-left,.classic-client .rpg-status,.classic-client .target-card,.classic-client .rpg-chat,.classic-client .rpg-actionbar{box-shadow:0 14px 28px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.02)}
.classic-client .rpg-chat{background:linear-gradient(180deg,rgba(8,14,20,.96),rgba(4,10,16,.96))}
.classic-client .rpg-actionbar{background:linear-gradient(180deg,rgba(18,29,40,.95),rgba(8,14,20,.96))}
.classic-client .rpg-actionbar button{background:linear-gradient(180deg,#1d3040,#111b24);border-color:#446177}.classic-client .rpg-actionbar button.attack{background:linear-gradient(180deg,#5b3b28,#2a1c14)}
.classic-client .rpg-actionbar button b{color:#ffd974}.classic-client .rpg-actionbar button span{color:#d8e5ec}
.classic-client .rpg-chat .chat-log{background:linear-gradient(180deg,rgba(1,9,15,.9),rgba(2,13,22,.94))}
@media(max-width:620px){.paperdoll-layout{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"helmet helmet helmet" "weapon body shield" "armor body bag" "boots boots boots"}.paperdoll-body{min-height:166px}.paperdoll-slot,.paperdoll-bag-slot{min-height:84px}.item-glyph{width:34px;height:34px}.item-glyph.small{width:30px;height:30px}}

/* DAZIVO RPG v0.7.1 - right dock under minimap */
.bag-dock-toggle{display:none!important}
.classic-client .bag-window{position:absolute!important;top:190px!important;right:18px!important;left:auto!important;bottom:auto!important;width:172px!important;max-height:calc(100% - 205px)!important;overflow:auto;padding:7px 7px 10px;border-radius:6px;z-index:31;background:linear-gradient(180deg,#10161b,#080d11);border:1px solid #5b6670;box-shadow:0 12px 28px rgba(0,0,0,.48)}
.classic-client .bag-window .drawer-head{display:none!important}
.classic-client .bag-window .bag-shortcuts{display:none!important}
.classic-client .bag-window .drawer-section{padding:5px 0}
.classic-client .bag-window .drawer-section h3{font-size:10px;letter-spacing:.05em;text-transform:uppercase;color:#d8e2e8;margin:0 0 5px}
.classic-client .bag-window .panel-heading{margin-bottom:5px}.classic-client .bag-window .panel-heading h3{font-size:10px}.classic-client .bag-window #inventoryCount{font-size:8px;padding:2px 5px}
.classic-client .bag-window .equipment-list,.classic-client .bag-window #equipmentBox{margin:0}
.paperdoll-layout{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"helmet armor" "weapon shield" "boots bag";gap:5px}.paperdoll-layout .paperdoll-body{display:none!important}.paperdoll-slot,.paperdoll-bag-slot{min-height:74px;padding:4px;border-radius:4px}.paperdoll-slot small,.paperdoll-bag-slot small{font-size:8px}.paperdoll-slot b,.paperdoll-bag-slot b{font-size:8px}.paperdoll-slot .tiny-btn{font-size:8px;min-height:18px;padding:0 3px;border-radius:4px}.paperdoll-slot .empty-slot{min-height:28px;font-size:8px;border-radius:4px}
.paperdoll-bag-slot .bag-emblem{height:36px;border-radius:6px;font-size:11px;letter-spacing:.08em}
.item-glyph{width:28px;height:28px;border-radius:6px}.item-glyph.small{width:26px;height:26px}.item-glyph i{font-size:7px}.item-glyph.weapon.sword:before{width:5px;height:18px}.item-glyph.weapon.sword:after{width:14px;height:3px}.item-glyph.weapon.bow:before{width:14px;height:22px;border-width:2px}.item-glyph.weapon.bow:after{height:20px}.item-glyph.weapon.staff:before{width:3px;height:20px}.item-glyph.weapon.staff:after{width:10px;height:10px}.item-glyph.potion.heal:before,.item-glyph.potion.mana:before{width:12px;height:15px;bottom:5px}.item-glyph.potion.heal:after,.item-glyph.potion.mana:after{width:6px;height:4px;top:4px}.item-glyph.armor:before{width:18px;height:16px}.item-glyph.shield:before{width:18px;height:21px}.item-glyph.helmet:before{width:18px;height:14px;top:7px}.item-glyph.helmet:after{width:8px;height:9px;bottom:6px}.item-glyph.boots:before{width:18px;height:12px;bottom:7px}.item-glyph.material:before{width:17px;height:13px}.item-glyph.quest:before{width:12px;height:16px}.item-glyph.quest:after{width:8px;top:10px}
.classic-client .inventory-grid,.classic-client .tibia-bag{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.classic-client .inventory-slot{min-height:74px;padding:4px;border-radius:4px}.classic-client .item-name{font-size:8px;min-height:22px}.classic-client .item-qty{font-size:8px;padding:1px 4px}.classic-client .item-btn{left:3px;right:3px;bottom:3px;min-height:18px;font-size:8px;padding:0 2px}
.classic-client .corpse-window{right:196px;bottom:138px}
@media(max-width:900px){.classic-client .bag-window{top:174px!important;right:8px!important;width:160px!important;max-height:calc(100% - 188px)!important}.classic-client .corpse-window{right:174px}}
@media(max-width:620px){.classic-client .bag-window{top:148px!important;right:4px!important;left:auto!important;width:142px!important;max-height:calc(100% - 155px)!important;padding:5px}.paperdoll-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.classic-client .inventory-grid,.classic-client .tibia-bag{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.classic-client .inventory-slot{min-height:66px}.classic-client .corpse-window{left:4px;right:150px;bottom:108px;width:auto;max-width:none}}

/* DAZIVO RPG v0.7.2 - framed layout and compact HUD */
.rpg-viewport{background:linear-gradient(180deg,#4f514a,#3f413c)}
.rpg-viewport::before{content:"";position:absolute;left:78px;top:54px;right:242px;bottom:168px;border:3px solid #8b7857;box-shadow:inset 0 0 0 2px #d8c9a1,0 0 0 1px rgba(0,0,0,.55),0 18px 40px rgba(0,0,0,.28);background:linear-gradient(180deg,rgba(255,244,216,.03),rgba(0,0,0,0));pointer-events:none;z-index:1;border-radius:2px}
.rpg-viewport::after{content:"";position:absolute;left:68px;top:44px;right:232px;bottom:158px;border:1px solid rgba(36,26,18,.55);pointer-events:none;z-index:1}
.classic-client .rpg-top-left{top:14px;left:14px;max-width:390px}
.classic-client .rpg-status{top:18px;left:50%;transform:translateX(-50%)}
.classic-client .target-card{top:18px;left:50%;transform:translateX(-50%);min-width:200px}
.classic-client .rpg-actionbar{bottom:132px;left:50%;transform:translateX(-50%);padding:4px 5px;gap:4px;max-width:calc(100% - 280px);border-radius:8px}
.classic-client .rpg-actionbar button{height:46px;min-width:49px;max-width:72px;padding:3px 5px;border-radius:7px}
.classic-client .rpg-actionbar button b{font-size:12px;line-height:1}.classic-client .rpg-actionbar button span{font-size:7px;line-height:1.05}
.classic-client .rpg-skillbar{gap:4px}
.classic-client .rpg-chat{left:50%;transform:translateX(-50%);bottom:10px;width:min(980px,calc(100% - 270px));min-width:420px;border-radius:7px;overflow:hidden}
.classic-client .chat-head{height:20px;padding:0 6px;font-size:10px}.classic-client .chat-head button{height:16px;width:22px;font-size:11px}
.classic-client .chat-tabs{padding:2px 4px;gap:2px}.classic-client .chat-tabs button{height:20px;padding:0 7px;font-size:8px;border-radius:4px}
.classic-client .private-hint{font-size:8px}
.classic-client .rpg-chat .chat-log{height:40px;padding:5px 6px;font-size:10px}
.classic-client .game-chat-form{padding:3px;gap:3px}.classic-client .game-chat-form input{height:28px}.classic-client .game-chat-form button{height:28px;font-size:10px;padding:0 10px}
.classic-client .rpg-chat.collapsed{width:300px;left:50%;transform:translateX(-50%)}
.classic-client .rpg-chat.collapsed .chat-tabs{display:none}
.classic-client .bag-window{top:54px!important;right:18px!important;width:214px!important;max-height:calc(100% - 66px)!important;padding:6px 6px 8px!important;overflow-y:auto!important;overflow-x:hidden!important;border-radius:2px}
.classic-client .bag-window,.classic-client .bag-window *{min-width:0;box-sizing:border-box}
.classic-client .bag-window{scrollbar-width:thin;scrollbar-color:#7f7f7f #151b1f}
.classic-client .bag-window::-webkit-scrollbar{width:10px;height:10px}.classic-client .bag-window::-webkit-scrollbar-track{background:#13181d}.classic-client .bag-window::-webkit-scrollbar-thumb{background:#717171;border:2px solid #13181d}.classic-client .bag-window::-webkit-scrollbar-corner{background:#13181d}
.classic-client .bag-window .drawer-section{padding:4px 0}.classic-client .bag-window .drawer-section h3,.classic-client .bag-window .panel-heading h3{font-size:9px;letter-spacing:.06em;margin:0 0 4px}
.paperdoll-layout{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"helmet armor" "weapon shield" "boots bag";gap:4px}
.paperdoll-slot,.paperdoll-bag-slot{min-height:70px;padding:4px;border-radius:3px;overflow:hidden}
.paperdoll-slot small,.paperdoll-bag-slot small{font-size:8px}.paperdoll-slot b,.paperdoll-bag-slot b{font-size:8px;line-height:1.05;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.paperdoll-slot .tiny-btn{font-size:7px;min-height:17px;padding:0 2px}.paperdoll-slot .empty-slot{min-height:26px;font-size:7px}
.paperdoll-bag-slot .bag-emblem{height:34px;border-radius:4px;font-size:10px}
.classic-client .inventory-grid,.classic-client .tibia-bag{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%}
.classic-client .inventory-slot{min-height:70px;padding:4px;border-radius:3px;overflow:hidden}
.item-card .item-name{font-size:8px;line-height:1.05;min-height:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}
.classic-client .item-qty{font-size:7px}.classic-client .item-btn{left:2px;right:2px;bottom:2px;min-height:17px;font-size:7px;padding:0 2px}
.item-glyph{width:25px;height:25px;border-radius:5px}.item-glyph.small{width:22px;height:22px}.item-glyph i{font-size:6px}
.classic-client .corpse-window{right:240px;bottom:134px}
@media(max-width:1100px){.rpg-viewport::before{left:18px;right:234px;bottom:160px}.rpg-viewport::after{left:8px;right:224px;bottom:150px}.classic-client .rpg-chat{width:calc(100% - 252px)}.classic-client .rpg-actionbar{max-width:calc(100% - 252px)}}
@media(max-width:900px){.rpg-viewport::before{left:10px;right:184px;top:134px;bottom:156px}.rpg-viewport::after{left:0;right:174px;top:124px;bottom:146px}.classic-client .bag-window{top:18px!important;right:8px!important;width:166px!important;max-height:calc(100% - 28px)!important}.classic-client .rpg-actionbar{max-width:calc(100% - 196px);bottom:126px}.classic-client .rpg-actionbar button{min-width:44px;max-width:60px;height:42px}.classic-client .rpg-chat{width:calc(100% - 190px)}.classic-client .corpse-window{right:180px}}
@media(max-width:620px){.rpg-viewport::before,.rpg-viewport::after{display:none}.classic-client .rpg-top-left{max-width:calc(100% - 154px)}.classic-client .bag-window{top:12px!important;right:4px!important;width:138px!important;max-height:calc(100% - 20px)!important}.classic-client .rpg-actionbar{left:4px;right:146px;transform:none;max-width:none;bottom:98px;padding:3px;gap:3px}.classic-client .rpg-actionbar button{min-width:38px;max-width:52px;height:38px}.classic-client .rpg-actionbar button b{font-size:11px}.classic-client .rpg-actionbar button span{display:none}.classic-client .rpg-chat{left:4px;right:146px;transform:none;width:auto;min-width:0;bottom:4px}.classic-client .rpg-chat .chat-log{height:34px}.classic-client .game-chat-form input{font-size:14px}.classic-client .corpse-window{left:4px;right:146px;bottom:102px;width:auto;max-width:none}}

/* DAZIVO RPG v0.7.3 - classic grey client frame, compact sidebar and resizable chat */
.classic-client{--sidebar-w:220px;--chat-h:116px;background:#4b4d4a!important;color:#eef2f4}
.classic-client .rpg-viewport{background:linear-gradient(180deg,#565956,#454744 42%,#3f413f)!important}
.classic-client .rpg-viewport::before,.classic-client .rpg-viewport::after{display:none!important}
.classic-client .rpg-viewport canvas#gameCanvas{position:absolute!important;left:56px!important;top:54px!important;right:calc(var(--sidebar-w) + 24px)!important;bottom:calc(var(--chat-h) + 66px)!important;width:auto!important;height:auto!important;border:3px solid #252827!important;outline:1px solid #888b88!important;box-shadow:0 0 0 2px #6a6d69,0 12px 24px rgba(0,0,0,.34)!important;background:#2f6334!important}
.classic-client .rpg-top-left{left:10px!important;top:8px!important;width:350px!important;max-width:350px!important;padding:7px 9px!important;border-radius:5px!important;background:linear-gradient(180deg,#22292e,#151c21)!important;border:1px solid #72777a!important;box-shadow:0 5px 12px rgba(0,0,0,.28)!important}
.classic-client .rpg-status{top:9px!important;left:390px!important;transform:none!important;min-height:30px!important;border-radius:4px!important;background:#1a2024!important;border:1px solid #64696c!important}
.classic-client .target-card{top:8px!important;left:auto!important;right:calc(var(--sidebar-w) + 34px)!important;transform:none!important;min-width:190px!important;max-width:280px!important;border-radius:4px!important}
.classic-sidebar{position:absolute;z-index:20;top:8px;right:8px;bottom:8px;width:var(--sidebar-w);display:flex;flex-direction:column;gap:5px;padding:5px;background:linear-gradient(180deg,#4c4f4e,#383b3a);border:1px solid #222625;box-shadow:inset 0 0 0 1px #777a78,0 0 0 1px rgba(0,0,0,.55);overflow:hidden}
.sidebar-box{flex:0 0 auto;padding:5px;background:linear-gradient(180deg,#1b2023,#111619);border:1px solid #222;border-radius:2px;box-shadow:inset 0 0 0 1px #62686b}
.sidebar-title{height:19px;display:flex;align-items:center;justify-content:space-between;gap:6px;margin:-1px 0 4px;padding:0 3px;color:#d8dcde;font-size:9px;text-transform:uppercase}.sidebar-title span{font-size:8px;color:#9ea8ae;text-transform:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.minimap-box canvas{display:block;width:100%;height:132px;background:#111;border:1px solid #6e7375;image-rendering:pixelated}
.character-progress-box{padding-bottom:6px}.side-stat-line{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:8px;color:#b8c0c4;margin:2px 1px}.side-stat-line b{font-size:9px;color:#f1f3f4}.side-exp-bar{height:7px;background:#0c1012;border:1px solid #4e565a;margin:4px 0;overflow:hidden}.side-exp-bar span{display:block;height:100%;background:linear-gradient(180deg,#f2cf69,#b18431)}
.side-skill-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px;margin-top:5px}.side-skill-grid>div{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:3px 5px;background:#101619;border:1px solid #3f484c;color:#aeb7bc;font-size:8px}.side-skill-grid b{font-size:10px;color:#e9f0f3}
.classic-client .bag-window{position:static!important;inset:auto!important;right:auto!important;top:auto!important;left:auto!important;bottom:auto!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;padding:0!important;overflow:hidden!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.classic-client .bag-window .drawer-head,.classic-client .bag-window .bag-shortcuts{display:none!important}
.classic-client .bag-window .drawer-section{padding:5px!important;margin:0 0 5px!important;background:linear-gradient(180deg,#171c20,#101518)!important;border:1px solid #252a2d!important;box-shadow:inset 0 0 0 1px #555b5e!important;min-width:0!important}
.classic-client .bag-window .drawer-section:first-of-type{flex:0 0 auto!important}.classic-client .bag-window .drawer-section:last-of-type{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;margin-bottom:0!important;scrollbar-width:thin;scrollbar-color:#777 #171b1d}
.classic-client .bag-window .drawer-section:last-of-type::-webkit-scrollbar{width:8px}.classic-client .bag-window .drawer-section:last-of-type::-webkit-scrollbar-track{background:#171b1d}.classic-client .bag-window .drawer-section:last-of-type::-webkit-scrollbar-thumb{background:#757575;border:1px solid #2b2b2b}
.classic-client .bag-window h3,.classic-client .bag-window .panel-heading h3{font-size:9px!important;letter-spacing:.05em!important;text-transform:uppercase!important;color:#d5dadd!important;margin:0 0 4px!important}.classic-client .bag-window #inventoryCount{font-size:7px!important;padding:1px 5px!important}
.compact-paperdoll{display:grid;grid-template-columns:repeat(3,1fr);grid-template-areas:"amulet helmet ring" "weapon armor shield" "legs boots bag";gap:3px}.compact-equip-slot{height:49px;min-width:0;position:relative;display:grid;place-items:center;align-content:center;gap:1px;padding:2px;background:linear-gradient(180deg,#11171a,#0b1012);border:1px solid #444c50;overflow:hidden}.compact-equip-slot.amulet{grid-area:amulet}.compact-equip-slot.helmet{grid-area:helmet}.compact-equip-slot.ring{grid-area:ring}.compact-equip-slot.weapon{grid-area:weapon}.compact-equip-slot.armor{grid-area:armor}.compact-equip-slot.shield{grid-area:shield}.compact-equip-slot.legs{grid-area:legs}.compact-equip-slot.boots{grid-area:boots}.compact-equip-slot.bag-fixed{grid-area:bag}.compact-equip-slot small{position:absolute;left:2px;top:2px;font-size:6px;color:#77848b;text-transform:uppercase;line-height:1}.compact-equip-slot.filled{border-color:#6b765a;box-shadow:inset 0 0 0 1px rgba(222,203,117,.10)}.equip-name{display:block;width:100%;font-size:6px!important;line-height:1!important;color:#bdc6ca!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 2px}.empty-glyph{width:22px;height:22px;border:1px dashed #394247;background:#0d1214}.mini-bag-glyph{width:28px;height:24px;display:grid;place-items:center;border:1px solid #8c6642;background:linear-gradient(180deg,#755033,#4e321f);color:#f2d5ac;font-size:7px;font-weight:900}
.classic-client .inventory-grid,.classic-client .tibia-bag{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;width:100%!important;overflow:visible!important}.compact-item-slot{position:relative!important;width:100%!important;aspect-ratio:1/1!important;min-height:0!important;height:auto!important;padding:2px!important;display:grid!important;place-items:center!important;background:linear-gradient(180deg,#12181b,#0b1012)!important;border:1px solid #454d51!important;border-radius:1px!important;overflow:hidden!important;cursor:pointer!important}.compact-item-slot:hover{border-color:#bba15d!important;background:#182025!important}.compact-item-slot .item-glyph{width:28px!important;height:28px!important;transform:scale(.92)}.compact-item-slot .item-qty{position:absolute!important;right:2px!important;bottom:1px!important;top:auto!important;background:rgba(0,0,0,.7)!important;border:0!important;color:#f5d87a!important;font-size:7px!important;line-height:1!important;padding:1px 2px!important;border-radius:1px!important}.compact-empty{grid-column:1/-1;padding:10px!important;text-align:center;font-size:8px!important}
.classic-client .rpg-actionbar{left:56px!important;right:calc(var(--sidebar-w) + 24px)!important;bottom:calc(var(--chat-h) + 14px)!important;transform:none!important;margin:auto!important;width:max-content!important;max-width:calc(100% - var(--sidebar-w) - 90px)!important;height:46px!important;padding:3px 4px!important;gap:3px!important;border-radius:3px!important;background:linear-gradient(180deg,#4e5150,#323534)!important;border:1px solid #202322!important;box-shadow:inset 0 0 0 1px #777b79,0 4px 12px rgba(0,0,0,.28)!important;overflow:hidden!important}.classic-client .rpg-actionbar button{height:38px!important;min-width:42px!important;max-width:58px!important;padding:2px 3px!important;border-radius:2px!important;background:linear-gradient(180deg,#20282d,#141a1e)!important;border:1px solid #596267!important}.classic-client .rpg-actionbar button.attack{background:linear-gradient(180deg,#5b3726,#322016)!important}.classic-client .rpg-actionbar button b{font-size:10px!important}.classic-client .rpg-actionbar button span{font-size:6px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.classic-client .rpg-skillbar{gap:3px!important}.cooldown-wheel{width:30px!important;height:30px!important}.cooldown-wheel em{font-size:9px!important}.hotkey-lock{font-size:6px!important;padding:1px 2px!important}
.classic-client .rpg-chat{position:absolute!important;left:56px!important;right:calc(var(--sidebar-w) + 24px)!important;bottom:8px!important;transform:none!important;width:auto!important;min-width:0!important;height:var(--chat-h)!important;border-radius:2px!important;display:flex!important;flex-direction:column!important;background:linear-gradient(180deg,#393c3b,#2e3130)!important;border:1px solid #202322!important;box-shadow:inset 0 0 0 1px #737776,0 6px 14px rgba(0,0,0,.28)!important;overflow:hidden!important}.chat-resize-handle{height:6px;flex:0 0 6px;cursor:ns-resize;background:linear-gradient(180deg,#7e8280,#4b4f4d);border-bottom:1px solid #1d201f;touch-action:none}.chat-resize-handle:hover{background:linear-gradient(180deg,#a2a6a3,#5b605d)}.classic-client .chat-head{height:18px!important;flex:0 0 18px!important;padding:0 5px!important;background:#1d2326!important;font-size:8px!important}.classic-client .chat-head button{height:14px!important;width:20px!important;border-radius:1px!important}.classic-client .chat-tabs{height:22px!important;flex:0 0 22px!important;padding:2px 4px!important;gap:2px!important;background:#272b2b!important}.classic-client .chat-tabs button{height:18px!important;padding:0 6px!important;font-size:7px!important;border-radius:1px!important;background:#171e22!important;border-color:#555e63!important}.classic-client .chat-tabs button.active{background:#b38b36!important;color:#121313!important}.classic-client .private-hint{font-size:7px!important}.classic-client .rpg-chat .chat-log{height:auto!important;flex:1 1 auto!important;min-height:18px!important;padding:4px 6px!important;font-size:9px!important;line-height:1.22!important;border:0!important;border-radius:0!important;background:#15191a!important}.classic-client .game-chat-form{height:31px!important;flex:0 0 31px!important;padding:3px!important;background:#202526!important}.classic-client .game-chat-form input{height:24px!important;border-radius:1px!important;font-size:10px!important;background:#111617!important}.classic-client .game-chat-form button{height:24px!important;border-radius:1px!important;padding:0 9px!important;font-size:8px!important}.classic-client .rpg-chat.collapsed{height:24px!important}.classic-client .rpg-chat.collapsed .chat-tabs,.classic-client .rpg-chat.collapsed .chat-log,.classic-client .rpg-chat.collapsed .game-chat-form,.classic-client .rpg-chat.collapsed .chat-resize-handle{display:none!important}.classic-client .rpg-chat.collapsed .chat-head{height:24px!important;flex-basis:24px!important}
.classic-client .mobile-dpad{bottom:calc(var(--chat-h) + 66px)!important}
.classic-client .corpse-window{right:calc(var(--sidebar-w) + 30px)!important;bottom:calc(var(--chat-h) + 66px)!important}
@media(max-width:980px){.classic-client{--sidebar-w:190px}.classic-client .rpg-viewport canvas#gameCanvas{left:8px!important;right:calc(var(--sidebar-w) + 16px)!important;top:78px!important}.classic-client .rpg-top-left{left:8px!important;top:8px!important;width:330px!important}.classic-client .rpg-status{left:350px!important}.classic-sidebar{right:6px;top:6px;bottom:6px}.minimap-box canvas{height:112px}.classic-client .rpg-actionbar{left:8px!important;right:calc(var(--sidebar-w) + 16px)!important;max-width:calc(100% - var(--sidebar-w) - 28px)!important}.classic-client .rpg-chat{left:8px!important;right:calc(var(--sidebar-w) + 16px)!important}.classic-client .inventory-grid,.classic-client .tibia-bag{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:620px){.classic-client{--sidebar-w:136px;--chat-h:92px}.classic-client .rpg-top-left{width:calc(100% - var(--sidebar-w) - 18px)!important;max-width:none!important;padding:5px!important}.classic-client .avatar-pixel{display:none!important}.classic-client .rpg-status{display:none!important}.classic-client .rpg-viewport canvas#gameCanvas{left:4px!important;right:calc(var(--sidebar-w) + 8px)!important;top:86px!important;bottom:calc(var(--chat-h) + 56px)!important;border-width:2px!important}.classic-sidebar{width:var(--sidebar-w);right:3px;top:3px;bottom:3px;padding:3px;gap:3px}.sidebar-box{padding:3px}.minimap-box canvas{height:82px}.character-progress-box{padding-bottom:3px}.side-skill-grid{grid-template-columns:1fr;gap:2px}.side-skill-grid>div{padding:2px 3px}.classic-client .bag-window .drawer-section{padding:3px!important}.compact-paperdoll{gap:2px}.compact-equip-slot{height:38px}.compact-equip-slot small,.equip-name{display:none!important}.compact-item-slot .item-glyph{width:22px!important;height:22px!important}.classic-client .inventory-grid,.classic-client .tibia-bag{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:2px!important}.classic-client .rpg-actionbar{left:4px!important;right:calc(var(--sidebar-w) + 8px)!important;bottom:calc(var(--chat-h) + 8px)!important;height:42px!important;padding:2px!important;overflow-x:auto!important;scrollbar-width:none!important}.classic-client .rpg-actionbar::-webkit-scrollbar{display:none!important}.classic-client .rpg-actionbar button{height:34px!important;min-width:36px!important;width:36px!important}.classic-client .rpg-actionbar button span{display:none!important}.classic-client .rpg-chat{left:4px!important;right:calc(var(--sidebar-w) + 8px)!important;bottom:3px!important}.classic-client .chat-tabs{overflow-x:auto!important}.classic-client .game-chat-form input{font-size:14px!important}.classic-client .mobile-dpad{display:none!important}.classic-client .corpse-window{left:4px!important;right:calc(var(--sidebar-w) + 8px)!important;bottom:calc(var(--chat-h) + 56px)!important;width:auto!important;max-width:none!important}}
.classic-sidebar .sidebar-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;flex:0 0 auto}.classic-sidebar .sidebar-actions button,.classic-sidebar .sidebar-actions a{height:24px;min-width:0;padding:0 2px;display:grid;place-items:center;border:1px solid #50585c;background:linear-gradient(180deg,#262d30,#151b1e);color:#d9dddf;font-size:7px;font-weight:900;text-decoration:none;cursor:pointer}.classic-sidebar .sidebar-actions button:hover,.classic-sidebar .sidebar-actions a:hover{border-color:#b69a53;color:#f2d676}

/* DAZIVO RPG v0.7.4 - top stats bar + full canvas sizing */
.classic-client .rpg-viewport canvas#gameCanvas{
  left:56px!important;
  top:54px!important;
  right:auto!important;
  bottom:auto!important;
  width:calc(100% - var(--sidebar-w) - 80px)!important;
  height:calc(100% - var(--chat-h) - 120px)!important;
  min-width:0!important;
  min-height:0!important;
}
.classic-client .rpg-top-left{
  left:56px!important;
  top:8px!important;
  right:calc(var(--sidebar-w) + 188px)!important;
  width:auto!important;
  max-width:none!important;
  height:38px!important;
  padding:4px 6px!important;
  border-radius:3px!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
}
.classic-client .rpg-top-left .avatar-pixel{width:28px!important;height:28px!important;flex:0 0 28px!important;border-radius:4px!important;font-size:15px!important;border-width:1px!important}
.classic-client .rpg-top-left .player-main{display:grid!important;grid-template-columns:minmax(170px,1.3fr) minmax(120px,1fr) minmax(120px,1fr) minmax(90px,.7fr)!important;grid-template-areas:"title hp mana meta"!important;align-items:center!important;gap:6px!important;min-width:0!important;width:100%!important}
.classic-client .rpg-top-left .player-title{grid-area:title!important;margin:0!important;min-width:0!important;display:flex!important;align-items:center!important;gap:5px!important;justify-content:flex-start!important}
.classic-client .rpg-top-left .player-title>b{font-size:9px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.classic-client .rpg-top-left .skull-badge{font-size:6px!important;padding:2px 4px!important;flex:0 0 auto!important}
.classic-client .rpg-top-left .compact-bar{height:11px!important;margin:0!important;border-radius:2px!important;min-width:0!important}
.classic-client .rpg-top-left .compact-bar.hp{grid-area:hp!important}.classic-client .rpg-top-left .compact-bar.mana{grid-area:mana!important}
.classic-client .rpg-top-left .compact-bar>b{font-size:7px!important}
.classic-client .rpg-top-left .player-meta{grid-area:meta!important;display:grid!important;grid-template-columns:1fr!important;gap:1px!important;margin:0!important;font-size:7px!important;text-align:right!important;white-space:nowrap!important}
.classic-client .rpg-status{
  top:10px!important;
  left:auto!important;
  right:calc(var(--sidebar-w) + 104px)!important;
  transform:none!important;
  min-height:32px!important;
  height:32px!important;
  padding:0 9px!important;
  font-size:8px!important;
  border-radius:3px!important;
}
.game-view-controls{position:absolute;z-index:22;top:10px;right:calc(var(--sidebar-w) + 24px);height:32px;display:flex;align-items:stretch;background:linear-gradient(180deg,#252b2e,#171c1f);border:1px solid #62686b;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}
.game-view-controls button{width:26px;min-width:26px;border:0;border-right:1px solid #465055;background:transparent;color:#e7ecef;font:800 10px/1 system-ui;cursor:pointer;padding:0}.game-view-controls button:last-child{border-right:0}.game-view-controls button:hover{background:#323b40;color:#f3ce68}.game-view-controls #gameZoomReset{width:42px;min-width:42px}.game-view-controls #gameZoomLabel{font-size:7px;color:#d5dde1}
.classic-client .target-card{top:58px!important;right:calc(var(--sidebar-w) + 32px)!important}
@media(max-width:1100px){
  .classic-client .rpg-top-left{left:18px!important;right:calc(var(--sidebar-w) + 176px)!important}
  .classic-client .rpg-viewport canvas#gameCanvas{left:18px!important;width:calc(100% - var(--sidebar-w) - 46px)!important}
  .classic-client .rpg-chat{left:18px!important}
  .classic-client .rpg-actionbar{left:18px!important}
}
@media(max-width:900px){
  .classic-client .rpg-top-left{left:8px!important;right:calc(var(--sidebar-w) + 8px)!important;top:8px!important;height:64px!important;display:block!important;padding:5px!important}
  .classic-client .rpg-top-left .avatar-pixel{display:none!important}
  .classic-client .rpg-top-left .player-main{grid-template-columns:1.3fr 1fr 1fr!important;grid-template-areas:"title title meta" "hp mana meta"!important;gap:4px 6px!important}
  .classic-client .rpg-status{top:76px!important;left:8px!important;right:auto!important;height:26px!important;min-height:26px!important}
  .game-view-controls{top:76px;right:calc(var(--sidebar-w) + 8px);height:26px}.game-view-controls button{width:22px;min-width:22px}.game-view-controls #gameZoomReset{width:36px;min-width:36px}
  .classic-client .rpg-viewport canvas#gameCanvas{left:8px!important;top:108px!important;width:calc(100% - var(--sidebar-w) - 24px)!important;height:calc(100% - var(--chat-h) - 174px)!important}
  .classic-client .target-card{top:108px!important}
}
@media(max-width:620px){
  .classic-client .rpg-top-left{right:146px!important;height:58px!important}
  .classic-client .rpg-top-left .player-main{grid-template-columns:1fr 1fr!important;grid-template-areas:"title meta" "hp mana"!important}
  .classic-client .rpg-top-left .player-title>b{font-size:8px!important}
  .classic-client .rpg-status{top:70px!important}
  .game-view-controls{top:70px;right:146px}
  .classic-client .rpg-viewport canvas#gameCanvas{left:4px!important;top:102px!important;width:calc(100% - 150px)!important;height:calc(100% - var(--chat-h) - 160px)!important}
}

/* DAZIVO RPG v0.7.5 - proportional playfield + F1-F12 */
.classic-client .rpg-viewport canvas#gameCanvas{aspect-ratio:16/9!important;object-fit:contain!important;transform:none!important;transform-origin:center center!important}
.classic-client .rpg-actionbar{overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;scrollbar-color:#777 #2e3231!important;white-space:nowrap!important}
.classic-client .rpg-actionbar::-webkit-scrollbar{height:6px!important}.classic-client .rpg-actionbar::-webkit-scrollbar-track{background:#2a2e2d!important}.classic-client .rpg-actionbar::-webkit-scrollbar-thumb{background:#737876!important;border:1px solid #2a2e2d!important}
.classic-client .rpg-skillbar{display:flex!important;flex-wrap:nowrap!important;width:max-content!important;gap:2px!important}
.classic-client .rpg-actionbar button{height:36px!important;min-width:36px!important;width:36px!important;max-width:36px!important;padding:2px!important;flex:0 0 36px!important}
.classic-client .rpg-actionbar button#attackMonster,.classic-client .rpg-actionbar button#autoAttack,.classic-client .rpg-actionbar button#hotkeyConfig{min-width:40px!important;width:40px!important;max-width:40px!important;flex-basis:40px!important}
.classic-client .rpg-actionbar button b{font-size:9px!important}.classic-client .rpg-actionbar button span{font-size:5.5px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.classic-client .rpg-actionbar button[data-hotkey="F10"] b,.classic-client .rpg-actionbar button[data-hotkey="F11"] b,.classic-client .rpg-actionbar button[data-hotkey="F12"] b{font-size:8px!important}
.hotkey-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:10px!important}
.hotkey-edit-row{grid-template-columns:42px minmax(0,1fr)!important}.hotkey-edit-row b{font-size:11px!important}
@media(max-width:900px){.classic-client .rpg-actionbar button{height:34px!important;min-width:34px!important;width:34px!important;max-width:34px!important;flex-basis:34px!important}.classic-client .rpg-actionbar button#attackMonster,.classic-client .rpg-actionbar button#autoAttack,.classic-client .rpg-actionbar button#hotkeyConfig{min-width:38px!important;width:38px!important;max-width:38px!important;flex-basis:38px!important}}
@media(max-width:620px){.hotkey-edit-grid{grid-template-columns:1fr!important}.classic-client .rpg-actionbar button{height:32px!important;min-width:32px!important;width:32px!important;max-width:32px!important;flex-basis:32px!important}.classic-client .rpg-actionbar button#attackMonster,.classic-client .rpg-actionbar button#autoAttack,.classic-client .rpg-actionbar button#hotkeyConfig{min-width:36px!important;width:36px!important;max-width:36px!important;flex-basis:36px!important}}

/* DAZIVO RPG v0.7.6 - corpse dock and resizable bags */
.classic-client .bag-window .drawer-head,.classic-client .corpse-window .drawer-head{cursor:ns-resize}
.classic-client .bag-window{display:flex!important;flex-direction:column!important}
.classic-client .bag-window .drawer-section:last-child{display:flex!important;flex-direction:column!important;min-height:0!important;flex:1 1 auto!important}
.classic-client #inventoryBox{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;width:100%!important;height:92px!important;min-height:66px!important;max-height:34vh!important;overflow-y:auto!important;overflow-x:hidden!important;resize:vertical!important;align-content:start!important;padding-right:2px!important;border-top:1px solid rgba(255,255,255,.04)!important;border-bottom:1px solid rgba(255,255,255,.04)!important}
.classic-client #inventoryBox::-webkit-resizer,.classic-client #corpseItems::-webkit-resizer{background:linear-gradient(135deg,transparent 0 40%,#b48d39 40% 52%,transparent 52% 64%,#6e7270 64% 76%,transparent 76% 100%)}
.classic-client #inventoryBox{scrollbar-width:thin;scrollbar-color:#8f8e7c #11161a}
.classic-client #inventoryBox::-webkit-scrollbar,.classic-client #corpseItems::-webkit-scrollbar{width:8px}.classic-client #inventoryBox::-webkit-scrollbar-thumb,.classic-client #corpseItems::-webkit-scrollbar-thumb{background:#76755f}.classic-client #inventoryBox::-webkit-scrollbar-track,.classic-client #corpseItems::-webkit-scrollbar-track{background:#11161a}
.classic-client .corpse-window{position:absolute!important;right:8px!important;bottom:8px!important;width:var(--sidebar-w)!important;max-width:var(--sidebar-w)!important;min-width:var(--sidebar-w)!important;max-height:220px!important;height:auto!important;padding:6px!important;border-radius:2px!important;background:linear-gradient(180deg,#11191d,#091014)!important;border:1px solid #505b60!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 8px 18px rgba(0,0,0,.24)!important;z-index:42!important}
.classic-client .corpse-window .drawer-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 0 5px!important;border-bottom:1px solid #2a3338!important;margin-bottom:4px!important}.classic-client .corpse-window .drawer-head h2{font-size:11px!important}.classic-client .corpse-window .drawer-head small{font-size:8px!important}.classic-client .corpse-window .drawer-section{padding:0!important;display:flex!important;flex-direction:column!important;min-height:0!important}
.classic-client #corpseTimer{font-size:8px!important;color:#cbb67e!important;margin-bottom:4px!important}
.classic-client #corpseItems{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;height:92px!important;min-height:66px!important;max-height:24vh!important;overflow-y:auto!important;overflow-x:hidden!important;resize:vertical!important;align-content:start!important;padding-right:2px!important;border-top:1px solid rgba(255,255,255,.04)!important;border-bottom:1px solid rgba(255,255,255,.04)!important}
.classic-client .corpse-window #lootAllCorpse{margin-top:5px!important;height:22px!important;min-height:22px!important;border-radius:1px!important;font-size:8px!important;padding:0 8px!important}
.classic-client .corpse-window .compact-item-slot{aspect-ratio:1/1!important;min-height:0!important;height:auto!important}.classic-client .corpse-window .corpse-empty-inline{grid-column:1/-1!important;padding:10px 6px!important;text-align:center!important;font-size:8px!important}
@media(max-width:620px){.classic-client #inventoryBox{grid-template-columns:repeat(3,minmax(0,1fr))!important;height:82px!important}.classic-client .corpse-window{left:auto!important;right:4px!important;bottom:4px!important;width:var(--sidebar-w)!important;min-width:var(--sidebar-w)!important;max-width:var(--sidebar-w)!important;max-height:196px!important}.classic-client #corpseItems{grid-template-columns:repeat(3,minmax(0,1fr))!important;height:74px!important}}

/* DAZIVO RPG v0.7.7 - battle list, collapsible containers and corpse backpacks */
.classic-sidebar{overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;scrollbar-color:#6f7270 #2d302f}
.classic-sidebar::-webkit-scrollbar{width:8px}.classic-sidebar::-webkit-scrollbar-track{background:#2d302f}.classic-sidebar::-webkit-scrollbar-thumb{background:#6f7270;border:1px solid #353837}
.battle-box{padding:4px!important}.battle-list{display:grid;gap:2px;max-height:88px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#686d6f #111619}.battle-entry{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;width:100%;padding:4px 5px;border:1px solid #40484c;background:linear-gradient(180deg,#161d20,#0d1215);color:#dce3e6;text-align:left;cursor:pointer}.battle-entry:hover,.battle-entry.active{border-color:#b4964d;background:linear-gradient(180deg,#24251d,#171711)}.battle-name{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.battle-name small{font-size:7px;color:#aeb8bc}.battle-hp{height:4px;background:#0a0e10;border:1px solid #2f373a;overflow:hidden}.battle-hp i{display:block;height:100%;background:linear-gradient(180deg,#65d577,#2e9e47)}.battle-empty{font-size:8px;padding:6px;text-align:center}
.classic-client .bag-window{flex:0 0 auto!important;min-height:0!important;overflow:visible!important}.classic-client .bag-window .drawer-section{margin-bottom:4px!important}.classic-client .bag-window .drawer-section:last-of-type{flex:0 0 auto!important;overflow:visible!important;min-height:0!important}
.container-heading{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:18px}.container-heading h3{margin:0!important}.container-heading-actions{display:flex;align-items:center;gap:3px}.container-toggle{width:20px;height:18px;min-width:20px;padding:0;border:1px solid #4e585d;background:linear-gradient(180deg,#242c30,#141a1d);color:#e5e8e9;font:800 8px/1 system-ui;cursor:pointer}.container-toggle:hover{border-color:#b99a4e;color:#f2d471}.collapsible-section.collapsed .container-body{display:none!important}.collapsible-section.collapsed{padding-bottom:4px!important}.collapsible-section.collapsed .container-heading{margin-bottom:0!important}
.classic-client #inventoryBox{height:48px!important;min-height:48px!important;max-height:240px!important;resize:vertical!important;overflow-y:auto!important;overflow-x:hidden!important;align-content:start!important;padding-right:1px!important}.classic-client #inventoryBox.compact-one-row{height:48px!important}
.corpse-dock{display:grid;gap:4px;flex:0 0 auto}.corpse-dock[hidden]{display:none!important}.corpse-container{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;max-height:none!important;padding:4px!important;margin:0!important;border-radius:2px!important;background:linear-gradient(180deg,#181d20,#0e1417)!important;border:1px solid #252b2e!important;box-shadow:inset 0 0 0 1px #555b5e!important}.corpse-container-head{display:grid;grid-template-columns:minmax(0,1fr) auto 20px 20px;align-items:center;gap:3px;min-height:20px;padding:0 1px 3px;border-bottom:1px solid #30383b}.corpse-container-head b{font-size:8px;color:#e4e7e8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}.corpse-container-head span{font-size:7px;color:#c4b06f}.corpse-container-head button{width:20px;height:18px;padding:0;border:1px solid #4b555a;background:#172024;color:#e4e7e8;font:800 9px/1 system-ui;cursor:pointer}.corpse-container-body{padding-top:4px}.corpse-container.collapsed .corpse-container-body{display:none!important}.corpse-container .corpse-items{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;height:48px!important;min-height:48px!important;max-height:180px!important;resize:vertical!important;overflow-y:auto!important;overflow-x:hidden!important;align-content:start!important;padding-right:1px!important}.corpse-container .corpse-loot-all{width:100%;height:20px;min-height:20px;margin-top:4px;border:1px solid #9b7b31;background:linear-gradient(180deg,#e3b84b,#a77b22);color:#17140d;font:900 8px/1 system-ui;cursor:pointer}.corpse-container .corpse-loot-all:disabled{opacity:.42;cursor:not-allowed}.corpse-container .compact-item-slot{aspect-ratio:1/1!important;min-height:0!important;height:auto!important}.corpse-container .corpse-empty-inline{grid-column:1/-1!important;padding:9px 4px!important;font-size:8px!important;text-align:center!important}
@media(max-width:620px){.battle-list{max-height:72px}.battle-entry{padding:3px}.battle-name{font-size:7px}.corpse-container .corpse-items,.classic-client #inventoryBox{grid-template-columns:repeat(3,minmax(0,1fr))!important;height:46px!important;min-height:46px!important}}

/* v0.7.7 resize handles */
.classic-client #inventoryBox{height:var(--bag-grid-h,48px)!important;min-height:48px!important;max-height:260px!important;resize:none!important}
.container-resize-handle{height:7px;min-height:7px;margin-top:2px;cursor:ns-resize;background:linear-gradient(180deg,#6f7472,#373c3a);border:1px solid #1f2322;position:relative;touch-action:none}.container-resize-handle:before{content:"";position:absolute;left:50%;top:2px;width:26px;height:2px;transform:translateX(-50%);background:repeating-linear-gradient(90deg,#c3b06b 0 3px,transparent 3px 6px)}
.corpse-container .corpse-items{height:var(--corpse-grid-h,48px)!important;min-height:48px!important;max-height:180px!important;resize:none!important}

/* DAZIVO RPG v0.7.8 - stable targets, draggable corpses, item hotkeys */
.classic-client .rpg-actionbar [data-hotkey]{position:relative;overflow:hidden}
.classic-client .rpg-actionbar [data-hotkey].locked{opacity:.72}
.hotkey-item-label{display:grid!important;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:2px;min-width:0;width:100%}.hotkey-item-label .item-glyph{width:18px!important;height:18px!important;border-radius:3px!important;transform:none!important}.hotkey-item-label .item-glyph i{font-size:5px!important}.hotkey-item-label small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:6px!important;color:#dce7ec}.hotkey-qty{position:absolute;right:2px;bottom:2px;z-index:5;min-width:18px;padding:1px 3px;border-radius:3px;background:rgba(0,0,0,.78);border:1px solid rgba(255,216,115,.35);color:#ffe184;font:900 7px/1 system-ui;font-style:normal}.hotkey-item-missing{display:grid;place-items:center;width:18px;height:18px;border:1px dashed #6d7477;color:#8a9092;font-size:8px}
.classic-client .rpg-actionbar [data-hotkey]{transition:border-color .12s ease,background .12s ease}.classic-client .rpg-actionbar [data-hotkey]:has(.hotkey-item-label){border-color:#6f6138}.classic-client .rpg-actionbar [data-hotkey]:has(.hotkey-item-label):hover{border-color:#c9a94e}
.classic-client #gameCanvas{user-select:none;-webkit-user-select:none;cursor:grab}.classic-client #gameCanvas:active,.classic-client #gameCanvas.loot-dragging{cursor:grabbing}.classic-client #gameCanvas.loot-hover{cursor:grab}
.corpse-container-head{user-select:none}.corpse-container .corpse-items{overscroll-behavior:contain}

/* DAZIVO RPG v0.7.9 - battle resize, manual corpse loot, fixed backpack slots */
.battle-title{align-items:center}.battle-title-actions{display:flex;align-items:center;gap:3px}.battle-title-actions button{width:19px;height:18px;padding:0;border:1px solid #4c565b;background:#171e22;color:#e7ecef;font:900 9px/1 system-ui;cursor:pointer}.battle-title-actions button:hover{border-color:#b6994d;color:#f3d37a}.auto-corpse-toggle{width:100%;height:20px;margin:3px 0;border:1px solid #4c565b;background:#151c20;color:#b9c4c9;font:800 7px/1 system-ui;text-transform:uppercase;cursor:pointer}.auto-corpse-toggle.active{border-color:#4f9b63;background:#17271d;color:#8ff1a5}.battle-list{height:var(--battle-h,88px)!important;max-height:none!important;min-height:38px!important;overflow-y:auto!important;overflow-x:hidden!important;align-content:start}.battle-resize-handle{margin-top:3px!important}.battle-entry{min-height:25px!important;flex:none!important}.corpse-drag-hint{font-size:7px;color:#8f9da4;text-align:center;padding:3px 2px 1px}.corpse-loot-all{display:none!important}
.classic-client #inventoryBox{grid-template-columns:repeat(4,38px)!important;grid-auto-rows:38px!important;justify-content:start!important;align-content:start!important;gap:3px!important;height:var(--bag-grid-h,88px)!important;min-height:44px!important;max-height:260px!important;overflow-y:auto!important;overflow-x:hidden!important}.classic-client #inventoryBox .compact-item-slot{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;aspect-ratio:auto!important;padding:2px!important}.classic-client #inventoryBox .compact-item-slot .item-glyph{width:26px!important;height:26px!important}.corpse-container .corpse-items{grid-template-columns:repeat(4,38px)!important;grid-auto-rows:38px!important;justify-content:start!important;align-content:start!important}.corpse-container .compact-item-slot{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;aspect-ratio:auto!important}.corpse-container .compact-item-slot .item-glyph{width:26px!important;height:26px!important}
@media(max-width:620px){.classic-client #inventoryBox,.corpse-container .corpse-items{grid-template-columns:repeat(3,36px)!important;grid-auto-rows:36px!important}.classic-client #inventoryBox .compact-item-slot,.corpse-container .compact-item-slot{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}.battle-list{min-height:34px!important}}

/* DAZIVO RPG v0.7.10 - Battle engage + sortable sidebar blocks */
.sortable-sidebar-block{position:relative;width:100%;flex:0 0 auto!important;transition:opacity .12s ease,box-shadow .12s ease,border-color .12s ease}
.sidebar-drag-handle{cursor:grab;user-select:none;-webkit-user-select:none}
.sidebar-drag-handle:active{cursor:grabbing}
.sidebar-drag-handle:before{content:"";display:inline-block;width:9px;height:10px;margin-right:4px;vertical-align:-1px;opacity:.65;background:radial-gradient(circle,#aeb5b8 1px,transparent 1.5px) 0 0/4px 4px}
.sidebar-dragging{opacity:.48!important;border-color:#c6a759!important;box-shadow:inset 0 0 0 1px rgba(231,195,92,.25)!important}
.sidebar-drop-before:before,.sidebar-drop-after:after{content:"";position:absolute;left:2px;right:2px;height:2px;background:#e2bd58;box-shadow:0 0 5px rgba(226,189,88,.5);z-index:5;pointer-events:none}
.sidebar-drop-before:before{top:-4px}.sidebar-drop-after:after{bottom:-4px}
.equipment-section,.backpack-section{padding:4px!important;background:linear-gradient(180deg,#1b2023,#111619)!important;border:1px solid #222!important;box-shadow:inset 0 0 0 1px #62686b!important}
.equipment-section .container-heading,.backpack-section .container-heading{min-height:19px;padding:0 1px 3px;border-bottom:1px solid #30383b;margin-bottom:3px}
.equipment-section.collapsed,.backpack-section.collapsed{padding-bottom:3px!important}
.equipment-section.collapsed .container-heading,.backpack-section.collapsed .container-heading{margin-bottom:0!important;border-bottom:0!important;padding-bottom:0!important}
#backpackSection #inventoryBox{width:100%!important}
.battle-entry.active{border-color:#e0bd59!important;box-shadow:inset 0 0 0 1px rgba(224,189,89,.22)!important}
.battle-entry:active{transform:translateY(1px)}
@media(max-width:620px){.sidebar-drag-handle:before{width:6px;margin-right:2px;background-size:3px 3px}.equipment-section,.backpack-section{padding:3px!important}}

/* DAZIVO RPG v0.7.11 - fight controls / PvP safety */
.combat-mode-panel{display:grid;gap:4px;margin-top:5px;padding-top:5px;border-top:1px solid #29343a}.combat-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.combat-mode-grid button,.pvp-mode-toggle{min-width:0;border:1px solid #465158;border-radius:2px;background:linear-gradient(180deg,#1b2328,#101619);color:#cbd5db;cursor:pointer;padding:3px;min-height:30px;display:grid;place-items:center;align-content:center;gap:1px;font:inherit}.combat-mode-grid button b{font-size:8px;color:#e8c86a;line-height:1}.combat-mode-grid button span{font-size:6px;line-height:1.05;text-align:center;color:#8f9ca4}.combat-mode-grid button.active{border-color:#d1ad50;background:linear-gradient(180deg,#3b3521,#1a1912);box-shadow:inset 0 0 0 1px rgba(255,210,92,.13)}.combat-mode-grid button.active b{color:#ffe18b}.combat-mode-grid button.active span{color:#f0ddaf}
.pvp-mode-toggle{grid-template-columns:24px 1fr;display:grid!important;place-items:center stretch!important;min-height:31px!important;background:linear-gradient(180deg,#211719,#130f10)!important;border-color:#5b3438!important}.pvp-mode-toggle span{font-size:8px;font-weight:900;color:#b78287;text-align:left}.pvp-mode-toggle.active{background:linear-gradient(180deg,#5e1e24,#2e1014)!important;border-color:#d3424e!important;box-shadow:inset 0 0 0 1px rgba(255,90,101,.2),0 0 9px rgba(213,48,59,.14)}.pvp-mode-toggle.active span{color:#ffd8db}.pvp-hand-icon{position:relative;width:17px;height:15px;display:block;margin:auto}.pvp-hand-icon:before{content:"";position:absolute;left:5px;top:5px;width:8px;height:9px;border-radius:3px 3px 5px 5px;background:#9d3840;box-shadow:-4px -2px 0 -2px #9d3840,-1px -5px 0 -2px #9d3840,2px -6px 0 -2px #9d3840,5px -4px 0 -2px #9d3840}.pvp-mode-toggle.active .pvp-hand-icon:before{background:#f34e59;box-shadow:-4px -2px 0 -2px #f34e59,-1px -5px 0 -2px #f34e59,2px -6px 0 -2px #f34e59,5px -4px 0 -2px #f34e59}.pvp-hand-icon:after{content:"";position:absolute;left:2px;bottom:0;width:11px;height:4px;border-radius:5px;background:#77262d;transform:rotate(-10deg)}.pvp-mode-toggle.active .pvp-hand-icon:after{background:#d83c47}
.battle-entry{touch-action:manipulation}.battle-entry:active{filter:brightness(1.28)}
@media(max-width:620px){.combat-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.combat-mode-grid button{min-height:26px;padding:2px}.combat-mode-grid button span{display:none}.pvp-mode-toggle{min-height:27px!important}.pvp-mode-toggle span{font-size:7px}}

/* DAZIVO RPG v0.8.0 - slots reais, peso, auto-loot, banco/depot */
.classic-client .container-heading h3,.classic-client .sidebar-title b{font-size:9px!important;line-height:1!important;letter-spacing:.03em}.classic-client .backpack-section .container-heading h3,.classic-client .equipment-section .container-heading h3{font-size:10px!important}.classic-client #inventoryCount{font-size:7px!important;padding:1px 4px!important;min-width:34px;text-align:center}.classic-client .container-heading{min-height:17px!important}.classic-client .container-toggle{width:18px!important;height:17px!important;font-size:8px!important}
.carry-info{display:flex;align-items:center;justify-content:flex-end;min-height:16px;padding:0 2px 2px;color:#9eaaaf;font-size:7px}.carry-info b{color:#e7cf83;font-size:8px}.backpack-tabs{display:flex;align-items:center;gap:3px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:1px 0 4px}.backpack-tabs::-webkit-scrollbar{display:none}.backpack-tab{flex:0 0 auto;width:38px;height:31px;padding:2px;border:1px solid #414b50;background:#12191d;color:#cbd4d8;display:grid;grid-template-columns:1fr;place-items:center;gap:0;cursor:pointer}.backpack-tab.active{border-color:#c6a44d;background:#272316}.backpack-tab small{font-size:6px;line-height:1;color:#9aa6ab}.backpack-tab .mini-bag-glyph{width:24px;height:16px;border-radius:3px;background:linear-gradient(180deg,#7b4c29,#4d2e1b);display:grid;place-items:center;color:#f2d29e;font:900 7px/1 system-ui;border:1px solid #8b603d}
.classic-client #inventoryBox{grid-template-columns:repeat(4,44px)!important;grid-auto-rows:44px!important;gap:4px!important;height:var(--bag-grid-h,92px)!important;min-height:48px!important;max-height:270px!important;justify-content:start!important;align-content:start!important}.classic-client #inventoryBox .compact-item-slot{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:2px!important}.classic-client #inventoryBox .compact-item-slot .item-glyph{width:31px!important;height:31px!important}.empty-inventory-slot{background:linear-gradient(180deg,#0f1518,#0a0e10)!important;border-color:#30383c!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.018)!important}.empty-inventory-slot:after{content:"";width:16px;height:16px;border:1px dashed #293236;opacity:.65}
.item-glyph.container:before{content:"";position:absolute;width:22px;height:17px;border-radius:4px;background:linear-gradient(180deg,#7b4d2b,#4a2d1b);border:1px solid #9b704b}.item-glyph.container:after{content:"";position:absolute;width:14px;height:4px;top:8px;border-radius:4px;background:#b98758}
.loot-toggle-row{display:grid;grid-template-columns:1fr 1fr 38px;gap:3px;margin:3px 0}.loot-toggle-row .auto-corpse-toggle,.loot-toggle-row .auto-loot-toggle,.auto-loot-config{height:20px;margin:0;border:1px solid #4c565b;background:#151c20;color:#b9c4c9;font:800 6px/1 system-ui;text-transform:uppercase;cursor:pointer}.loot-toggle-row .auto-corpse-toggle.active,.loot-toggle-row .auto-loot-toggle.active{border-color:#4f9b63;background:#17271d;color:#8ff1a5}.auto-loot-config{color:#e1c66f}.auto-loot-panel{margin:3px 0 4px;padding:4px;border:1px solid #3c464b;background:#0f1518}.auto-loot-head{display:flex;justify-content:space-between;gap:5px;margin-bottom:4px;font-size:7px;color:#aeb8bd}.auto-loot-head b{color:#e5ca73}.auto-loot-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;max-height:132px;overflow-y:auto}.auto-loot-item{min-width:0;height:46px;padding:2px;border:1px solid #343e43;background:#11181c;color:#aab5ba;display:grid;place-items:center;align-content:center;gap:1px;cursor:pointer}.auto-loot-item .item-glyph{width:25px!important;height:25px!important}.auto-loot-item span{max-width:100%;font-size:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auto-loot-item.active{border-color:#6cb97d;background:#17251b;color:#adf2ba;box-shadow:inset 0 0 0 1px rgba(109,215,134,.15)}
.item-context-card{display:grid;gap:4px;padding:7px;color:#b9c3c8;font-size:8px}.item-context-title{display:flex;align-items:center;gap:6px;padding-bottom:4px;border-bottom:1px solid #30383c}.item-context-title b{font-size:9px;color:#f0d27d}.item-context-card>span{display:flex;justify-content:space-between;gap:12px}.item-context-card>span b{color:#eef2f4}.item-context-card small{color:#77858c;font-size:7px;margin-top:2px}.game-context-menu:has(.item-context-card){width:190px!important;padding:0!important}
.depot-capacity{margin-bottom:6px;font-size:10px;color:#c7d1d6}.depot-grid{display:grid;grid-template-columns:repeat(10,42px);grid-auto-rows:42px;gap:3px;max-height:236px;overflow:auto;padding:4px;border:1px solid #333e43;background:#0c1215}.depot-slot{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border:1px solid #3a454a;background:#11181c;position:relative;padding:2px}.depot-slot .item-glyph{width:29px!important;height:29px!important}.compact-store-list{max-height:190px;overflow-y:auto}.compact-store-list .shop-row{min-height:42px}.compact-store-list .shop-row>span{display:flex;align-items:center;gap:6px}.compact-store-list .item-glyph{width:27px!important;height:27px!important}
.bank-panel{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.bank-panel>div{padding:12px;border:1px solid #37464e;border-radius:7px;background:#0c1419}.bank-panel small{display:block;font-size:9px;color:#8fa2ad}.bank-panel b{display:block;margin-top:4px;font-size:20px;color:#e8c96e}
@media(max-width:620px){.classic-client #inventoryBox{grid-template-columns:repeat(3,40px)!important;grid-auto-rows:40px!important}.classic-client #inventoryBox .compact-item-slot{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}.classic-client #inventoryBox .compact-item-slot .item-glyph{width:28px!important;height:28px!important}.loot-toggle-row{grid-template-columns:1fr 1fr 32px}.auto-loot-items{grid-template-columns:repeat(3,minmax(0,1fr))}.depot-grid{grid-template-columns:repeat(5,40px);grid-auto-rows:40px}}

/* DAZIVO RPG v0.8.1 - mapa maior, HUD legível e mobile aberto */
.classic-client{--sidebar-w:200px;--chat-h:92px}
.classic-client .rpg-top-left{left:18px!important;top:8px!important;right:calc(var(--sidebar-w) + 150px)!important;width:auto!important;max-width:none!important;height:40px!important;padding:5px 8px!important}
.classic-client .rpg-top-left .avatar-pixel{width:30px!important;height:30px!important;flex:0 0 30px!important;font-size:15px!important;border-radius:5px!important}
.classic-client .rpg-top-left .player-main{display:grid!important;grid-template-columns:1.3fr 1fr 1fr .58fr!important;grid-template-areas:"title hp mana meta"!important;align-items:center!important;gap:7px!important}
.classic-client .rpg-top-left .player-title{grid-area:title!important;margin:0!important;min-width:0!important}.classic-client .rpg-top-left .player-title>b{font-size:11px!important}.classic-client .rpg-top-left .skull-badge{font-size:6.5px!important;padding:2px 5px!important}
.classic-client .rpg-top-left .compact-bar.hp{grid-area:hp!important}.classic-client .rpg-top-left .compact-bar.mana{grid-area:mana!important}.classic-client .rpg-top-left .compact-bar{height:14px!important;margin:0!important}.classic-client .rpg-top-left .compact-bar>b{font-size:9px!important}
.classic-client .rpg-top-left .player-meta{grid-area:meta!important;display:grid!important;gap:1px!important;margin:0!important;text-align:right!important;font-size:7.5px!important}.classic-client .rpg-top-left .player-meta b{font-size:9px!important}
.classic-client .rpg-status{left:auto!important;right:calc(var(--sidebar-w) + 114px)!important;top:8px!important;height:32px!important;min-height:32px!important;font-size:8px!important}
.game-view-controls{top:8px!important;right:calc(var(--sidebar-w) + 14px)!important;height:32px!important}
.classic-client .rpg-chat{left:18px!important;right:calc(var(--sidebar-w) + 14px)!important;bottom:6px!important}
.classic-client .rpg-actionbar{bottom:calc(var(--chat-h) + 10px)!important;background:rgba(14,21,26,.88)!important;backdrop-filter:blur(3px)!important}
.classic-sidebar{width:var(--sidebar-w)!important;top:6px!important;right:6px!important;bottom:6px!important}
.minimap-box canvas{height:118px!important}
.classic-client .target-card{right:calc(var(--sidebar-w) + 18px)!important;top:54px!important}

@media(max-width:900px){
  .classic-client{--sidebar-w:168px;--chat-h:82px}
  .classic-client .rpg-top-left{left:6px!important;right:calc(var(--sidebar-w) + 6px)!important;height:52px!important;top:5px!important;padding:4px 6px!important}
  .classic-client .rpg-top-left .player-main{grid-template-columns:1.25fr 1fr 1fr!important;grid-template-areas:"title title meta" "hp mana meta"!important;gap:3px 5px!important}
  .classic-client .rpg-status{top:60px!important;left:6px!important;right:auto!important;height:24px!important;min-height:24px!important}
  .game-view-controls{top:60px!important;right:calc(var(--sidebar-w) + 6px)!important;height:24px!important}
  .classic-client .rpg-chat{left:6px!important;right:calc(var(--sidebar-w) + 6px)!important;bottom:4px!important}
  .classic-sidebar{width:var(--sidebar-w)!important;right:3px!important;top:3px!important;bottom:3px!important}
}

@media(max-width:620px){
  .classic-client{--sidebar-w:128px!important;--chat-h:66px!important;background:#252a2b!important}
  .classic-client .rpg-top-left{left:4px!important;right:4px!important;top:3px!important;height:54px!important;background:rgba(15,22,27,.88)!important;backdrop-filter:blur(5px)!important;z-index:28!important}
  .classic-client .rpg-top-left .player-main{grid-template-columns:1.2fr 1fr 1fr!important;grid-template-areas:"title title meta" "hp mana meta"!important}.classic-client .rpg-top-left .player-title>b{font-size:9px!important}.classic-client .rpg-top-left .player-meta{font-size:6px!important}.classic-client .rpg-top-left .compact-bar{height:12px!important}.classic-client .rpg-top-left .compact-bar>b{font-size:7px!important}
  .classic-client .rpg-status{display:none!important}.game-view-controls{display:none!important}.classic-client .target-card{top:61px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;min-width:150px!important;max-width:58vw!important;background:rgba(10,17,22,.76)!important;backdrop-filter:blur(4px)!important}
  .classic-sidebar{position:absolute!important;z-index:24!important;top:62px!important;right:4px!important;bottom:72px!important;width:var(--sidebar-w)!important;background:rgba(38,43,43,.84)!important;backdrop-filter:blur(5px)!important;border-color:rgba(170,177,174,.45)!important;opacity:.96!important}
  .minimap-box canvas{height:74px!important}.character-progress-box{display:none!important}.sidebar-actions{grid-template-columns:repeat(4,1fr)!important}.sidebar-actions button,.sidebar-actions a{height:21px!important;font-size:6px!important}
  .classic-client .rpg-chat{left:4px!important;right:4px!important;bottom:3px!important;height:var(--chat-h)!important;background:rgba(14,20,23,.82)!important;backdrop-filter:blur(5px)!important;z-index:26!important}.classic-client .chat-head{height:15px!important;flex-basis:15px!important}.classic-client .chat-tabs{display:none!important}.classic-client .rpg-chat .chat-log{min-height:16px!important;font-size:7px!important;padding:2px 4px!important}.classic-client .game-chat-form{height:26px!important;flex-basis:26px!important}.classic-client .game-chat-form input{height:20px!important;font-size:12px!important}.classic-client .game-chat-form button{height:20px!important;font-size:7px!important}
  .classic-client .rpg-actionbar{left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:74px!important;max-width:calc(100% - 18px)!important;width:auto!important;height:39px!important;padding:2px 4px!important;background:rgba(10,17,22,.58)!important;border-color:rgba(112,128,136,.50)!important;backdrop-filter:blur(4px)!important;z-index:27!important}.classic-client .rpg-actionbar button{background:rgba(18,31,40,.68)!important;border-color:rgba(110,140,157,.55)!important}
  .mobile-dpad{display:grid!important;position:absolute!important;z-index:27!important;left:10px!important;bottom:118px!important;padding:3px!important;grid-template-columns:repeat(3,44px)!important;grid-template-rows:repeat(3,44px)!important;gap:3px!important;background:rgba(8,14,18,.25)!important;border:0!important;box-shadow:none!important;backdrop-filter:blur(2px)!important}.mobile-dpad button{border:1px solid rgba(222,235,242,.34)!important;background:rgba(18,30,38,.48)!important;color:rgba(255,255,255,.88)!important;border-radius:50%!important;font-size:15px!important;box-shadow:0 2px 8px rgba(0,0,0,.22)!important}.mobile-dpad .dpad-center{opacity:.18!important}
  .classic-client .bag-window .drawer-section,.battle-box{background:rgba(15,22,26,.72)!important}.classic-client #inventoryBox{grid-template-columns:repeat(3,36px)!important;grid-auto-rows:36px!important}.classic-client #inventoryBox .compact-item-slot{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}.classic-client #inventoryBox .compact-item-slot .item-glyph{width:25px!important;height:25px!important}
}

/* DAZIVO RPG v0.8.2 - seletor de quantidade para pilhas */
.quantity-picker{position:absolute;z-index:120;left:50%;top:50%;transform:translate(-50%,-50%);width:min(310px,calc(100% - 24px));padding:9px;background:linear-gradient(180deg,#151d22,#0b1115);border:1px solid #5e6a70;border-radius:6px;box-shadow:0 18px 48px rgba(0,0,0,.62),inset 0 0 0 1px rgba(255,255,255,.03);color:#eef4f7;pointer-events:auto}.quantity-picker-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:7px;border-bottom:1px solid #303b40}.quantity-picker-head b{font-size:12px}.quantity-picker-head button{width:26px;height:24px;border:1px solid #405058;border-radius:4px;background:#11191d;color:#fff;cursor:pointer}.quantity-picker-name{display:flex;justify-content:space-between;gap:8px;padding:8px 0 6px;font-size:10px;color:#dce6eb}.quantity-picker-name span{color:#a7b4bb}.quantity-picker-controls{display:grid;grid-template-columns:34px minmax(0,1fr) 34px 54px;gap:5px;align-items:center}.quantity-picker-controls button,.quantity-picker-actions button{height:30px;border:1px solid #41515a;border-radius:4px;background:#182229;color:#ecf3f6;font-weight:800;font-size:10px;cursor:pointer}.quantity-picker-controls input[type="number"]{width:100%;height:30px;border:1px solid #4a5a62;border-radius:4px;background:#091014;color:#fff;text-align:center;font-weight:800;outline:none}.quantity-picker-range{width:100%;margin:9px 0 6px;accent-color:#d3a53e}.quantity-picker-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.quantity-picker-actions .confirm{background:linear-gradient(180deg,#e2b548,#b98722);border-color:#e3c36f;color:#17120a}.quantity-picker-actions button:hover,.quantity-picker-controls button:hover{filter:brightness(1.12)}
@media(max-width:620px){.quantity-picker{width:min(280px,calc(100% - 18px));padding:8px}.quantity-picker-controls{grid-template-columns:32px minmax(0,1fr) 32px 50px}.quantity-picker-controls button,.quantity-picker-actions button,.quantity-picker-controls input[type="number"]{height:34px;font-size:12px}}

/* DAZIVO RPG v0.8.3 - visual world expansion + HUD/mobile refinement */
.classic-client{--sidebar-w:212px!important;--chat-h:88px!important}
.classic-client .rpg-top-left{height:50px!important;padding:7px 10px!important;right:calc(var(--sidebar-w) + 156px)!important}
.classic-client .rpg-top-left .player-title b{font-size:12px!important;line-height:1.1!important}
.classic-client .rpg-top-left .player-meta{font-size:9px!important}
.classic-client .rpg-top-left .compact-bar{height:13px!important}
.classic-client .rpg-top-left .compact-bar b{font-size:8px!important}
.classic-client .rpg-status{right:calc(var(--sidebar-w) + 118px)!important;height:34px!important;font-size:9px!important}
.classic-client .target-card{min-width:148px!important}
.game-view-controls{right:calc(var(--sidebar-w) + 16px)!important}
.minimap-box canvas{height:132px!important}
.classic-sidebar{width:var(--sidebar-w)!important}
.classic-client #inventoryBox{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
.classic-client #inventoryBox .compact-item-slot{width:auto!important;height:40px!important;min-width:40px!important;min-height:40px!important}
.classic-client #inventoryBox .compact-item-slot .item-glyph{width:26px!important;height:26px!important}
.classic-client .sidebar-title b,.classic-client .container-heading h3{font-size:11px!important}
.classic-client #inventoryCount{font-size:8px!important}

@media(max-width:980px){
  .classic-client{--sidebar-w:182px!important;--chat-h:78px!important}
  .classic-client .rpg-top-left{height:56px!important;right:calc(var(--sidebar-w) + 8px)!important}
  .classic-client .rpg-top-left .player-title b{font-size:11px!important}
  .classic-client .rpg-top-left .player-meta{font-size:8px!important}
  .classic-client .rpg-status{right:calc(var(--sidebar-w) + 8px)!important;top:64px!important;height:24px!important}
  .game-view-controls{top:64px!important;right:calc(var(--sidebar-w) + 8px)!important}
}
@media(max-width:620px){
  .classic-client{--sidebar-w:118px!important;--chat-h:62px!important}
  .classic-client .rpg-top-left{height:58px!important;padding:5px 8px!important}
  .classic-client .rpg-top-left .player-title b{font-size:10px!important}
  .classic-client .rpg-top-left .player-meta{font-size:7px!important}
  .classic-client .rpg-top-left .compact-bar{height:12px!important}
  .classic-sidebar{top:62px!important;bottom:70px!important;background:rgba(18,25,29,.68)!important;backdrop-filter:blur(2px)!important}
  .classic-client .rpg-actionbar{background:rgba(10,17,22,.36)!important;border-color:rgba(112,128,136,.34)!important;backdrop-filter:blur(2px)!important}
  .mobile-dpad{left:8px!important;bottom:104px!important;background:rgba(8,14,18,.12)!important;backdrop-filter:none!important}
  .mobile-dpad button{background:rgba(18,30,38,.34)!important}
  .minimap-box canvas{height:64px!important}
  .classic-client #inventoryBox{grid-template-columns:repeat(3,1fr)!important}
  .classic-client #inventoryBox .compact-item-slot{height:38px!important;min-height:38px!important}
}

/* DAZIVO RPG v0.9.0 - multifloor caves, modern HUD, outfits */
.classic-client{background:linear-gradient(145deg,#31383b,#1e2427)!important}
.classic-client .rpg-viewport canvas#gameCanvas{border:2px solid #768188!important;box-shadow:0 0 0 1px #11181b,0 16px 36px rgba(0,0,0,.42),inset 0 0 28px rgba(0,0,0,.12)!important;background:#1b2520!important}
.classic-client .rpg-top-left,.classic-client .rpg-status,.game-view-controls,.classic-sidebar,.classic-client .rpg-chat,.classic-client .rpg-actionbar{border-color:#53636b!important;box-shadow:0 8px 22px rgba(0,0,0,.28),inset 0 0 0 1px rgba(255,255,255,.035)!important}
.minimap-title{gap:4px!important;flex-wrap:nowrap!important}.minimap-title>b{flex:0 0 auto}.minimap-floor-controls{display:flex;align-items:center;gap:2px;margin-left:auto}.minimap-floor-controls button{width:18px;height:17px;padding:0;border:1px solid #56636a;background:#141b1f;color:#e9eef1;font-size:10px;font-weight:900;cursor:pointer}.minimap-floor-controls button:disabled{opacity:.32;cursor:default}.minimap-floor-controls span{min-width:24px;text-align:center;font-size:8px;font-weight:900;color:#f0ca65}.minimap-title #miniMapWorldName{max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.outfit-form{display:grid;gap:12px}.outfit-preview-wrap{display:grid;grid-template-columns:160px 1fr;gap:14px;align-items:center}.outfit-preview-wrap canvas{width:160px;height:180px;border:1px solid #40505a;background:#11191e;border-radius:8px}.outfit-preview-wrap b{display:block;font-size:15px}.outfit-preview-wrap small{display:block;color:#9eb0ba;margin-top:5px;line-height:1.4}.outfit-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.outfit-grid label{display:grid;gap:5px;font-size:10px;color:#cdd9df}.outfit-grid select,.outfit-grid input[type=color]{width:100%;height:38px;border:1px solid #40515a;border-radius:6px;background:#0e1519;color:#eef5f7;padding:5px}.outfit-grid input[type=color]{padding:3px}
.classic-client .target-card{background:rgba(10,18,23,.90)!important;backdrop-filter:blur(5px)!important}
.classic-client .rpg-actionbar{background:rgba(8,15,20,.82)!important;backdrop-filter:blur(5px)!important}.classic-client .rpg-actionbar button{transition:transform .08s ease,border-color .12s ease,background .12s ease}.classic-client .rpg-actionbar button:active{transform:translateY(1px) scale(.98)}
@media(min-width:981px){.classic-client{--sidebar-w:220px!important;--chat-h:84px!important}.classic-client .rpg-top-left{height:54px!important}.classic-client .rpg-top-left .player-title b{font-size:13px!important}.classic-client .rpg-top-left .player-meta{font-size:9px!important}.classic-client .rpg-top-left .compact-bar{height:14px!important}.minimap-box canvas{height:140px!important}}
@media(max-width:620px){
  .classic-client{--sidebar-w:112px!important;--chat-h:58px!important;background:#1e2427!important}
  .classic-client .rpg-top-left{height:52px!important;background:rgba(9,16,20,.72)!important;border-radius:0 0 8px 8px!important}.classic-client .rpg-top-left .player-title b{font-size:9px!important}.classic-client .rpg-top-left .player-meta{font-size:6px!important}.classic-client .rpg-top-left .compact-bar{height:11px!important}
  .classic-sidebar{top:58px!important;bottom:64px!important;width:112px!important;background:rgba(13,21,25,.48)!important;border-color:rgba(113,134,145,.28)!important;backdrop-filter:blur(1.5px)!important}.classic-sidebar .sidebar-box{background:rgba(10,16,20,.62)!important}
  .minimap-box canvas{height:62px!important}.minimap-title #miniMapWorldName{display:none}.minimap-floor-controls button{width:16px;height:15px}.minimap-floor-controls span{min-width:20px;font-size:7px}
  .classic-client .rpg-actionbar{left:50%!important;bottom:62px!important;max-width:calc(100% - 8px)!important;background:rgba(5,12,17,.32)!important;border-color:rgba(130,151,160,.28)!important;box-shadow:none!important;backdrop-filter:none!important;overflow-x:auto!important;scrollbar-width:none!important}.classic-client .rpg-actionbar::-webkit-scrollbar{display:none!important}.classic-client .rpg-actionbar button{background:rgba(10,20,27,.45)!important;border-color:rgba(141,167,181,.32)!important;min-width:42px!important;height:38px!important}
  .mobile-dpad{left:8px!important;bottom:108px!important;grid-template-columns:repeat(3,48px)!important;grid-template-rows:repeat(3,48px)!important;background:transparent!important}.mobile-dpad button{background:rgba(8,17,23,.30)!important;border-color:rgba(224,239,247,.30)!important;font-size:17px!important}.mobile-dpad button:active{background:rgba(218,174,71,.45)!important}
  .classic-client .rpg-chat{height:58px!important;background:rgba(8,14,18,.58)!important}.classic-client .chat-head{height:14px!important;flex-basis:14px!important}.classic-client .rpg-chat .chat-log{font-size:7px!important}.classic-client .game-chat-form{height:24px!important;flex-basis:24px!important}
  .outfit-preview-wrap{grid-template-columns:110px 1fr}.outfit-preview-wrap canvas{width:110px;height:130px}.outfit-grid{grid-template-columns:1fr}
}

/* DAZIVO RPG v0.9.1 - HUD spacing + safe logout */
@media(min-width:981px){
  .classic-client .rpg-top-left{right:calc(var(--sidebar-w) + 190px)!important}
  .classic-client .rpg-status{right:calc(var(--sidebar-w) + 112px)!important;width:72px!important;justify-content:center!important;white-space:nowrap!important}
  .classic-client .rpg-top-left .player-meta{padding-right:8px!important}
}
#safeLogoutLink{position:relative}
#safeLogoutLink:after{content:"PZ";position:absolute;right:2px;bottom:1px;font-size:5px;color:#d8be69;opacity:.78}

/* DAZIVO RPG v0.9.3 - skills clássicas, XP e zoom do minimapa */
.minimap-title{display:grid!important;grid-template-columns:auto auto auto 1fr!important;align-items:center!important;gap:4px!important}
.minimap-floor-controls,.minimap-zoom-controls{display:flex;align-items:center;gap:2px}
.minimap-zoom-controls button{width:18px;height:17px;padding:0;border:1px solid #56636a;background:#141b1f;color:#e9eef1;font-size:10px;font-weight:900;cursor:pointer}
.minimap-zoom-controls span{min-width:30px;text-align:center;font-size:7px;font-weight:900;color:#9ed8ff}
.character-progress-box,.skills-section{padding:4px!important}
.xp-main-bar{height:8px!important;margin:5px 0!important;background:#090d0f!important;border-color:#5d666a!important}
.xp-main-bar span{background:linear-gradient(180deg,#68e06f,#269540)!important;box-shadow:0 0 6px rgba(70,220,100,.35)}
.skills-body{display:grid;gap:4px;padding-top:3px}
.classic-skill-row{display:grid;grid-template-columns:56px 24px 1fr;align-items:center;gap:4px;font-size:8px;color:#d9dfe2}
.classic-skill-row>span{font-weight:800}.classic-skill-row>b{text-align:right;color:#f6f6f6;font-size:9px}
.classic-skill-row>div{height:6px;background:#080b0d;border:1px solid #434b4f;overflow:hidden}
.classic-skill-row>div>i{display:block;height:100%;width:0;background:linear-gradient(90deg,#39b94f,#7bea72);transition:width .16s linear}
.classic-skill-row[data-skill="magic"]>div>i{background:linear-gradient(90deg,#8d55d8,#c17bff)}
.classic-skill-row[data-skill="distance"]>div>i{background:linear-gradient(90deg,#c79b38,#f2d26a)}
.classic-skill-row[data-skill="shielding"]>div>i{background:linear-gradient(90deg,#4d89cb,#80c8ff)}
.item-glyph.weapon.axe:before{width:5px;height:23px;background:#8a6438;transform:rotate(18deg)}
.item-glyph.weapon.axe:after{width:17px;height:12px;background:linear-gradient(180deg,#dce3e7,#7f929d);clip-path:polygon(0 15%,100% 0,82% 100%,8% 82%);top:6px;right:5px;transform:rotate(18deg)}
.item-glyph.weapon.club:before{width:6px;height:22px;border-radius:3px;background:#855e36;transform:rotate(-18deg)}
.item-glyph.weapon.club:after{width:15px;height:11px;border-radius:4px;background:linear-gradient(180deg,#8e979c,#515d64);top:5px;left:9px;transform:rotate(-18deg)}
.item-glyph.weapon.fist:before{width:20px;height:17px;border-radius:7px 7px 5px 5px;background:linear-gradient(180deg,#a86d3d,#684426);bottom:8px}
.item-glyph.weapon.fist:after{width:16px;height:7px;border-radius:6px;background:#c2915d;top:7px}
@media(max-width:620px){
  .character-progress-box,.skills-section{display:block!important}
  .minimap-title{grid-template-columns:auto auto auto!important}.minimap-title #miniMapWorldName{display:none!important}
  .minimap-zoom-controls button,.minimap-floor-controls button{width:15px!important;height:15px!important;font-size:8px!important}
  .minimap-zoom-controls span{min-width:25px;font-size:6px!important}
  .classic-skill-row{grid-template-columns:42px 20px 1fr;gap:2px;font-size:7px}.classic-skill-row>b{font-size:8px}
}

/* DAZIVO RPG v0.9.4 - minimapa, battle filters e caça expandida */
.battle-filter-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px 4px;border-top:1px solid #30393d;border-bottom:1px solid #30393d;background:#12191d}.battle-filter-row button{height:20px;border:1px solid #46545b;background:#192329;color:#aebbc1;font-size:7px;font-weight:900;text-transform:uppercase;cursor:pointer}.battle-filter-row button.active{background:#8f7128;border-color:#c9a94e;color:#fff6d7}.battle-entry.player{border-color:#35566d}.battle-entry.player.active{border-color:#64b9ee;box-shadow:inset 0 0 0 1px rgba(100,185,238,.25)}.battle-entry.player .battle-hp i{background:#4fa8d8}.battle-name b{font-size:8px}.battle-name small{display:block;font-size:6px;color:#9eaab0;margin-top:1px}.minimap-box canvas{image-rendering:pixelated;background:#0d1316!important}.minimap-floor-controls,.minimap-zoom-controls{background:#10171b;border:1px solid #364349;padding:1px}.minimap-floor-controls button,.minimap-zoom-controls button{background:#182227!important}.minimap-floor-controls span,.minimap-zoom-controls span{color:#d7e6ed!important}.battle-list{max-height:none!important}
@media(max-width:620px){.battle-filter-row{gap:2px;padding:2px}.battle-filter-row button{height:18px;font-size:6px}.battle-name b{font-size:7px}.battle-name small{font-size:5.5px}}

/* DAZIVO RPG v0.9.5 - PvP lock, opponent vitals, online counter */
.classic-client .rpg-status{min-width:88px!important;width:auto!important;padding:0 10px!important;justify-content:center!important;white-space:nowrap!important}
.classic-client #onlineCountBox{color:#8ee7a6!important;font-weight:900!important}
.classic-client .rpg-top-left .player-meta{gap:2px!important}
.battle-entry.player .battle-name small{line-height:1.15!important}
@media(min-width:981px){.classic-client .rpg-top-left{right:calc(var(--sidebar-w) + 210px)!important}.classic-client .rpg-status{right:calc(var(--sidebar-w) + 114px)!important}}
@media(max-width:620px){.classic-client #onlineCountBox{display:inline!important}.classic-client .rpg-top-left .player-meta{display:flex!important;flex-wrap:wrap!important;gap:2px 5px!important;justify-content:flex-end!important}}

/* DAZIVO RPG v0.9.6 - trade, ground pickup and clean-map alerts */
.global-game-alert{position:absolute;z-index:140;left:50%;top:42%;transform:translate(-50%,-50%) scale(.96);display:grid;gap:4px;min-width:min(520px,72%);max-width:78%;padding:14px 18px;border:2px solid #ff5a5a;border-radius:8px;background:rgba(70,8,8,.92);color:#fff;text-align:center;box-shadow:0 16px 44px rgba(0,0,0,.58),inset 0 0 0 1px rgba(255,255,255,.08);opacity:0;pointer-events:none;transition:opacity .16s ease,transform .16s ease}.global-game-alert.show{opacity:1;transform:translate(-50%,-50%) scale(1)}.global-game-alert b{font-size:18px;letter-spacing:.08em;color:#ffd3d3}.global-game-alert span{font-size:13px;font-weight:800;line-height:1.35}
.trade-window{display:grid;gap:10px}.trade-columns{display:grid;grid-template-columns:1fr 1fr;gap:8px}.trade-columns section,.trade-inventory{border:1px solid #33434c;background:#0b1217;padding:8px;border-radius:6px;min-width:0}.trade-columns h4,.trade-inventory h4{margin:0 0 7px;font-size:11px;color:#e9f0f4}.trade-columns h4 em{font-style:normal;color:#78e397;font-size:9px;margin-left:5px}.trade-offer-list{display:grid;gap:5px;min-height:72px}.trade-item-row{display:grid;grid-template-columns:34px minmax(0,1fr) 26px;gap:6px;align-items:center;border:1px solid #2d3b43;background:#121b20;padding:4px;border-radius:4px}.trade-item-row>div:nth-child(2){display:grid;min-width:0}.trade-item-row b{font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-item-row small{font-size:8px;color:#d7b95c}.trade-item-row>button{height:26px;border:1px solid #485861;background:#19252b;color:#fff;border-radius:3px;cursor:pointer}.trade-inventory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-height:180px;overflow:auto}.trade-inventory-item{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:4px;align-items:center;min-height:40px;padding:4px;border:1px solid #34454e;border-radius:4px;background:#10191f;color:#edf4f7;text-align:left;cursor:pointer}.trade-inventory-item span{font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trade-inventory-item b{font-size:8px;color:#f0cb69}.trade-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.trade-actions button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:620px){.global-game-alert{min-width:calc(100% - 34px);max-width:calc(100% - 34px);top:38%;padding:12px}.global-game-alert b{font-size:15px}.global-game-alert span{font-size:11px}.trade-columns{grid-template-columns:1fr}.trade-inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-height:150px}.trade-window{font-size:11px}}
.context-drop-item{margin-top:7px;width:100%;height:28px;border:1px solid #5a4a33;border-radius:4px;background:#2a2117;color:#f4d17c;font-size:9px;font-weight:800;cursor:pointer}.context-drop-item:hover{filter:brightness(1.12)}

/* DAZIVO RPG v0.9.7 - minimap pathfinding + expanded caves */
.minimap-box canvas{cursor:crosshair;image-rendering:pixelated;touch-action:none;background:#0b1114}
.minimap-box{overflow:hidden}
@media(max-width:620px){.minimap-box canvas{cursor:pointer}}

/* DAZIVO RPG v0.9.8 - minimapa isolado, andar sincronizado */
.classic-sidebar .minimap-box{
  position:sticky!important;
  top:0!important;
  z-index:45!important;
  flex:0 0 auto!important;
  display:block!important;
  overflow:visible!important;
  padding:4px!important;
  margin:0 0 3px!important;
  background:linear-gradient(180deg,#171e22,#0d1316)!important;
  border:1px solid #263036!important;
  box-shadow:inset 0 0 0 1px #697278,0 4px 10px rgba(0,0,0,.28)!important;
}
.classic-sidebar .minimap-title{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:5px!important;
  min-height:20px!important;
  height:20px!important;
  margin:0 0 4px!important;
  padding:0 3px!important;
  overflow:hidden!important;
}
.classic-sidebar .minimap-title>b{font-size:9px!important;flex:0 0 auto!important}
.classic-sidebar .minimap-title #miniMapWorldName{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  max-width:none!important;
  text-align:right!important;
  color:#d4bd74!important;
  font-size:7px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.classic-sidebar .minimap-box #miniMapCanvas{
  position:relative!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  height:142px!important;
  min-height:142px!important;
  max-height:none!important;
  margin:0!important;
  border:1px solid #69757b!important;
  background:#0b1114!important;
  image-rendering:pixelated!important;
  z-index:1!important;
}
.classic-sidebar .minimap-toolbar{
  position:relative!important;
  z-index:2!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:4px!important;
  width:100%!important;
  min-height:24px!important;
  margin-top:4px!important;
  padding:0!important;
  background:transparent!important;
}
.classic-sidebar .minimap-floor-controls,
.classic-sidebar .minimap-zoom-controls{
  display:grid!important;
  grid-template-columns:auto 18px minmax(24px,1fr) 18px!important;
  align-items:center!important;
  gap:2px!important;
  min-width:0!important;
  margin:0!important;
  padding:2px!important;
  background:#10171b!important;
  border:1px solid #364349!important;
}
.classic-sidebar .minimap-floor-controls small,
.classic-sidebar .minimap-zoom-controls small{
  font-size:6px!important;
  color:#8f9ca3!important;
  text-transform:uppercase!important;
}
.classic-sidebar .minimap-floor-controls button,
.classic-sidebar .minimap-zoom-controls button{
  width:18px!important;
  min-width:18px!important;
  height:18px!important;
  padding:0!important;
  border:1px solid #56636a!important;
  background:#182227!important;
  color:#e9eef1!important;
  font-size:9px!important;
  line-height:16px!important;
}
.classic-sidebar .minimap-floor-controls span,
.classic-sidebar .minimap-zoom-controls span{
  min-width:24px!important;
  text-align:center!important;
  font-size:7px!important;
  color:#f0ca65!important;
  overflow:hidden!important;
}
.classic-sidebar .sidebar-actions{
  position:static!important;
  inset:auto!important;
  z-index:auto!important;
  flex:0 0 auto!important;
  margin:0!important;
}
.classic-sidebar>[data-sidebar-block],
.classic-sidebar>.sidebar-actions,
.classic-sidebar>#corpseDock{position:relative!important;z-index:2!important}

@media(max-width:980px){
  .classic-sidebar .minimap-box #miniMapCanvas{height:116px!important;min-height:116px!important}
  .classic-sidebar .minimap-toolbar{grid-template-columns:1fr!important;gap:2px!important}
}
@media(max-width:620px){
  .classic-sidebar .minimap-box{position:sticky!important;top:0!important;padding:3px!important}
  .classic-sidebar .minimap-title{height:18px!important;min-height:18px!important;margin-bottom:2px!important}
  .classic-sidebar .minimap-title>b{font-size:7px!important}
  .classic-sidebar .minimap-title #miniMapWorldName{font-size:6px!important}
  .classic-sidebar .minimap-box #miniMapCanvas{height:88px!important;min-height:88px!important}
  .classic-sidebar .minimap-toolbar{grid-template-columns:1fr!important;gap:2px!important;margin-top:2px!important}
  .classic-sidebar .minimap-floor-controls,
  .classic-sidebar .minimap-zoom-controls{grid-template-columns:auto 16px minmax(22px,1fr) 16px!important;padding:1px!important}
  .classic-sidebar .minimap-floor-controls button,
  .classic-sidebar .minimap-zoom-controls button{width:16px!important;min-width:16px!important;height:16px!important;font-size:8px!important}
  .classic-sidebar .minimap-floor-controls small,
  .classic-sidebar .minimap-zoom-controls small{font-size:5px!important}
}


/* DAZIVO RPG v0.9.9 - visual walk, diagonal dpad and richer field */
.classic-client .rpg-top-left{backdrop-filter:blur(7px)!important;box-shadow:0 10px 26px rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,255,255,.05)!important}
.classic-client .rpg-top-left .player-name{font-size:13px!important}
.classic-client .rpg-top-left .player-meta small,.classic-client .rpg-top-left .player-meta span{font-size:10px!important}
.classic-client .mobile-dpad{background:rgba(7,12,16,.10)!important}
.classic-client .mobile-dpad button{backdrop-filter:blur(3px)!important;background:rgba(14,24,31,.34)!important}
.classic-client .mobile-dpad .dpad-center{display:grid!important;place-items:center!important;color:rgba(255,255,255,.22)!important}
@media(max-width:620px){
  .classic-client .mobile-dpad{display:grid!important;left:8px!important;bottom:108px!important;grid-template-columns:repeat(3,48px)!important;grid-template-rows:repeat(3,48px)!important}
  .classic-client .mobile-dpad button{font-size:16px!important}
}


/* DAZIVO RPG v0.9.9.3 - original item foundation */
.item-glyph.legs:before{width:22px;height:23px;background:linear-gradient(180deg,#697884,#354550);clip-path:polygon(8% 0,92% 0,78% 100%,54% 100%,50% 38%,46% 100%,22% 100%)}
.item-glyph.amulet:before{width:18px;height:18px;border:3px solid #d2ad52;border-top-color:transparent;border-radius:50%;top:6px}.item-glyph.amulet:after{width:7px;height:8px;background:#70b2cf;clip-path:polygon(50% 0,100% 45%,72% 100%,28% 100%,0 45%);bottom:5px}
.item-glyph.ring:before{width:17px;height:17px;border:4px solid #d4b453;border-radius:50%;top:7px}.item-glyph.ring:after{width:7px;height:5px;background:#79b9db;transform:rotate(45deg);top:5px}
@media(max-width:620px){.item-glyph.legs:before{width:17px;height:18px}.item-glyph.amulet:before{width:14px;height:14px;border-width:2px}.item-glyph.ring:before{width:14px;height:14px;border-width:3px}}


/* DAZIVO RPG v0.9.9.4 - refreshed original core item set */
.item-glyph.item-id-1:before{background:linear-gradient(180deg,#ff9b86,#b8292d)!important}.item-glyph.item-id-2:before{background:linear-gradient(180deg,#91ddff,#315cc2)!important}
.item-glyph.item-id-3{box-shadow:inset 0 0 0 1px rgba(241,204,111,.22),0 6px 12px rgba(0,0,0,.22)!important}.item-glyph.item-id-4{box-shadow:inset 0 0 0 1px rgba(111,204,151,.20),0 6px 12px rgba(0,0,0,.22)!important}
.item-glyph.item-id-5,.item-glyph.item-id-6{box-shadow:inset 0 0 0 1px rgba(167,126,255,.23),0 6px 12px rgba(0,0,0,.22)!important}.item-glyph.item-id-7{box-shadow:inset 0 0 0 1px rgba(188,160,110,.22),0 6px 12px rgba(0,0,0,.22)!important}
.item-glyph.item-id-8{box-shadow:inset 0 0 0 1px rgba(106,166,202,.28),0 6px 12px rgba(0,0,0,.22)!important}.item-glyph.item-id-14{box-shadow:inset 0 0 0 1px rgba(217,181,96,.25),0 6px 12px rgba(0,0,0,.22)!important}


/* DAZIVO RPG v0.9.9.9 - item art real, sem letras genericas */
.item-glyph.visual-item{overflow:hidden!important;background:radial-gradient(circle at 50% 38%,rgba(255,255,255,.08),rgba(8,13,17,.02) 48%,rgba(0,0,0,.28) 100%)!important;border:1px solid rgba(141,158,167,.42)!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.035),0 2px 5px rgba(0,0,0,.32)!important}
.item-glyph.visual-item i{display:none!important}.item-glyph.visual-item:before,.item-glyph.visual-item:after{display:none!important}
.item-glyph.visual-item .item-art{display:block;width:92%;height:92%;overflow:visible;filter:drop-shadow(0 2px 1px rgba(0,0,0,.42))}
.item-glyph.visual-item.tier-2{border-color:rgba(202,163,81,.52)!important}.item-glyph.visual-item.tier-3{border-color:rgba(89,160,204,.58)!important}.item-glyph.visual-item.tier-4{border-color:rgba(159,104,219,.62)!important}.item-glyph.visual-item.tier-5{border-color:rgba(238,196,74,.75)!important;box-shadow:inset 0 0 8px rgba(238,196,74,.12),0 2px 5px rgba(0,0,0,.35)!important}
.compact-item-slot .item-glyph.visual-item{width:34px!important;height:34px!important;transform:none!important}.compact-equip-slot .item-glyph.visual-item{width:32px!important;height:32px!important}.corpse-items .item-glyph.visual-item{width:32px!important;height:32px!important}
@media(max-width:620px){.compact-item-slot .item-glyph.visual-item{width:30px!important;height:30px!important}.compact-equip-slot .item-glyph.visual-item{width:29px!important;height:29px!important}}

/* DAZIVO RPG v0.9.9.20 - guia público de Houses */
.house-guide-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;align-items:center;padding:26px 0 42px}.house-guide-hero h1{font-size:clamp(38px,6vw,64px);line-height:1;margin:10px 0 18px}.house-guide-hero>div:first-child>p{max-width:760px;color:var(--muted);font-size:18px;line-height:1.7}.house-preview-card{min-height:330px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,#1b2a36,#101820);position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px;overflow:hidden}.house-preview-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 15%,rgba(242,184,75,.14),transparent 45%);pointer-events:none}.house-preview-roof{width:230px;height:90px;background:linear-gradient(135deg,transparent 49%,#7d5631 50%) left/50% 100% no-repeat,linear-gradient(225deg,transparent 49%,#7d5631 50%) right/50% 100% no-repeat;position:relative;z-index:1;margin-bottom:-18px}.house-preview-body{width:210px;height:125px;background:#b79b70;border:7px solid #5d4933;position:relative;z-index:2;box-shadow:0 16px 30px rgba(0,0,0,.3)}.house-preview-door{position:absolute;left:82px;bottom:0;width:46px;height:77px;background:#513824;border:5px solid #392719}.house-preview-door:after{content:"";position:absolute;right:7px;top:34px;width:5px;height:5px;border-radius:50%;background:#e8be61}.house-preview-window{position:absolute;left:20px;top:30px;width:42px;height:38px;background:#7fc0d9;border:5px solid #57452f;box-shadow:inset 0 0 0 2px rgba(255,255,255,.18)}.house-preview-window.right{left:auto;right:20px}.house-preview-info{position:relative;z-index:3;margin-top:22px;text-align:center;display:grid;gap:5px}.house-preview-info strong{font-size:18px;color:#ffd67a}.house-preview-info span{color:var(--muted);font-size:13px}.house-guide-section{padding:20px 0 26px}.section-kicker{font-size:12px;letter-spacing:1.5px;font-weight:900;color:var(--gold);margin-bottom:-8px}.house-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.house-step{position:relative;padding-top:58px}.house-step-number{position:absolute;top:18px;left:20px;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#4f3b18;color:#ffd476;font-weight:900;border:1px solid #806128}.house-step code,.house-command code,.house-tip code,.house-rules-box code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#ffe19a;background:#0b1218;border:1px solid #314353;border-radius:6px;padding:2px 6px}.house-tip{margin-top:16px;padding:14px 16px;border-radius:12px;border:1px solid #4f643d;background:rgba(54,79,42,.28);color:#ddecce}.house-feature-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#243545;border:1px solid #405b70;color:#ffd476;font-weight:900;margin-bottom:12px}.house-feature h3{margin-bottom:8px}.house-command-list{display:grid;gap:9px}.house-command{display:grid;grid-template-columns:minmax(190px,280px) 1fr;gap:16px;align-items:center;padding:13px 15px;background:linear-gradient(180deg,rgba(24,36,48,.86),rgba(14,22,29,.92));border:1px solid var(--line);border-radius:11px}.house-command code{width:max-content;max-width:100%;font-weight:800}.house-command span{color:var(--muted);line-height:1.45}.house-section-intro{max-width:820px;margin-top:-8px;margin-bottom:18px}.house-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.house-property{padding:18px}.house-property-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.house-property-head h3{margin:9px 0 0}.house-price{text-align:right;color:#ffd476;font-size:22px;font-weight:900;white-space:nowrap}.house-price small{display:block;color:var(--muted);font-size:11px;font-weight:700;margin-top:3px}.house-property-meta{display:flex;gap:10px;margin-top:16px}.house-property-meta span{padding:7px 10px;border-radius:8px;background:#0d151d;border:1px solid var(--line);color:var(--muted);font-size:12px}.house-property-meta b{color:#fff}.house-owner{margin:12px 0 0}.house-owner strong{color:#fff}.house-rules-box{display:grid;grid-template-columns:.65fr 1.35fr;gap:28px;align-items:start;margin-top:18px;padding:24px;border:1px solid #5c4c28;border-radius:18px;background:linear-gradient(135deg,rgba(79,59,24,.3),rgba(16,24,32,.94))}.house-rules-box h2{margin:8px 0 0}.house-rules-list{display:grid;gap:11px}.house-rules-list p{margin:0;color:#c9d6de;line-height:1.55}.house-inline-link{color:#ffd476;font-weight:800}.house-inline-link:hover{text-decoration:underline}
@media(max-width:900px){.house-guide-hero{grid-template-columns:1fr}.house-steps{grid-template-columns:1fr 1fr}.house-rules-box{grid-template-columns:1fr}.house-preview-card{min-height:280px}}
@media(max-width:620px){.house-guide-hero{padding-top:8px}.house-guide-hero h1{font-size:38px}.house-guide-hero>div:first-child>p{font-size:16px}.house-steps,.house-catalog{grid-template-columns:1fr}.house-command{grid-template-columns:1fr;gap:8px}.house-property-head{display:grid}.house-price{text-align:left}.house-preview-card{min-height:245px}.house-preview-roof{width:190px;height:74px}.house-preview-body{width:174px;height:105px}.house-preview-door{left:66px;width:42px;height:64px}.house-preview-window{left:14px;top:26px;width:36px;height:32px}.house-preview-window.right{left:auto;right:14px}}


/* DAZIVO RPG v0.9.9.21 - dock esquerdo + HUD organizado */
.move-sidebar-btn{font-weight:900;min-width:20px}
.classic-sidebar-left.empty::before{content:'Mova painéis para esta lateral';display:block;padding:8px 7px;border:1px dashed rgba(181,196,202,.35);border-radius:6px;background:rgba(10,16,20,.38);color:#b8c7cf;font-size:9px;line-height:1.35;text-align:center}
.classic-sidebar-left.empty{justify-content:flex-start}
@media(min-width:981px){
  .classic-client{--left-sidebar-w:200px;--sidebar-w:200px;--chat-h:88px}
  .classic-client .rpg-top-left{left:8px!important;right:auto!important;top:8px!important;width:var(--left-sidebar-w)!important;max-width:none!important;padding:8px!important;display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;align-items:center!important}
  .classic-client .rpg-top-left .avatar-pixel{width:44px!important;height:44px!important;flex-basis:44px!important;font-size:18px!important}
  .classic-client .rpg-top-left .player-title b{font-size:12px!important;line-height:1.15!important}
  .classic-client .rpg-top-left .player-meta{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px 6px!important;font-size:8px!important}
  .classic-client .rpg-top-left .player-meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .classic-client .rpg-status{left:8px!important;right:auto!important;top:74px!important;width:112px!important;min-width:112px!important;justify-content:center!important}
  .classic-client .game-view-controls{left:124px!important;right:auto!important;top:74px!important;display:grid!important;grid-template-columns:24px minmax(0,1fr) 24px!important;gap:3px!important;width:84px!important;padding:3px!important}
  .classic-client .game-view-controls button{width:auto!important;min-width:0!important}
  .classic-client .game-view-controls #gameZoomReset{padding:0 3px!important;font-size:8px!important}
  .classic-client .classic-sidebar-left{position:absolute!important;z-index:24!important;display:flex!important;left:8px!important;right:auto!important;top:104px!important;bottom:8px!important;width:var(--left-sidebar-w)!important;padding:5px!important;gap:5px!important;overflow-y:auto!important;overflow-x:hidden!important}
  .classic-client #classicSidebar{left:auto!important;right:8px!important;top:8px!important;bottom:8px!important;width:var(--sidebar-w)!important}
  .classic-client .rpg-chat{width:min(760px,calc(100% - var(--left-sidebar-w) - var(--sidebar-w) - 42px))!important}
  .classic-client .rpg-chat.collapsed{left:calc(var(--left-sidebar-w) + 14px)!important}
  .classic-client .rpg-actionbar{max-width:calc(100% - var(--left-sidebar-w) - var(--sidebar-w) - 42px)!important}
}
@media(max-width:980px){
  #leftSidebar{display:none!important}
}


/* DAZIVO RPG v0.9.9.22 - persistência de layout e chat melhorado */
.classic-client .rpg-chat{border:1px solid #56646d!important;box-shadow:0 10px 24px rgba(0,0,0,.34),inset 0 0 0 1px rgba(255,255,255,.035)!important}
.classic-client .chat-resize-handle{height:7px!important;background:repeating-linear-gradient(90deg,#7b6430 0 12px,#d5ab49 12px 24px)!important;opacity:.96!important;cursor:ns-resize!important;border-bottom:1px solid rgba(0,0,0,.45)!important}
.classic-client .chat-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 8px!important;height:26px!important;flex-basis:26px!important;background:linear-gradient(180deg,#18232c,#10181f)!important;border-bottom:1px solid #44535c!important}
.classic-client .chat-head b{font-size:11px!important;letter-spacing:.04em!important}
.classic-client .chat-head-actions{display:flex;align-items:center;gap:4px}
.classic-client .chat-head-actions button{width:26px!important;height:20px!important;padding:0!important;border:1px solid #5b6871!important;border-radius:4px!important;background:linear-gradient(180deg,#2a363f,#172026)!important;color:#f6fbff!important;font-size:12px!important;font-weight:900!important;cursor:pointer}
.classic-client .chat-head-actions button:hover{border-color:#d0a84e!important;color:#ffd979!important}
.classic-client .chat-tabs{padding:5px 6px!important;gap:4px!important;background:#141c22!important;border-bottom:1px solid #33424a!important}
.classic-client .chat-tabs button{height:24px!important;padding:0 10px!important;border-radius:4px!important;border:1px solid #4d5e68!important;background:#1a252d!important;color:#d6e1e8!important;font-size:10px!important;font-weight:800!important}
.classic-client .chat-tabs button.active{background:linear-gradient(180deg,#e0b858,#b68421)!important;color:#151108!important;border-color:#efc86e!important}
.classic-client .private-hint{font-size:9px!important;color:#a6bbc7!important}
.classic-client .rpg-chat .chat-log{padding:8px 9px!important;background:#0f151a!important;font-size:11px!important;line-height:1.42!important}
.classic-client .chat-line{padding:0!important;margin:0 0 3px!important;border:0!important;background:transparent!important;box-shadow:none!important}
.classic-client .chat-line.system{color:#f0cd79!important}
.classic-client .game-chat-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;padding:6px!important;background:#192229!important;border-top:1px solid #33424a!important}
.classic-client .game-chat-form input{height:34px!important;padding:0 12px!important;border:1px solid #697984!important;border-radius:6px!important;background:#0c1115!important;color:#f3f7fa!important;font-size:13px!important;font-weight:600!important;outline:none!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)!important}
.classic-client .game-chat-form input:focus{border-color:#e0b75b!important;box-shadow:0 0 0 2px rgba(224,183,91,.16)!important}
.classic-client .game-chat-form button{height:34px!important;min-width:78px!important;padding:0 14px!important;border:1px solid #d6aa48!important;border-radius:6px!important;background:linear-gradient(180deg,#eac263,#b88422)!important;color:#16120a!important;font-size:11px!important;font-weight:900!important}
.classic-client .rpg-chat.collapsed{height:28px!important}
@media(min-width:981px){.classic-client{--chat-h:132px!important}.classic-client .rpg-chat{min-height:132px!important}}
@media(max-width:620px){.classic-client .chat-head{height:22px!important;flex-basis:22px!important}.classic-client .chat-head-actions button{width:22px!important;height:18px!important;font-size:10px!important}.classic-client .rpg-chat .chat-log{font-size:9px!important;padding:5px 6px!important}.classic-client .game-chat-form input{height:28px!important;font-size:12px!important}.classic-client .game-chat-form button{height:28px!important;min-width:62px!important;font-size:9px!important}}


/* DAZIVO RPG v0.9.9.24 - chat alinhado ao campo do jogo */
@media(min-width:981px){
  .classic-client .rpg-chat{width:var(--play-width)!important;max-width:var(--play-width)!important}
  .classic-client .rpg-chat.collapsed{width:220px!important;max-width:220px!important}
}


/* DAZIVO RPG v0.9.9.24 - cores do chat e help admin */
.classic-client .chat-line.me{color:#ffffff!important}
.classic-client .chat-line.other{color:#ffd55f!important}
.classic-client .chat-line.support{color:#9fdfff!important}
.classic-client .chat-line.system{color:#f0cd79!important}
.classic-client .game-chat-form button[disabled],.classic-client .game-chat-form input[disabled]{opacity:.72;cursor:not-allowed}


/* DAZIVO RPG v0.9.9.25 - painel admin visual + suporte privado */
.classic-client.admin-mode .classic-sidebar .sidebar-actions{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.classic-client #adminPanelBtn{border-color:#a9852f!important;color:#ffe08a!important;background:linear-gradient(180deg,#3d3117,#1f1a0e)!important}
.classic-client .admin-window{width:min(470px,calc(100% - 28px))!important;max-height:76%!important;padding:10px!important}
.admin-live-status{padding:9px 10px;margin-bottom:8px;border:1px solid #47565f;background:#10181e;color:#dbe8ee;font-size:10px;font-weight:800}
.admin-invis-on{color:#caa8ff}.admin-visible-on{color:#7de79a}
.admin-grid-panel{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.admin-tool-card{display:grid;gap:7px;align-content:start;padding:9px;border:1px solid #354852;background:linear-gradient(180deg,#101a20,#0a1116);min-width:0}
.admin-tool-card h3{margin:0;color:#f1cc71;font-size:12px}.admin-tool-card p{margin:0;font-size:9px;line-height:1.45}
.admin-tool-card label{display:grid;gap:4px;color:#9fb1bc;font-size:8px;font-weight:800;text-transform:uppercase;min-width:0}
.admin-tool-card input,.admin-tool-card select{width:100%;height:30px;min-width:0;border:1px solid #4a5c67;background:#0b1217;color:#edf5f8;padding:0 7px;font-size:11px;outline:none}
.admin-tool-card input:focus,.admin-tool-card select:focus{border-color:#d4ad4f;box-shadow:0 0 0 1px rgba(212,173,79,.18)}
.admin-tool-actions{display:flex;gap:5px;flex-wrap:wrap}.admin-tool-actions .btn{flex:1 1 auto;min-height:30px!important;padding:0 8px!important;font-size:8px!important}
.admin-inline-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:end}.admin-inline-fields .btn{min-height:30px!important;padding:0 9px!important;font-size:8px!important}
.admin-skill-fields{grid-template-columns:minmax(0,1fr) 72px auto}.admin-item-fields{grid-template-columns:minmax(0,1fr) 64px auto}.admin-summon-fields{grid-template-columns:minmax(0,1fr) 64px}.admin-coords{display:grid;grid-template-columns:1fr 1fr 1fr;gap:5px}.admin-help-card{grid-column:1/-1}
.classic-client .help-reply-btn{margin-left:7px;min-height:18px;padding:0 6px;border:1px solid #3f7693;background:#153042;color:#bfeaff;font-size:7px;font-weight:900;cursor:pointer;vertical-align:middle}
.classic-client .help-reply-btn:hover{border-color:#76c8f1;color:#fff}
.classic-client .private-hint #helpReplyCancel{margin-left:5px;height:18px;padding:0 6px;border:1px solid #6f5353;background:#2a1717;color:#ffc8c8;font-size:7px;font-weight:900;cursor:pointer}
.classic-client .chat-line{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.classic-client .chat-line>span{min-width:0;word-break:break-word}
.classic-client #chatDockToggle{width:42px!important;font-size:8px!important}
@media(max-width:620px){.admin-grid-panel{grid-template-columns:1fr}.admin-help-card{grid-column:auto}.classic-client .admin-window{width:calc(100% - 12px)!important;max-height:68%!important}.classic-client #chatDockToggle{width:34px!important;font-size:7px!important}}

/* DAZIVO RPG v0.9.9.26 - chat nas laterais + catalogos admin */
@media(min-width:981px){
  .classic-client.chat-docked-side .rpg-actionbar{bottom:10px!important}
  .classic-client .sidebar-column>.rpg-chat.chat-sidebar-docked{
    position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;
    width:100%!important;max-width:100%!important;min-width:0!important;height:clamp(190px,var(--chat-h),340px)!important;min-height:190px!important;
    flex:0 0 auto!important;z-index:3!important;margin:0!important;border-radius:4px!important;overflow:hidden!important;
  }
  .classic-client .sidebar-column>.rpg-chat.chat-sidebar-docked.collapsed{height:28px!important;min-height:28px!important}
  .classic-client .rpg-chat.chat-sidebar-docked .chat-head{padding:0 5px!important}
  .classic-client .rpg-chat.chat-sidebar-docked .chat-head b{font-size:9px!important}
  .classic-client .rpg-chat.chat-sidebar-docked .chat-head-actions{gap:2px!important}
  .classic-client .rpg-chat.chat-sidebar-docked .chat-head-actions button{width:24px!important;height:18px!important;font-size:9px!important}
  .classic-client .rpg-chat.chat-sidebar-docked #chatDockToggle{width:34px!important}
  .classic-client .rpg-chat.chat-sidebar-docked .chat-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;padding:3px!important;gap:3px!important;flex:0 0 auto!important}
  .classic-client .rpg-chat.chat-sidebar-docked .chat-tabs button{min-width:0!important;height:22px!important;padding:0 3px!important;font-size:8px!important}
  .classic-client .rpg-chat.chat-sidebar-docked .private-hint{grid-column:1/-1;font-size:7px!important;padding:1px 2px!important;white-space:normal!important}
  .classic-client .rpg-chat.chat-sidebar-docked .chat-log{font-size:8px!important;padding:5px!important;min-height:70px!important}
  .classic-client .rpg-chat.chat-sidebar-docked .game-chat-form{grid-template-columns:1fr!important;padding:4px!important;gap:3px!important}
  .classic-client .rpg-chat.chat-sidebar-docked .game-chat-form input{height:29px!important;font-size:10px!important;padding:0 7px!important}
  .classic-client .rpg-chat.chat-sidebar-docked .game-chat-form button{height:26px!important;min-width:0!important;width:100%!important;font-size:9px!important}
  .classic-client .rpg-chat.chat-sidebar-docked .chat-resize-handle{height:5px!important}
}
.admin-catalog-open{width:100%!important;border-color:#b78c31!important;background:linear-gradient(180deg,#51401d,#2d2414)!important;color:#ffe39a!important}
.admin-hub-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.admin-hub-card{min-height:118px;padding:14px;border:1px solid #4c5f6b;border-radius:10px;background:linear-gradient(180deg,#17252e,#0d151b);color:#edf5f8;text-align:left;cursor:pointer;display:grid;align-content:center;gap:6px}.admin-hub-card:hover{border-color:#d2aa4f;box-shadow:inset 0 0 0 1px rgba(210,170,79,.18)}.admin-hub-card b{font-size:15px;color:#ffd878}.admin-hub-card span{font-size:10px;color:#aebfc8;line-height:1.45}
.admin-catalog-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:8px;align-items:end;margin:14px 0 10px}.admin-catalog-toolbar>input,.admin-catalog-toolbar label input{width:100%;height:38px;border:1px solid #4b5d68;border-radius:6px;background:#0b1217;color:#f3f7f9;padding:0 10px;font-size:12px}.admin-catalog-toolbar label{display:grid;gap:4px;font-size:9px;color:#9eb0bb;font-weight:800;text-transform:uppercase}.admin-catalog-note{margin:0 0 10px!important;font-size:10px!important}
.admin-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:58vh;overflow:auto;padding-right:3px}.admin-catalog-card{min-width:0;padding:9px;border:1px solid #354752;border-radius:8px;background:linear-gradient(180deg,#10191f,#0a1015);display:grid;grid-template-columns:64px minmax(0,1fr);gap:9px;align-items:center}.admin-catalog-card.item-card{grid-template-columns:56px minmax(0,1fr);}.admin-catalog-card.item-card>.btn{grid-column:1/-1;min-height:30px!important;font-size:9px!important}.admin-catalog-info{min-width:0;display:grid;gap:3px}.admin-catalog-info b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-catalog-info small{font-size:8px;color:#9fb0b8;line-height:1.35}.admin-monster-thumb{width:64px;height:64px;display:grid;place-items:center;border:1px solid #44565f;border-radius:8px;background:radial-gradient(circle at 50% 38%,rgba(255,255,255,.08),rgba(6,11,14,.8));overflow:hidden}.admin-monster-thumb.boss{border-color:#a76342;box-shadow:inset 0 0 14px rgba(255,95,47,.14)}.admin-monster-thumb svg{width:58px;height:58px}.admin-item-thumb{width:54px;height:54px;display:grid;place-items:center;border:1px solid #44565f;border-radius:8px;background:#0b1217}.admin-item-thumb .item-glyph.visual-item{width:46px!important;height:46px!important}.admin-catalog-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:5px}.admin-catalog-actions .btn{min-height:29px!important;font-size:8px!important}
@media(max-width:700px){.admin-hub-grid,.admin-catalog-grid{grid-template-columns:1fr}.admin-catalog-toolbar{grid-template-columns:1fr 100px}.admin-catalog-grid{max-height:52vh}}


/* DAZIVO RPG v0.9.9.27 - campo desktop ampliado + chat lateral por conversa */
@media(min-width:981px){
  .classic-client.chat-docked-side .rpg-actionbar{bottom:4px!important}
  .classic-client .rpg-viewport canvas#gameCanvas{border-width:2px!important}
  .classic-client .sidebar-column>.rpg-chat.chat-sidebar-docked{height:clamp(205px,var(--chat-h),420px)!important;min-height:205px!important}
  .classic-client .rpg-chat.chat-sidebar-docked .chat-tabs{display:flex!important;flex-wrap:wrap!important;align-content:flex-start!important;grid-template-columns:none!important;max-height:78px!important;overflow-y:auto!important;padding:3px!important;gap:3px!important}
  .classic-client .rpg-chat.chat-sidebar-docked .chat-tabs button{flex:0 1 auto!important;max-width:100%!important;min-width:52px!important;padding:0 6px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .classic-client .rpg-chat.chat-sidebar-docked .chat-tabs .private-chat-tab{border-color:#5a4875!important;color:#e2d4ff!important;background:#211a2a!important}
  .classic-client .rpg-chat.chat-sidebar-docked .chat-tabs .private-chat-tab.active{background:#6a4b8d!important;border-color:#a783ce!important;color:#fff!important}
  .classic-client .rpg-chat.chat-sidebar-docked .private-hint{flex:1 0 100%!important;width:100%!important}
}
.classic-client .chat-channel-label{display:inline-block;margin-right:4px;padding:1px 4px;border:1px solid #46545e;border-radius:3px;background:#182127;color:#a9c2d0;font-size:.82em;font-style:normal;font-weight:900}
.classic-client .chat-tabs .private-chat-tab{border-color:#5a4875!important;color:#e2d4ff!important}


/* DAZIVO RPG v0.9.9.29 - catálogo público de itens */
.items-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.5fr);gap:18px;align-items:stretch;margin-bottom:18px}.items-hero h1{margin:8px 0 10px;font-size:clamp(30px,5vw,52px)}.items-hero p{max-width:780px;color:var(--muted);line-height:1.6}.items-balance-note{display:flex;flex-direction:column;justify-content:center;gap:7px;padding:18px;border:1px solid #5c4d28;border-radius:16px;background:linear-gradient(160deg,rgba(236,184,74,.14),rgba(21,31,40,.96));box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}.items-balance-note b{color:#f5cf73;font-size:16px}.items-balance-note span{color:#c6d1d8;line-height:1.45;font-size:13px}
.items-filter{margin-bottom:14px;padding:14px!important}.items-filter-grid{display:grid;grid-template-columns:minmax(180px,1.6fr) repeat(5,minmax(130px,1fr));gap:10px;margin-bottom:12px}.items-filter label{display:grid;gap:5px;color:#9fb1bd;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.items-filter input,.items-filter select{width:100%;height:40px;padding:0 10px;border:1px solid #354a58;border-radius:8px;background:#0d161d;color:#eef6fb;outline:none}.items-filter input:focus,.items-filter select:focus{border-color:#d4ad52;box-shadow:0 0 0 2px rgba(212,173,82,.12)}
.item-category-strip{display:flex;gap:7px;overflow-x:auto;padding:3px 1px 12px;scrollbar-width:thin}.item-category-pill{flex:0 0 auto;display:flex;align-items:center;gap:7px;min-height:35px;padding:0 12px;border:1px solid #344956;border-radius:999px;background:#111a21;color:#dbe5eb;font-size:12px;font-weight:800}.item-category-pill b{display:grid;place-items:center;min-width:22px;height:20px;padding:0 5px;border-radius:999px;background:#24333d;color:#a9c1cf;font-size:10px}.item-category-pill.active{border-color:#d0a446;background:#5a4721;color:#fff4ce}.item-category-pill.active b{background:#e0b552;color:#1c1608}
.items-result-head{display:flex;justify-content:space-between;gap:12px;margin:4px 0 12px;color:#9fb1bd;font-size:12px}.items-result-head b{color:#fff}
.item-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.item-catalog-card{min-width:0;padding:13px;border:1px solid #2f424e;border-radius:14px;background:linear-gradient(180deg,rgba(22,33,43,.96),rgba(12,20,27,.98));box-shadow:0 8px 22px rgba(0,0,0,.16)}.item-catalog-top{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center;padding-bottom:11px;border-bottom:1px solid #263943}.item-catalog-top img{width:76px;height:76px;display:block;image-rendering:auto;filter:drop-shadow(0 7px 8px rgba(0,0,0,.25))}.item-catalog-top h2{font-size:16px;line-height:1.18;margin:4px 0;color:#f5f8fa}.item-catalog-top small{color:#8ea2af;font-size:10px}.item-type-label{display:inline-flex;min-height:20px;align-items:center;padding:0 7px;border-radius:999px;background:#24343f;color:#d5e4ed;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.item-spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:10px}.item-spec-grid>div{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:7px 8px;border:1px solid #263943;border-radius:7px;background:#0c151b}.item-spec-grid span{color:#849aa8;font-size:9px}.item-spec-grid b{color:#edf5fa;font-size:10px;text-align:right}.item-spec-grid .range-spec{border-color:#715a25;background:linear-gradient(180deg,#1e1a10,#111517)}.item-spec-grid .range-spec b{color:#f4cf70}.item-price-row{display:flex;justify-content:space-between;gap:8px;margin-top:9px;padding-top:9px;border-top:1px solid #263943;color:#8fa4b0;font-size:10px}.item-price-row b{color:#edc866}.item-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:22px}.item-page-numbers{display:flex;gap:5px}.item-page-numbers a{display:grid;place-items:center;width:34px;height:34px;border:1px solid #344956;border-radius:7px;background:#111a21;color:#dce6ec;font-size:12px;font-weight:800}.item-page-numbers a.active{background:#c99a35;color:#171107;border-color:#e5bd62}.item-pagination .disabled{opacity:.4;pointer-events:none}
@media(max-width:1050px){.items-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.item-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.items-hero{grid-template-columns:1fr}.items-filter-grid{grid-template-columns:1fr 1fr}.item-catalog-grid{grid-template-columns:1fr}.item-catalog-top{grid-template-columns:66px minmax(0,1fr)}.item-catalog-top img{width:66px;height:66px}.items-result-head{flex-direction:column;gap:3px}.item-pagination{gap:6px}.item-page-numbers a{width:30px;height:30px}}
@media(max-width:430px){.items-filter-grid{grid-template-columns:1fr}.item-spec-grid{grid-template-columns:1fr 1fr}.item-price-row{flex-direction:column}}

.bow-balance-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:-4px 0 14px}.bow-balance-strip>div{display:grid;gap:3px;padding:10px;border:1px solid #3c4b54;border-radius:9px;background:#10181e}.bow-balance-strip small{color:#8fa2ad;font-size:8px;font-weight:900}.bow-balance-strip b{color:#edf4f7;font-size:10px}.bow-balance-strip span{color:#f2ca69;font-size:12px;font-weight:900}@media(max-width:900px){.bow-balance-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:430px){.bow-balance-strip{grid-template-columns:1fr}}

/* DAZIVO RPG v0.9.9.30 - Bestiário visual */
.bestiary-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:22px;align-items:center;margin-bottom:18px}.bestiary-hero h1{font-size:clamp(36px,5vw,58px);margin:8px 0 12px}.bestiary-hero p{max-width:850px;color:var(--muted);font-size:16px;line-height:1.65}.bestiary-rarity-legend{display:flex;flex-wrap:wrap;gap:7px;padding:16px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(180deg,#17232c,#0e171d)}.bestiary-rarity-legend>b{width:100%;margin-bottom:3px;color:#edf5fa}.loot-rarity{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:0 8px;border-radius:999px;border:1px solid transparent;font-size:9px;font-weight:900;white-space:nowrap;text-transform:uppercase;letter-spacing:.035em}.loot-rarity.always{background:#173e2a;border-color:#2c8153;color:#aef1c3}.loot-rarity.common{background:#1e3c46;border-color:#3a7d91;color:#b9eaff}.loot-rarity.sometimes{background:#463a19;border-color:#91732e;color:#f4d878}.loot-rarity.rare{background:#4b2818;border-color:#9e5830;color:#ffc18c}.loot-rarity.very-rare{background:#451d39;border-color:#9f487e;color:#ffb6e5}.bestiary-filter{margin-bottom:16px}.bestiary-filter-grid{display:grid;grid-template-columns:2fr 1fr repeat(4,minmax(110px,1fr));gap:10px}.bestiary-filter-grid label{display:grid;gap:5px;color:#9fb2bd;font-size:10px;font-weight:800}.bestiary-filter-grid input,.bestiary-filter-grid select{width:100%;height:40px;border:1px solid #344a56;border-radius:8px;background:#0d161c;color:#edf5fa;padding:0 10px}.bestiary-filter-actions{display:flex;gap:8px;margin-top:12px}.bestiary-result-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:15px 2px;color:#9fb1bc;font-size:12px}.bestiary-result-head b{color:#eef5f8}.bestiary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bestiary-card{overflow:hidden;border:1px solid #30434e;border-radius:16px;background:linear-gradient(180deg,rgba(21,32,41,.98),rgba(10,17,23,.98));box-shadow:0 10px 25px rgba(0,0,0,.17)}.bestiary-card.is-boss{border-color:#75503e;box-shadow:0 12px 30px rgba(95,40,24,.16)}.bestiary-card-top{display:grid;grid-template-columns:102px minmax(0,1fr);gap:14px;align-items:center;padding:14px;border-bottom:1px solid #263842}.monster-catalog-image{width:102px;height:102px;display:block;border-radius:13px;filter:drop-shadow(0 8px 10px rgba(0,0,0,.3))}.bestiary-title-row{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.bestiary-title-row h2{margin:0;font-size:20px;color:#f4f8fa;line-height:1.15}.monster-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px}.monster-specs span{display:flex;justify-content:space-between;gap:5px;padding:6px 7px;border:1px solid #2a3c46;border-radius:7px;background:#0d161b;color:#8097a5;font-size:9px}.monster-specs b{color:#e9f2f7}.bestiary-drop-head{display:flex;justify-content:space-between;align-items:center;padding:10px 13px 7px}.bestiary-drop-head h3{margin:0;font-size:13px}.bestiary-drop-head span{color:#7f97a4;font-size:9px}.bestiary-drop-list{display:grid;gap:6px;padding:0 10px 12px}.bestiary-drop-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px;border:1px solid #263943;border-radius:9px;background:#0b141a}.bestiary-drop-row>img{width:52px;height:52px;display:block}.drop-info{min-width:0;display:grid;gap:2px}.drop-info>b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#edf4f7}.drop-info small{color:#8299a6;font-size:8px;line-height:1.35}.drop-info strong{color:#edc866}.drop-chance{display:grid;gap:4px;justify-items:end}.drop-chance>b{font-size:10px;color:#f1f5f7}.bestiary-no-drop{padding:0 13px 14px;margin:0}
@media(max-width:1050px){.bestiary-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bestiary-grid{grid-template-columns:1fr}}
@media(max-width:700px){.bestiary-hero{grid-template-columns:1fr}.bestiary-filter-grid{grid-template-columns:1fr 1fr}.bestiary-card-top{grid-template-columns:80px minmax(0,1fr)}.monster-catalog-image{width:80px;height:80px}.monster-specs{grid-template-columns:1fr 1fr}.bestiary-drop-row{grid-template-columns:46px minmax(0,1fr)}.bestiary-drop-row>img{width:46px;height:46px}.drop-chance{grid-column:2;grid-row:2;justify-items:start;grid-template-columns:auto auto;align-items:center}.bestiary-title-row h2{font-size:17px}}
@media(max-width:470px){.bestiary-filter-grid{grid-template-columns:1fr}.bestiary-drop-row{grid-template-columns:42px minmax(0,1fr)}.bestiary-drop-row>img{width:42px;height:42px}}


/* DAZIVO RPG v0.9.9.32 - outfit rico */
.outfit-preview-rich{grid-template-columns:220px 1fr;align-items:start}
.outfit-preview-panel{display:grid;gap:10px}
.outfit-preview-panel canvas{width:200px;height:230px;border:1px solid #4c6070;background:linear-gradient(180deg,#0f1b27,#081118);border-radius:10px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}
.outfit-preview-actions{display:flex;gap:6px;flex-wrap:wrap}
.outfit-preview-actions .btn.small{padding:7px 10px;height:auto}
.outfit-preview-actions .btn.active,.outfit-preview-actions button.active{border-color:#f0c46a!important;background:linear-gradient(180deg,#eec868,#bf8a25)!important;color:#19140a!important}
.outfit-model-note{margin-top:10px;padding:10px 12px;border:1px solid #384651;border-radius:8px;background:#10181f;display:grid;gap:4px}
.outfit-model-note strong{font-size:13px;color:#f7d37a}.outfit-model-note span{font-size:11px;color:#b9c7d0;line-height:1.35}
@media(max-width:760px){.outfit-preview-rich{grid-template-columns:1fr}.outfit-preview-panel canvas{width:170px;height:200px;justify-self:center}.outfit-preview-actions{justify-content:center}}


/* DAZIVO RPG v0.9.9.33 - mão, loot drag, outfits retro */
.classic-client #gameCanvas{cursor:grab!important}
.classic-client #gameCanvas:active,.classic-client #gameCanvas.loot-dragging{cursor:grabbing!important}
.outfit-model-note{box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)}


/* v0.9.9.37 mobile start + npc merchant polish */
.mobile-start-overlay{position:absolute;inset:0;z-index:60;display:grid;place-items:center;padding:18px;background:linear-gradient(180deg,rgba(4,8,11,.90),rgba(9,16,21,.96));backdrop-filter:blur(10px)}
.mobile-start-card{width:min(420px,100%);display:grid;gap:12px;padding:18px;border-radius:18px;background:linear-gradient(180deg,rgba(7,16,22,.98),rgba(10,20,28,.96));border:1px solid rgba(109,145,171,.35);box-shadow:0 24px 70px rgba(0,0,0,.38)}
.mobile-start-card h2{margin:0;font-size:28px;line-height:1.05}.mobile-start-card p{margin:0;color:#d5e4ee;line-height:1.55}.mobile-start-card ul{margin:0;padding-left:18px;color:#9fb0bf;display:grid;gap:6px;font-size:14px}.mobile-start-actions{display:flex;gap:10px;flex-wrap:wrap}.mobile-start-actions .btn{flex:1 1 160px}
@media(min-width:901px){.mobile-start-overlay{display:none!important}}
@media(max-width:900px){body.game-page .site-main{width:100%;padding:0}.mobile-start-card h2{font-size:24px}}
.merchant-shop{display:grid;gap:14px}.merchant-shop-tabs,.merchant-shop-categories{display:flex;gap:8px;flex-wrap:wrap}.merchant-shop-tabs button,.merchant-shop-categories button{min-height:38px;padding:0 14px;border-radius:999px;border:1px solid #345065;background:#11202c;color:#d8e5ee;font-weight:800;cursor:pointer}.merchant-shop-tabs button.active,.merchant-shop-categories button.active{background:linear-gradient(180deg,#f6c65e,#d99b2a);color:#1b160b;border-color:#d2a044}.merchant-shop-panel{display:none;gap:12px}.merchant-shop-panel.active{display:grid}.merchant-shop-category-panel{display:none;gap:10px}.merchant-shop-category-panel.active{display:grid}.shop-row.visual{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid #294254;border-radius:14px;background:linear-gradient(180deg,rgba(10,18,24,.86),rgba(9,16,21,.96))}.shop-row.visual.unowned{opacity:.52;filter:saturate(.72)}.shop-row .shop-meta{display:grid;gap:2px}.shop-row .shop-meta small{color:#98aebd;line-height:1.45}.shop-row .shop-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.merchant-empty{padding:14px;border:1px dashed rgba(142,164,178,.32);border-radius:12px;background:rgba(255,255,255,.03);color:#a9bbc6}.merchant-specialty{display:flex;gap:8px;flex-wrap:wrap}.merchant-specialty span{padding:5px 10px;border-radius:999px;background:#132231;border:1px solid #304b5e;color:#d8e6ef;font-size:12px;font-weight:800}

/* v0.9.9.38 bestiario mobile + loja NPC quantitativa */
@media(max-width:700px){
  .bestiary-hero{gap:10px;margin-bottom:10px}.bestiary-hero h1{font-size:32px;margin:5px 0 7px}.bestiary-hero p{font-size:13px;line-height:1.45;margin:0}.bestiary-rarity-legend{padding:10px;border-radius:12px;display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;scrollbar-width:none}.bestiary-rarity-legend::-webkit-scrollbar{display:none}.bestiary-rarity-legend>b{position:sticky;left:0;min-width:max-content;width:auto;padding-right:7px;background:#121c24;z-index:1}.bestiary-filter{padding:10px!important;border-radius:12px}.bestiary-filter-grid{grid-template-columns:1fr 1fr;gap:7px}.bestiary-filter-grid label:first-child{grid-column:1/-1}.bestiary-filter-grid input,.bestiary-filter-grid select{height:38px;font-size:12px}.bestiary-filter-actions{margin-top:8px}.bestiary-filter-actions .btn{min-height:38px;flex:1}.bestiary-result-head{margin:10px 2px;font-size:10px}.bestiary-grid{gap:10px}.bestiary-card{border-radius:13px}.bestiary-card-top{grid-template-columns:88px minmax(0,1fr);gap:10px;padding:10px}.monster-catalog-image{width:88px;height:88px;border-radius:10px}.bestiary-title-row h2{font-size:16px}.monster-specs{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:7px}.monster-specs span{padding:5px 6px;font-size:8px}.bestiary-drop-head{padding:8px 10px 6px}.bestiary-drop-list{padding:0 7px 9px;gap:5px}.bestiary-drop-row{grid-template-columns:48px minmax(0,1fr) auto;gap:7px;padding:6px}.bestiary-drop-row>img{width:48px;height:48px}.drop-info>b{font-size:10px}.drop-info small{font-size:7.5px}.drop-chance{grid-column:auto;grid-row:auto;justify-items:end;grid-template-columns:1fr}.loot-rarity{font-size:7px;padding:0 6px;min-height:19px}.item-pagination{position:sticky;bottom:6px;z-index:8;padding:7px;border-radius:12px;background:rgba(8,14,18,.94);backdrop-filter:blur(8px);border:1px solid #2e424d}.item-pagination .btn{min-height:34px;padding:0 10px}.item-page-numbers a{min-width:30px;height:30px}
}
@media(max-width:460px){.bestiary-filter-grid{grid-template-columns:1fr}.bestiary-filter-grid label:first-child{grid-column:auto}.bestiary-card-top{grid-template-columns:76px minmax(0,1fr)}.monster-catalog-image{width:76px;height:76px}.bestiary-drop-row{grid-template-columns:44px minmax(0,1fr)}.bestiary-drop-row>img{width:44px;height:44px}.drop-chance{grid-column:2;justify-items:start;grid-template-columns:auto auto}.bestiary-title-row{align-items:center}.bestiary-title-row .tag{font-size:8px}}
.merchant-shop .visual-item{width:54px;height:54px}.merchant-shop .shop-row.visual strong{color:#f5c862}.merchant-shop .shop-row.visual button[disabled]{opacity:.45;cursor:not-allowed}.merchant-shop-tabs{position:sticky;top:0;z-index:3;padding:5px 0;background:#0c151b}.merchant-shop-categories{position:sticky;top:48px;z-index:2;padding:4px 0;background:#0c151b}@media(max-width:620px){.merchant-shop .shop-row.visual{grid-template-columns:48px minmax(0,1fr);gap:8px}.merchant-shop .visual-item{width:48px;height:48px}.merchant-shop .shop-actions{grid-column:1/-1;justify-content:stretch}.merchant-shop .shop-actions .btn{flex:1}.merchant-shop-tabs,.merchant-shop-categories{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.merchant-shop-tabs::-webkit-scrollbar,.merchant-shop-categories::-webkit-scrollbar{display:none}.merchant-shop-tabs button,.merchant-shop-categories button{white-space:nowrap;min-height:34px;padding:0 11px;font-size:11px}}


/* v0.9.9.39 - correção do botão Iniciar Jogo no mobile */
.mobile-start-overlay[hidden]{display:none!important;visibility:hidden!important;pointer-events:none!important}
.mobile-start-overlay[aria-hidden="true"]{display:none!important;visibility:hidden!important;pointer-events:none!important}


/* DAZIVO RPG v0.9.9.40 - cliente mobile landscape estilo RPG portátil */
.mobile-panel-switcher{display:none}
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client.game-page{overflow:hidden!important;background:#071017!important}
  body.mobile-game-client.game-page .site-main{position:fixed!important;inset:0!important;width:100%!important;max-width:none!important;height:100dvh!important;margin:0!important;padding:0!important;overflow:hidden!important}
  body.mobile-game-client.game-page .footer,body.mobile-game-client.game-page>.topbar{display:none!important}
  body.mobile-game-client .rpg-client{height:100dvh!important;width:100vw!important;min-height:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;--chat-h:180px}
  body.mobile-game-client .rpg-viewport{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;overflow:hidden!important;background:#252b28!important}
  body.mobile-game-client .rpg-viewport::before,body.mobile-game-client .rpg-viewport::after{display:none!important}
  body.mobile-game-client .classic-sidebar-left{display:none!important}

  /* HUD da esquerda: vida/mana em cima e direcional grande embaixo */
  body.mobile-game-client .rpg-top-left{position:absolute!important;left:5px!important;top:5px!important;right:auto!important;width:calc(var(--mobile-left-dock,132px) - 10px)!important;max-width:none!important;min-width:0!important;height:auto!important;padding:6px!important;z-index:33!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:5px!important;border-radius:8px!important;background:rgba(9,18,24,.94)!important}
  body.mobile-game-client .rpg-top-left .avatar-pixel{display:grid!important;width:34px!important;height:42px!important;min-width:34px!important;font-size:13px!important;border-radius:6px!important}
  body.mobile-game-client .rpg-top-left .player-title{display:grid!important;grid-template-columns:1fr!important;gap:2px!important;padding:0!important}
  body.mobile-game-client .rpg-top-left .player-title>b{font-size:8px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.mobile-game-client .rpg-top-left .skull-badge{font-size:5px!important;width:max-content!important;padding:1px 3px!important}
  body.mobile-game-client .rpg-top-left .compact-bar{height:10px!important;margin-top:3px!important;border-radius:2px!important}
  body.mobile-game-client .rpg-top-left .compact-bar b{font-size:7px!important;line-height:9px!important}
  body.mobile-game-client .rpg-top-left .player-meta{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:2px!important;font-size:6px!important}
  body.mobile-game-client .rpg-top-left .player-meta span:last-child{display:none!important}
  body.mobile-game-client .rpg-status{position:absolute!important;left:5px!important;top:100px!important;width:calc(var(--mobile-left-dock,132px) - 10px)!important;min-width:0!important;height:25px!important;padding:0 5px!important;justify-content:center!important;font-size:7px!important;z-index:33!important}
  body.mobile-game-client .game-view-controls{position:absolute!important;left:5px!important;top:130px!important;right:auto!important;width:calc(var(--mobile-left-dock,132px) - 10px)!important;height:27px!important;grid-template-columns:28px minmax(0,1fr) 28px!important;gap:2px!important;padding:2px!important;z-index:33!important}
  body.mobile-game-client .game-view-controls button{height:22px!important;min-width:0!important;font-size:8px!important}
  body.mobile-game-client #bagDockToggle{display:none!important}

  body.mobile-game-client .mobile-dpad{display:grid!important;position:absolute!important;left:6px!important;bottom:6px!important;top:auto!important;width:calc(var(--mobile-left-dock,132px) - 12px)!important;height:auto!important;padding:3px!important;grid-template-columns:repeat(3,1fr)!important;grid-template-rows:repeat(3,1fr)!important;gap:4px!important;background:rgba(7,14,19,.78)!important;border:1px solid rgba(107,132,147,.40)!important;border-radius:18px!important;z-index:36!important;box-shadow:0 8px 22px rgba(0,0,0,.32)!important}
  body.mobile-game-client .mobile-dpad button{aspect-ratio:1/1!important;width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;border-radius:14px!important;background:linear-gradient(180deg,rgba(39,54,63,.94),rgba(17,27,33,.96))!important;border:1px solid rgba(139,162,176,.48)!important;font-size:15px!important;color:#f1f6f8!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)!important}
  body.mobile-game-client .mobile-dpad button:active{transform:scale(.94)!important;background:linear-gradient(180deg,#604d25,#342817)!important;border-color:#d5ac50!important}
  body.mobile-game-client .mobile-dpad .dpad-center{opacity:.26!important}

  /* campo central fica dominante */
  body.mobile-game-client .rpg-viewport canvas#gameCanvas{border:2px solid #64747c!important;border-radius:2px!important;box-shadow:0 0 0 1px #0a1014,0 10px 24px rgba(0,0,0,.28)!important;background:#1b2520!important;object-fit:fill!important;aspect-ratio:auto!important}
  body.mobile-game-client .target-card{z-index:38!important;top:7px!important;left:calc(var(--mobile-left-dock,132px) + 14px)!important;right:auto!important;width:min(250px,38vw)!important;padding:6px 8px!important;border-radius:7px!important;background:rgba(9,17,23,.91)!important}
  body.mobile-game-client .target-card small{font-size:6px!important}body.mobile-game-client .target-card b{font-size:10px!important}

  /* barra de ação igual barra inferior de RPG portátil */
  body.mobile-game-client .rpg-actionbar{position:absolute!important;height:54px!important;min-height:54px!important;padding:3px!important;gap:3px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;background:rgba(7,14,18,.96)!important;border-radius:6px!important;z-index:35!important;justify-content:flex-start!important}
  body.mobile-game-client .rpg-actionbar::-webkit-scrollbar{display:none!important}
  body.mobile-game-client .rpg-actionbar>button,body.mobile-game-client .rpg-skillbar button{flex:0 0 48px!important;width:48px!important;min-width:48px!important;height:46px!important;min-height:46px!important;border-radius:5px!important}
  body.mobile-game-client .rpg-actionbar button b{font-size:9px!important}body.mobile-game-client .rpg-actionbar button span{display:block!important;font-size:5px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.mobile-game-client .rpg-skillbar{display:flex!important;gap:3px!important;flex:0 0 auto!important}

  /* coluna direita compacta: apenas um painel por vez */
  body.mobile-game-client .classic-sidebar{position:absolute!important;display:flex!important;right:5px!important;left:auto!important;top:5px!important;bottom:5px!important;width:calc(var(--mobile-right-dock,136px) - 10px)!important;padding:4px!important;gap:4px!important;overflow:hidden!important;z-index:34!important;background:rgba(9,17,22,.94)!important;border:1px solid rgba(90,112,124,.55)!important;border-radius:5px!important;backdrop-filter:none!important}
  body.mobile-game-client .classic-sidebar .sidebar-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important;flex:0 0 auto!important}
  body.mobile-game-client .classic-sidebar .sidebar-actions button,body.mobile-game-client .classic-sidebar .sidebar-actions a{height:24px!important;font-size:6px!important;padding:0!important}
  body.mobile-game-client .classic-client.admin-mode .classic-sidebar .sidebar-actions{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  body.mobile-game-client .mobile-panel-switcher{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:2px!important;flex:0 0 auto!important}
  body.mobile-game-client .mobile-panel-switcher button{height:25px!important;min-width:0!important;padding:0!important;border:1px solid #42535d!important;border-radius:3px!important;background:#121c22!important;color:#cbd8de!important;font-size:6px!important;font-weight:900!important}
  body.mobile-game-client .mobile-panel-switcher button.active{background:linear-gradient(180deg,#d9b45b,#9c711e)!important;color:#161108!important;border-color:#e3be64!important}
  body.mobile-game-client .classic-sidebar>[data-sidebar-block]{display:none!important;min-height:0!important;overflow:auto!important;flex:1 1 auto!important;margin:0!important}
  body.mobile-game-client .classic-sidebar>[data-sidebar-block].mobile-panel-active{display:flex!important;flex-direction:column!important}
  body.mobile-game-client .classic-sidebar #progressSection,body.mobile-game-client .classic-sidebar #skillsSection{display:none!important}
  body.mobile-game-client .classic-sidebar .move-sidebar-btn,body.mobile-game-client .classic-sidebar .sidebar-drag-handle[draggable="true"]{cursor:default!important}
  body.mobile-game-client .classic-sidebar .move-sidebar-btn{display:none!important}
  body.mobile-game-client .classic-sidebar .minimap-box #miniMapCanvas{height:auto!important;min-height:0!important;flex:1 1 auto!important;width:100%!important;max-height:170px!important}
  body.mobile-game-client .classic-sidebar .minimap-title{height:20px!important;min-height:20px!important}.classic-sidebar .minimap-toolbar{gap:2px!important}
  body.mobile-game-client .classic-sidebar .battle-box .battle-list{height:auto!important;min-height:70px!important;flex:1 1 auto!important}
  body.mobile-game-client .classic-sidebar .backpack-section .container-body,body.mobile-game-client .classic-sidebar .equipment-section .container-body{display:flex!important;flex-direction:column!important;min-height:0!important;flex:1 1 auto!important}
  body.mobile-game-client .classic-sidebar .backpack-section #inventoryBox{height:auto!important;min-height:96px!important;max-height:none!important;flex:1 1 auto!important;overflow-y:auto!important}
  body.mobile-game-client .classic-sidebar #corpseDock{display:none!important}

  /* Chat começa minimizado e só ocupa o mapa quando o jogador abre */
  body.mobile-game-client .rpg-chat{z-index:50!important;border-radius:7px!important;background:rgba(7,15,20,.97)!important}
  body.mobile-game-client .rpg-chat.collapsed{height:28px!important;min-height:28px!important;overflow:hidden!important}
  body.mobile-game-client .rpg-chat.collapsed .chat-head{height:28px!important;min-height:28px!important;border:0!important}
  body.mobile-game-client .rpg-chat.collapsed .chat-resize-handle,body.mobile-game-client .rpg-chat.collapsed .chat-tabs,body.mobile-game-client .rpg-chat.collapsed .chat-log,body.mobile-game-client .rpg-chat.collapsed .game-chat-form{display:none!important}
  body.mobile-game-client .rpg-chat:not(.collapsed){height:min(190px,48vh)!important;min-height:150px!important}
  body.mobile-game-client .rpg-chat:not(.collapsed) .chat-log{min-height:50px!important;font-size:9px!important}
  body.mobile-game-client .rpg-chat:not(.collapsed) .game-chat-form input{font-size:12px!important;height:30px!important}
  body.mobile-game-client #chatDockToggle,body.mobile-game-client #chatSmaller,body.mobile-game-client #chatLarger{display:none!important}

  /* drawers e modais ocupam a tela de forma prática, sem esmagar o mapa permanentemente */
  body.mobile-game-client .game-drawer{position:absolute!important;left:calc(var(--mobile-left-dock,132px) + 8px)!important;right:calc(var(--mobile-right-dock,136px) + 8px)!important;top:8px!important;bottom:64px!important;width:auto!important;max-width:none!important;max-height:none!important;overflow:auto!important;z-index:55!important;border-radius:8px!important}
  body.mobile-game-client .game-modal-card{width:min(720px,calc(100% - 22px))!important;max-height:88dvh!important;border-radius:12px!important}
}
@media (hover:none) and (pointer:coarse) and (orientation:portrait){
  body.mobile-game-client .rpg-client{visibility:hidden!important}
  body.mobile-game-client .mobile-start-overlay{visibility:visible!important}
}


/* DAZIVO RPG v0.9.9.41 - PvP skull + mobile lateral refinado */
.quantity-picker-value{display:grid;place-items:center;width:100%;height:36px;border:1px solid #52646d;border-radius:5px;background:#091014;color:#fff;font-size:15px;font-weight:900;user-select:none}
.quantity-picker-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:7px}.quantity-picker-quick button{height:32px;border:1px solid #41515a;border-radius:5px;background:#182229;color:#ecf3f6;font-weight:900;font-size:10px}
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client .rpg-top-left{width:calc(var(--mobile-left-dock,190px) - 10px)!important;padding:8px!important;grid-template-columns:46px minmax(0,1fr)!important;gap:7px!important;border-radius:10px!important}
  body.mobile-game-client .rpg-top-left .avatar-pixel{width:46px!important;height:58px!important;min-width:46px!important;font-size:17px!important}
  body.mobile-game-client .rpg-top-left .player-title>b{font-size:10px!important;line-height:1.25!important}
  body.mobile-game-client .rpg-top-left .skull-badge{font-size:6px!important;padding:2px 5px!important}
  body.mobile-game-client .rpg-top-left .compact-bar{height:13px!important;margin-top:4px!important}
  body.mobile-game-client .rpg-top-left .compact-bar b{font-size:8px!important;line-height:12px!important}
  body.mobile-game-client .rpg-top-left .player-meta{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px 5px!important;font-size:7px!important;line-height:1.25!important;margin-top:2px!important}
  body.mobile-game-client .rpg-top-left .player-meta span{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important}
  body.mobile-game-client .rpg-status{left:5px!important;top:103px!important;width:calc(var(--mobile-left-dock,190px) - 10px)!important;height:28px!important;font-size:8px!important;border-radius:7px!important}
  body.mobile-game-client .game-view-controls{left:5px!important;top:136px!important;width:calc(var(--mobile-left-dock,190px) - 10px)!important;height:28px!important;grid-template-columns:34px minmax(0,1fr) 34px!important}
  body.mobile-game-client .game-view-controls button{height:23px!important;font-size:9px!important}
  body.mobile-game-client .rpg-chat.collapsed{top:168px!important;width:calc(var(--mobile-left-dock,190px) - 12px)!important;max-width:calc(var(--mobile-left-dock,190px) - 12px)!important}
  body.mobile-game-client .rpg-chat.collapsed .chat-head{padding:0 8px!important}.classic-client .rpg-chat.collapsed .chat-head b{font-size:10px!important}
  body.mobile-game-client .mobile-dpad{width:calc(var(--mobile-left-dock,190px) - 12px)!important;max-height:190px!important;border-radius:20px!important}
  body.mobile-game-client .mobile-dpad button{font-size:18px!important;border-radius:16px!important}

  body.mobile-game-client .classic-sidebar{width:calc(var(--mobile-right-dock,218px) - 10px)!important;padding:6px!important;gap:6px!important;border-radius:8px!important}
  body.mobile-game-client .classic-sidebar .sidebar-actions button,body.mobile-game-client .classic-sidebar .sidebar-actions a{height:28px!important;font-size:7px!important;border-radius:4px!important}
  body.mobile-game-client .mobile-panel-switcher button{height:30px!important;font-size:7px!important;border-radius:5px!important}
  body.mobile-game-client .classic-sidebar .container-heading h3,body.mobile-game-client .classic-sidebar .sidebar-title b{font-size:11px!important}
  body.mobile-game-client .classic-sidebar .container-heading{min-height:24px!important}
  body.mobile-game-client .classic-sidebar .container-toggle{width:22px!important;height:21px!important;font-size:9px!important}

  body.mobile-game-client .classic-sidebar .minimap-box{align-items:stretch!important}
  body.mobile-game-client .classic-sidebar .minimap-box #miniMapCanvas{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:204/146!important;flex:0 0 auto!important;object-fit:contain!important;background:#081116!important}
  body.mobile-game-client .classic-sidebar .minimap-toolbar{flex:0 0 auto!important;grid-template-columns:1fr!important;gap:4px!important;margin-top:5px!important}
  body.mobile-game-client .classic-sidebar .minimap-floor-controls,body.mobile-game-client .classic-sidebar .minimap-zoom-controls{min-height:29px!important;grid-template-columns:auto 28px minmax(32px,1fr) 28px!important}
  body.mobile-game-client .classic-sidebar .minimap-floor-controls button,body.mobile-game-client .classic-sidebar .minimap-zoom-controls button{width:28px!important;min-width:28px!important;height:26px!important;font-size:10px!important}

  body.mobile-game-client .classic-sidebar .backpack-section #inventoryBox{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:5px!important;width:100%!important;padding:2px!important;align-content:start!important}
  body.mobile-game-client .classic-sidebar .backpack-section #inventoryBox .compact-item-slot{width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;aspect-ratio:1/1!important;padding:2px!important}
  body.mobile-game-client .classic-sidebar .backpack-section #inventoryBox .compact-item-slot .item-glyph,body.mobile-game-client .classic-sidebar .backpack-section #inventoryBox .compact-item-slot .visual-item{width:78%!important;height:78%!important;max-width:none!important;max-height:none!important}
  body.mobile-game-client .classic-sidebar .backpack-section .bag-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.mobile-game-client .classic-sidebar .backpack-section .container-body{overflow:hidden!important}

  body.mobile-game-client .quantity-picker{width:min(390px,calc(100% - 30px))!important;padding:12px!important}
  body.mobile-game-client .quantity-picker-controls{grid-template-columns:46px minmax(72px,1fr) 46px 70px!important;gap:7px!important}
  body.mobile-game-client .quantity-picker-controls button,body.mobile-game-client .quantity-picker-actions button{height:40px!important;font-size:12px!important}
  body.mobile-game-client .quantity-picker-value{height:40px!important;font-size:18px!important}
  body.mobile-game-client .quantity-picker-range{height:30px!important;margin:8px 0!important}
  body.mobile-game-client .quantity-picker-quick button{height:36px!important;font-size:11px!important}
}

/* DAZIVO RPG v0.9.9.42 - rankings, online e perfil público */
.ranking-hero{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:stretch;margin-bottom:18px}.ranking-hero>div:first-child,.online-record-card,.ranking-panel{background:linear-gradient(180deg,rgba(24,36,48,.96),rgba(13,22,30,.98));border:1px solid var(--line);border-radius:18px}.ranking-hero>div:first-child{padding:22px}.ranking-hero h1{margin:9px 0 8px;font-size:clamp(30px,5vw,50px)}.ranking-hero p{margin:0;color:var(--muted);font-size:15px;line-height:1.55}.online-record-card{padding:22px;display:grid;align-content:center;gap:6px}.online-record-card small{font-weight:900;letter-spacing:.08em;color:#a9bcc9}.online-record-card strong{font-size:42px;line-height:1;color:#7ff09a}.online-record-card strong span{color:#f1c65f}.online-record-card em{font-style:normal;color:#9fb0bf;font-size:12px}
.ranking-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.ranking-summary-card{padding:15px;border:1px solid var(--line);border-radius:14px;background:#111a22;display:grid;gap:4px}.ranking-summary-card span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#9fb0bf;font-weight:900}.ranking-summary-card b{font-size:28px}.ranking-summary-card small{color:#8195a2}
.ranking-tabs{display:flex;gap:8px;overflow-x:auto;padding:3px 1px 10px;scrollbar-width:thin}.ranking-tabs a{white-space:nowrap;padding:9px 12px;border-radius:10px;background:#131f29;border:1px solid #2b4355;color:#d6e3eb;font-size:12px;font-weight:900}.ranking-tabs a.active{background:linear-gradient(180deg,#f3c55e,#ce8f1f);color:#1b1509;border-color:#efc663}.ranking-panel{overflow:hidden}.ranking-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}.ranking-panel-head small,.profile-section-title small,.ranking-profile-head small{font-size:9px;letter-spacing:.12em;color:#9fb0bf;font-weight:900}.ranking-panel-head h2,.profile-section-title h3{margin:2px 0 0}.ranking-table{min-width:850px}.ranking-table tbody tr:hover{background:rgba(255,255,255,.035)}.ranking-player-link{display:inline-flex;align-items:center;gap:7px;color:#eef6fb}.ranking-player-link:hover b{color:#ffd36d}.online-dot{width:8px;height:8px;border-radius:50%;background:#5f6970;box-shadow:0 0 0 2px rgba(255,255,255,.04)}.online-dot.on{background:#55df78;box-shadow:0 0 8px rgba(85,223,120,.58)}.rank-position{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#17232d;border:1px solid #324957;font-weight:900}.rank-position.top-0{background:#7b5c17;border-color:#e3b23e;color:#ffe58c}.rank-position.top-1{background:#4c5660;border-color:#98a8b6;color:#eff6fb}.rank-position.top-2{background:#674229;border-color:#aa754e;color:#ffd7b8}.skill-rank-value{font-size:20px;color:#f0c967}
.ranking-profile-modal{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:18px}.ranking-profile-backdrop{position:absolute;inset:0;background:rgba(2,6,9,.82);backdrop-filter:blur(6px)}.ranking-profile-card{position:relative;z-index:1;width:min(1020px,100%);max-height:92vh;overflow:auto;border-radius:20px;border:1px solid #39546a;background:linear-gradient(180deg,#101b24,#0a1218);box-shadow:0 30px 90px rgba(0,0,0,.58)}.ranking-profile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:20px;border-bottom:1px solid #263846}.ranking-profile-head h2{margin:4px 0;font-size:30px}.ranking-profile-close{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;border:1px solid #385064;background:#15232e;font-size:26px}.profile-online-state{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:900;color:#9aa9b4}.profile-online-state:before{content:"";width:8px;height:8px;border-radius:50%;background:#65717a}.profile-online-state.on{color:#83f0a1}.profile-online-state.on:before{background:#59e37b;box-shadow:0 0 9px rgba(89,227,123,.65)}.ranking-profile-overview{display:grid;grid-template-columns:1.4fr .8fr;gap:14px;padding:16px 20px}.profile-main-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-main-stats>div,.profile-account-info>div{padding:11px;border:1px solid #263b4a;border-radius:11px;background:#0d171e;display:grid;gap:3px}.profile-main-stats span,.profile-account-info span{font-size:9px;text-transform:uppercase;color:#8fa4b2;font-weight:900}.profile-main-stats b{font-size:18px}.profile-account-info{display:grid;gap:8px}.profile-account-info b{font-size:12px}.ranking-profile-columns{display:grid;grid-template-columns:1.4fr .8fr;gap:14px;padding:0 20px 20px}.ranking-profile-columns>section{padding:14px;border:1px solid #273d4b;border-radius:14px;background:#0b141a}.profile-section-title{margin-bottom:10px}.profile-equipment-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.profile-equip-slot{min-height:154px;padding:8px;border:1px solid #2d4351;border-radius:11px;background:#0d171e;display:grid;align-content:start;justify-items:center;text-align:center;gap:5px}.profile-equip-slot>span{justify-self:start;font-size:8px;color:#90a4b2;text-transform:uppercase;font-weight:900}.profile-equip-slot img{width:64px;height:64px;image-rendering:auto}.profile-equip-slot b{font-size:11px}.profile-equip-slot small{font-size:9px;color:#8397a4}.profile-equip-slot.empty{opacity:.5}.empty-equip-mark{display:grid;place-items:center;width:64px;height:64px;border:1px dashed #405461;border-radius:10px;font-size:28px;color:#657884}.profile-skill-list{display:grid;gap:7px}.profile-skill-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name level" "exp exp";gap:3px 8px;padding:9px 10px;border:1px solid #263b49;border-radius:9px;background:#0d171e}.profile-skill-list span{grid-area:name;font-weight:800}.profile-skill-list b{grid-area:level;color:#f1ca69;font-size:18px}.profile-skill-list small{grid-area:exp;color:#8ea1ad}
@media(max-width:900px){.ranking-hero{grid-template-columns:1fr}.ranking-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ranking-profile-overview,.ranking-profile-columns{grid-template-columns:1fr}.profile-equipment-grid{grid-template-columns:repeat(4,minmax(88px,1fr))}.ranking-profile-card{max-height:96vh}.ranking-profile-modal{padding:8px}}
@media(max-width:560px){.ranking-summary-grid{grid-template-columns:1fr 1fr}.profile-main-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ranking-profile-head h2{font-size:24px}.online-record-card strong{font-size:34px}}

/* DAZIVO RPG v0.9.9.43 - Auto Healer + minimapa arrastável + retorno mobile seguro */
.mobile-auto-healer-btn,.mobile-safe-refresh{display:none}
#miniMapCanvas{touch-action:none;cursor:grab;user-select:none}
#miniMapCanvas.dragging{cursor:grabbing}
.auto-healer-form{display:grid;gap:14px}.auto-healer-switch{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid #2f4654;border-radius:12px;background:#0d171e}.auto-healer-switch>div{display:grid;gap:3px}.auto-healer-switch small{color:#91a5b2;line-height:1.35}.switch-line{display:flex;align-items:center;gap:8px;font-weight:900}.switch-line input{width:20px;height:20px}.auto-healer-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.auto-healer-grid label{display:grid;gap:7px;padding:11px;border:1px solid #2a3e4b;border-radius:10px;background:#0b141a}.auto-healer-grid select{width:100%;height:38px;border:1px solid #405665;border-radius:7px;background:#101c24;color:#eef6fb;padding:0 9px}.auto-healer-grid input[type="range"]{width:100%}
@media(max-width:640px){.auto-healer-grid{grid-template-columns:1fr}}

@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client .rpg-top-left{padding:7px!important;grid-template-columns:38px minmax(0,1fr)!important;gap:6px!important}
  body.mobile-game-client .rpg-top-left .avatar-pixel{width:38px!important;height:52px!important;min-width:38px!important;font-size:15px!important}
  body.mobile-game-client .rpg-top-left .player-main{min-width:0!important}
  body.mobile-game-client .rpg-top-left .player-title{display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;flex-direction:column!important;gap:3px!important;margin:0 0 3px!important}
  body.mobile-game-client .rpg-top-left .player-title>b{font-size:10px!important;line-height:1.18!important;white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}
  body.mobile-game-client .rpg-top-left .skull-badge{font-size:7px!important;line-height:1!important;padding:3px 6px!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.mobile-game-client .rpg-top-left .compact-bar{height:15px!important;margin-top:4px!important;border-radius:4px!important}
  body.mobile-game-client .rpg-top-left .compact-bar b{font-size:8px!important;line-height:14px!important;letter-spacing:.01em!important}
  body.mobile-game-client .rpg-top-left .player-meta{grid-column:1/-1!important;grid-template-columns:1fr 1fr!important;gap:3px 5px!important;font-size:7px!important;margin-top:4px!important}
  body.mobile-game-client .rpg-top-left .player-meta #worldName{grid-column:1/-1!important;text-align:left!important;padding-top:2px!important;color:#c7d8e2!important;font-weight:800!important}
  body.mobile-game-client .rpg-top-left .player-meta span{padding:2px 3px!important;border-radius:4px!important;background:rgba(255,255,255,.025)!important}

  body.mobile-game-client .rpg-status{top:111px!important}
  body.mobile-game-client .game-view-controls{top:144px!important}
  body.mobile-game-client .mobile-auto-healer-btn{display:block!important;position:absolute!important;left:6px!important;top:177px!important;width:calc(var(--mobile-left-dock,190px) - 12px)!important;height:28px!important;z-index:39!important;border:1px solid #49616e!important;border-radius:7px!important;background:linear-gradient(180deg,#14232c,#0d171d)!important;color:#cfe0e9!important;font-size:8px!important;font-weight:900!important;letter-spacing:.08em!important}
  body.mobile-game-client .mobile-auto-healer-btn.active{border-color:#56d776!important;background:linear-gradient(180deg,#16492a,#0b2a18)!important;color:#a9f8bb!important;box-shadow:0 0 10px rgba(86,215,118,.16)!important}
  body.mobile-game-client .rpg-chat.collapsed{top:210px!important}

  body.mobile-game-client .mobile-safe-refresh{display:grid!important;place-items:center!important;position:absolute!important;right:calc(var(--mobile-right-dock,218px) + 12px)!important;top:10px!important;width:30px!important;height:30px!important;z-index:42!important;border:1px solid rgba(105,128,141,.72)!important;border-radius:50%!important;background:rgba(8,17,22,.88)!important;color:#bdcbd3!important;font-size:17px!important;font-weight:900!important;box-shadow:0 5px 14px rgba(0,0,0,.24)!important}
  body.mobile-game-client .mobile-safe-refresh.safe{border-color:#62db80!important;color:#8ff1a7!important;background:rgba(18,63,34,.92)!important}

  body.mobile-game-client .classic-sidebar .minimap-box #miniMapCanvas{touch-action:none!important;cursor:grab!important;border-radius:4px!important;border:1px solid #465c68!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)!important}
  body.mobile-game-client .classic-sidebar .minimap-box #miniMapCanvas.dragging{cursor:grabbing!important}
  body.mobile-game-client .classic-sidebar .minimap-title #miniMapWorldName{font-size:7px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:120px!important}
}

/* v0.9.9.44 - homepage com gameplay real */
.hero-card.hero-game-real{
  min-height:0;
  padding:10px;
  display:block;
  position:relative;
  overflow:hidden;
  border-color:#334a5d;
  background:linear-gradient(180deg,rgba(20,32,42,.98),rgba(9,16,22,.98));
  box-shadow:0 18px 46px rgba(0,0,0,.30),inset 0 0 0 1px rgba(255,255,255,.035);
}
.hero-game-screenshot{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1361/607;
  object-fit:contain;
  border-radius:10px;
  border:1px solid #526b7b;
  background:#080d11;
  box-shadow:0 10px 32px rgba(0,0,0,.42);
}
.hero-game-badge{
  position:absolute;
  z-index:2;
  left:20px;
  top:20px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(242,184,75,.58);
  background:rgba(13,19,24,.88);
  color:#ffd36c;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.08em;
  box-shadow:0 5px 18px rgba(0,0,0,.28);
  backdrop-filter:blur(5px);
}
@media(min-width:901px){
  .hero{grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr);gap:34px}
}
@media(max-width:900px){
  .hero-card.hero-game-real{order:2;margin-top:2px}
  .hero-game-badge{left:16px;top:16px}
}
@media(max-width:620px){
  .hero-card.hero-game-real{padding:6px;border-radius:13px}
  .hero-game-screenshot{border-radius:8px}
  .hero-game-badge{left:12px;top:12px;font-size:8px;padding:5px 8px}
}

/* DAZIVO RPG v0.9.9.44 - Auto Heal por prioridade + HUD mobile refinado */
.auto-healer-form{gap:12px}
.auto-heal-rule{display:grid;gap:10px;padding:12px;border:1px solid #2b4352;border-radius:12px;background:linear-gradient(180deg,#0d1820,#091218)}
.auto-heal-rule-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.auto-heal-rule-head b{font-size:13px}.auto-heal-rule-head strong{color:#f2c660;font-size:16px}
.auto-heal-rule>input[type="range"]{width:100%}
.auto-heal-action-grid{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px}
.auto-heal-action-grid label{display:grid;gap:5px;font-size:10px;font-weight:800;color:#a9bbc6}
.auto-heal-action-grid select{height:38px;border:1px solid #405665;border-radius:7px;background:#101c24;color:#eef6fb;padding:0 9px;min-width:0}
.auto-heal-action-grid .auto-heal-spell-pick,.auto-heal-action-grid .auto-heal-item-pick{grid-column:2}
.auto-heal-action-grid.use-spell .auto-heal-item-pick{display:none}
.auto-heal-action-grid.use-item .auto-heal-spell-pick{display:none}
.hud-player-name,.hud-player-class{display:inline}
@media(max-width:640px){.auto-heal-action-grid{grid-template-columns:1fr}.auto-heal-action-grid .auto-heal-spell-pick,.auto-heal-action-grid .auto-heal-item-pick{grid-column:1}}

@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client .rpg-top-left{top:6px!important;left:6px!important;width:calc(var(--mobile-left-dock,205px) - 12px)!important;min-height:118px!important;padding:9px!important;grid-template-columns:48px minmax(0,1fr)!important;gap:8px!important;align-content:start!important}
  body.mobile-game-client .rpg-top-left .avatar-pixel{width:48px!important;height:64px!important;min-width:48px!important;font-size:18px!important;border-radius:9px!important;align-self:start!important}
  body.mobile-game-client .rpg-top-left .player-main{min-width:0!important;display:block!important}
  body.mobile-game-client .rpg-top-left .player-title{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;margin:0 0 5px!important}
  body.mobile-game-client .rpg-top-left .player-title>b{display:grid!important;gap:1px!important;white-space:normal!important;overflow:visible!important;-webkit-line-clamp:unset!important;font-size:10px!important;line-height:1.15!important}
  body.mobile-game-client .rpg-top-left .hud-player-name{display:block!important;color:#fff!important;font-size:12px!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.mobile-game-client .rpg-top-left .hud-player-class{display:block!important;color:#c7d7e1!important;font-size:8px!important;font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.mobile-game-client .rpg-top-left .skull-badge{display:inline-flex!important;align-items:center!important;width:max-content!important;max-width:100%!important;min-height:17px!important;padding:2px 6px!important;font-size:7px!important;border-radius:999px!important}
  body.mobile-game-client .rpg-top-left .compact-bar{height:18px!important;margin-top:5px!important;border-radius:5px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.10)!important}
  body.mobile-game-client .rpg-top-left .compact-bar b{font-size:8px!important;line-height:17px!important;text-shadow:0 1px 2px #000!important;white-space:nowrap!important}
  body.mobile-game-client .rpg-top-left .player-meta{grid-column:1/-1!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px!important;margin-top:7px!important;font-size:7px!important}
  body.mobile-game-client .rpg-top-left .player-meta #onlineCountBox{display:none!important}
  body.mobile-game-client .rpg-top-left .player-meta #worldName{display:block!important;grid-column:auto!important;text-align:center!important;padding:4px 5px!important;color:#d6e5ee!important;background:rgba(255,255,255,.035)!important;border-radius:5px!important}
  body.mobile-game-client .rpg-top-left .player-meta span:first-child{display:block!important;padding:4px 5px!important;text-align:center!important;background:rgba(255,255,255,.035)!important;border-radius:5px!important}

  body.mobile-game-client .rpg-status{top:132px!important;left:6px!important;width:calc(var(--mobile-left-dock,205px) - 12px)!important;height:30px!important;font-size:8px!important}
  body.mobile-game-client .game-view-controls{top:168px!important;left:6px!important;width:calc(var(--mobile-left-dock,205px) - 12px)!important;height:30px!important;grid-template-columns:38px minmax(0,1fr) 38px!important}
  body.mobile-game-client .game-view-controls button{height:25px!important;font-size:10px!important}
  body.mobile-game-client .mobile-auto-healer-btn{top:204px!important;left:6px!important;width:calc(var(--mobile-left-dock,205px) - 12px)!important;height:32px!important;border-radius:8px!important;font-size:8px!important;letter-spacing:.06em!important}
  body.mobile-game-client .rpg-chat.collapsed{top:243px!important;left:6px!important;width:calc(var(--mobile-left-dock,205px) - 12px)!important;max-width:calc(var(--mobile-left-dock,205px) - 12px)!important;height:34px!important;min-height:34px!important}
  body.mobile-game-client .rpg-chat.collapsed .chat-head{height:32px!important;min-height:32px!important;padding:0 9px!important}
  body.mobile-game-client .rpg-chat.collapsed .chat-head b{font-size:11px!important}
  body.mobile-game-client .mobile-dpad{left:6px!important;width:calc(var(--mobile-left-dock,205px) - 12px)!important;max-height:190px!important}
}

/* Homepage: captura real atual do jogo */
.hero-game-screenshot{aspect-ratio:20/9!important;object-fit:cover!important;object-position:center!important}


/* DAZIVO RPG v0.9.9.47 - correção SOMENTE MOBILE: chat abaixo do mapa + Auto Heal sem sobrepor direcional */
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  /* Auto Heal permanece na lateral esquerda, mas nunca invade o direcional. */
  body.mobile-game-client .mobile-auto-healer-btn{
    left:6px!important;
    top:204px!important;
    bottom:auto!important;
    width:calc(var(--mobile-left-dock,205px) - 12px)!important;
    height:30px!important;
    z-index:39!important;
  }

  /* Chat minimizado fica no espaço inferior do CAMPO DO JOGO, antes da hotbar. */
  body.mobile-game-client .rpg-chat.collapsed{
    left:calc(var(--mobile-left-dock,205px) + 8px)!important;
    right:auto!important;
    top:auto!important;
    bottom:64px!important;
    width:158px!important;
    max-width:158px!important;
    min-width:0!important;
    height:34px!important;
    min-height:34px!important;
    transform:none!important;
    z-index:46!important;
  }
  body.mobile-game-client .rpg-chat.collapsed .chat-head{
    height:32px!important;
    min-height:32px!important;
    padding:0 9px!important;
  }
  body.mobile-game-client .rpg-chat.collapsed .chat-head b{font-size:11px!important}

  /* Ao abrir o chat, ele cresce sobre o mapa central sem ocupar as setas. */
  body.mobile-game-client .rpg-chat:not(.collapsed){
    left:calc(var(--mobile-left-dock,205px) + 8px)!important;
    right:calc(var(--mobile-right-dock,218px) + 8px)!important;
    top:auto!important;
    bottom:64px!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    height:min(188px,46vh)!important;
    transform:none!important;
    z-index:50!important;
  }

  /* Direcional sempre no rodapé esquerdo, abaixo do bloco Auto Heal. */
  body.mobile-game-client .mobile-dpad{
    left:6px!important;
    bottom:6px!important;
    top:auto!important;
    width:calc(var(--mobile-left-dock,205px) - 12px)!important;
    max-height:178px!important;
  }
}

/* Telefones landscape mais baixos: comprime os controles para manter Auto Heal separado das setas. */
@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client .rpg-top-left{min-height:94px!important;padding:6px!important}
  body.mobile-game-client .rpg-top-left .avatar-pixel{height:50px!important}
  body.mobile-game-client .rpg-top-left .compact-bar{height:13px!important;margin-top:3px!important}
  body.mobile-game-client .rpg-top-left .compact-bar b{line-height:12px!important;font-size:7px!important}
  body.mobile-game-client .rpg-status{top:103px!important;height:25px!important}
  body.mobile-game-client .game-view-controls{top:133px!important;height:26px!important}
  body.mobile-game-client .mobile-auto-healer-btn{top:164px!important;height:28px!important}
  body.mobile-game-client .mobile-dpad{
    grid-template-columns:repeat(3,38px)!important;
    grid-template-rows:repeat(3,38px)!important;
    width:auto!important;
    max-height:none!important;
    padding:3px!important;
  }
  body.mobile-game-client .mobile-dpad button{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
  body.mobile-game-client .rpg-chat.collapsed{bottom:58px!important}
  body.mobile-game-client .rpg-chat:not(.collapsed){bottom:58px!important;height:min(150px,42vh)!important}
}

/* DAZIVO RPG v0.9.9.57 - Hotkeys confiáveis + preview + cliente sem seleção nativa */
body.game-page,
body.game-page .rpg-client,
body.game-page .rpg-client *{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
  -webkit-tap-highlight-color:transparent!important;
}
body.game-page img,
body.game-page canvas{ -webkit-user-drag:none!important; }
body.game-page input,
body.game-page textarea,
body.game-page select,
body.game-page button{ -webkit-touch-callout:none!important; }

.hotkey-config-form{display:grid;gap:12px}
.hotkey-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}
.hotkey-edit-grid{display:grid;grid-template-columns:1fr!important;gap:8px!important;margin:0!important}
.hotkey-edit-row{display:grid!important;grid-template-columns:42px minmax(0,1fr) 72px!important;align-items:center!important;gap:8px!important;padding:7px!important;border:1px solid #2d4352;border-radius:10px;background:linear-gradient(180deg,#0e1921,#091218)}
.hotkey-edit-row>b{font-size:12px!important;color:#f1c75f!important;text-align:center!important}
.hotkey-select-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;min-width:0}
.hotkey-select-wrap select{width:100%;min-width:0;height:38px;border:1px solid #405967;border-radius:7px;background:#0a141b;color:#eff7fb;padding:0 9px;font-size:12px;font-weight:700}
.hotkey-select-wrap optgroup{background:#0a141b;color:#f1c75f;font-weight:900}
.hotkey-select-wrap option{background:#101b22;color:#eef5f9}
.hotkey-row-category,.hotkey-category-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 8px;border:1px solid #3a4e59;border-radius:999px;background:#14212a;color:#c9d7df;font-size:8px;font-weight:950;letter-spacing:.04em;white-space:nowrap}
.hotkey-row-category.heal,.hotkey-category-badge.heal,.hotkey-row-category.healitem,.hotkey-category-badge.healitem,.hotkey-row-category.restore,.hotkey-category-badge.restore{border-color:#2e8150;background:#102f20;color:#8cf0ad}
.hotkey-row-category.manaitem,.hotkey-category-badge.manaitem{border-color:#316d9a;background:#10273a;color:#91d1ff}
.hotkey-row-category.attack,.hotkey-category-badge.attack{border-color:#984a3f;background:#331715;color:#ff9a84}
.hotkey-row-category.area,.hotkey-category-badge.area{border-color:#a6672c;background:#36200e;color:#ffc36d}
.hotkey-row-category.support,.hotkey-category-badge.support{border-color:#4e73a7;background:#14263c;color:#9ac4ff}
.hotkey-row-category.mobility,.hotkey-category-badge.mobility{border-color:#3c8f9a;background:#102d31;color:#8eeaf4}
.hotkey-row-category.control,.hotkey-category-badge.control{border-color:#6d5a9d;background:#241b3a;color:#c7b1ff}
.hotkey-row-category.item,.hotkey-category-badge.item{border-color:#59656d;background:#182127;color:#d4dce0}
.hotkey-row-category.empty,.hotkey-category-badge.empty{opacity:.55}
.hotkey-preview-btn{height:34px;border:1px solid #496270;border-radius:7px;background:linear-gradient(180deg,#172832,#101a21);color:#dce9ef;font-size:9px;font-weight:950;cursor:pointer}
.hotkey-preview-btn:active{transform:translateY(1px)}
.hotkey-preview-card{position:sticky;top:0;display:grid;gap:9px;padding:11px;border:1px solid #354d5d;border-radius:12px;background:linear-gradient(180deg,#0c171f,#071016);box-shadow:0 12px 28px rgba(0,0,0,.28)}
.hotkey-preview-top{display:grid;gap:6px}.hotkey-preview-top>b{font-size:15px;color:#f5f8fb}
.hotkey-preview-card canvas{display:block;width:100%;height:auto;aspect-ratio:2/1;border:1px solid #384e5c;border-radius:9px;background:#09131a;box-shadow:inset 0 0 18px rgba(0,0,0,.42)}
.hotkey-preview-card>small{color:#9eb0bc;line-height:1.45}
.hotkey-save-line{display:flex;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}
.hotkey-save-status{font-size:10px;color:#9fb1bc;font-weight:800}.hotkey-save-status.ok{color:#7bea9d}.hotkey-save-status.error{color:#ff8b7d}.hotkey-save-status.saving{color:#f2c75f}
#hotkeySaveBtn[disabled]{opacity:.6;cursor:wait}

@media(max-width:860px){
  .hotkey-editor-layout{grid-template-columns:1fr}
  .hotkey-preview-card{position:relative;order:-1}
  .hotkey-preview-card canvas{max-height:150px}
}
@media(max-width:620px){
  .hotkey-edit-row{grid-template-columns:34px minmax(0,1fr) 58px!important;gap:5px!important;padding:5px!important}
  .hotkey-select-wrap{grid-template-columns:1fr!important;gap:4px}
  .hotkey-row-category{justify-self:start;min-height:18px;padding:2px 6px;font-size:7px}
  .hotkey-preview-btn{height:32px;font-size:8px}
  .hotkey-select-wrap select{height:36px;font-size:11px}
}


/* DAZIVO RPG v0.9.9.59 - modais sem barra visível + preview com FX reais */
.game-modal-card,
.game-modal-card *{
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
.game-modal-card::-webkit-scrollbar,
.game-modal-card *::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
  background:transparent!important;
}
.game-modal-card{
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}
.hotkey-preview-card canvas{image-rendering:auto!important}


/* DAZIVO RPG v0.9.9.60 - Level/EXP + Skills unificados */
.progress-skills-box .container-body{display:grid!important;gap:8px!important;padding:7px!important}
.progress-skills-box .progress-stats-block{display:grid;gap:5px;padding-bottom:7px;border-bottom:1px solid rgba(113,133,145,.28)}
.progress-skills-box .progress-skills-divider{display:flex;align-items:center;gap:7px;margin:0!important;color:#f1f5f7;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.progress-skills-box .progress-skills-divider::before,.progress-skills-box .progress-skills-divider::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,rgba(151,174,187,.38))}
.progress-skills-box .progress-skills-divider::after{background:linear-gradient(90deg,rgba(151,174,187,.38),transparent)}
.progress-skills-box .merged-skills-body{display:grid;gap:4px!important;padding:0!important;background:none!important;border:0!important}
.progress-skills-box .classic-skill-row{grid-template-columns:52px 28px minmax(0,1fr)!important;gap:5px!important;min-height:15px!important}
.progress-skills-box .classic-skill-row>span,.progress-skills-box .classic-skill-row>b{font-size:8px!important;line-height:1.1!important}
.progress-skills-box .classic-skill-row>div{height:5px!important;border-radius:999px!important;overflow:hidden!important;background:#091016!important;border:1px solid #34444d!important}
.progress-skills-box .classic-skill-row>div>i{display:block;height:100%!important;background:linear-gradient(90deg,#68d7ff,#f2ca67)!important}
.progress-skills-box .side-stat-line{font-size:8px!important}
.progress-skills-box .side-exp-bar{height:7px!important}


/* DAZIVO RPG v0.9.9.61 - retomada mobile + ícones HTML + bag compacta */
.html-ui-icon{display:inline-grid;place-items:center;width:20px;height:20px;line-height:0;pointer-events:none}
.html-ui-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.html-ui-icon.icon-friends svg path{fill:currentColor;stroke:none}
.html-ui-icon.mini{width:13px;height:13px}
.sidebar-actions.icon-nav-actions button,.sidebar-actions.icon-nav-actions a,.icon-panel-switcher button{display:grid!important;place-items:center!important}
.sidebar-actions.icon-nav-actions .html-ui-icon,.icon-panel-switcher .html-ui-icon{width:18px;height:18px}
.sidebar-actions.icon-nav-actions button:hover .html-ui-icon,.sidebar-actions.icon-nav-actions a:hover .html-ui-icon,.icon-panel-switcher button.active .html-ui-icon{filter:drop-shadow(0 0 5px currentColor)}
.mobile-bag-width-btn{display:none!important}

@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client .mobile-bag-width-btn{display:grid!important;place-items:center!important}
  body.mobile-game-client .classic-sidebar .sidebar-actions button,
  body.mobile-game-client .classic-sidebar .sidebar-actions a,
  body.mobile-game-client .mobile-panel-switcher button{font-size:0!important}
  body.mobile-game-client .classic-sidebar .sidebar-actions .html-ui-icon,
  body.mobile-game-client .mobile-panel-switcher .html-ui-icon{width:17px!important;height:17px!important}
  body.mobile-game-client .classic-sidebar .backpack-section #inventoryBox{gap:4px!important;padding:2px!important}
  body.mobile-game-client .classic-sidebar .backpack-section #inventoryBox .compact-item-slot{aspect-ratio:1/1!important}
  body.mobile-game-client .classic-sidebar .backpack-section .container-heading-actions{gap:2px!important}
  body.mobile-game-client .classic-sidebar .backpack-section .container-heading-actions .container-toggle{width:21px!important;min-width:21px!important;height:21px!important}
}

/* Se o Android/iOS voltar do segundo plano em retrato, não mostra o jogo espremido.
   O overlay permanece utilizável para retornar à orientação horizontal sem reload. */
@media (hover:none) and (pointer:coarse) and (orientation:portrait){
  body.mobile-game-client .rpg-client{visibility:hidden!important}
  body.mobile-game-client .mobile-start-overlay{visibility:visible!important;display:grid!important;position:fixed!important;inset:0!important;z-index:9999!important}
  body.mobile-game-client .mobile-start-overlay .mobile-start-card{visibility:visible!important}
}


/* DAZIVO RPG v0.9.9.62 - sidebar por ícones, minimapa fixo, escudos */
.minimap-fixed-pin{display:inline-grid;place-items:center;min-width:24px;height:18px;padding:0 4px;border:1px solid #48575e;border-radius:3px;background:#111a1f;color:#d9bd62;font-size:6px;font-weight:900;letter-spacing:.05em}
.sidebar-main-toolbar{order:1;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:3px!important;padding:2px 0!important;flex:0 0 auto!important;position:sticky!important;top:0!important;z-index:12!important;background:rgba(10,17,21,.96)!important}
.sidebar-main-toolbar button,.sidebar-main-toolbar a{height:28px!important;border-radius:4px!important}
.sidebar-main-toolbar button.active{border-color:#d7b252!important;background:linear-gradient(180deg,#4b3a17,#261f12)!important;color:#ffe08a!important;box-shadow:inset 0 0 0 1px rgba(255,220,121,.18),0 0 8px rgba(229,183,73,.12)!important}
.sidebar-section-hidden{display:none!important}
.sidebar-close-btn{color:#f2c3b9!important;border-color:#6d4a46!important;background:#261819!important;font-weight:900!important}
.sidebar-inline-panel{flex:0 0 auto!important;min-height:0!important;max-height:360px!important;overflow:hidden!important}
.sidebar-inline-panel .container-body{display:flex!important;flex-direction:column!important;gap:6px!important;min-height:0!important;overflow:hidden!important}
.sidebar-inline-panel .spellbook-list,.sidebar-inline-panel .friends-list{overflow:auto!important;scrollbar-width:none!important;max-height:270px!important}
.sidebar-inline-panel .spellbook-list::-webkit-scrollbar,.sidebar-inline-panel .friends-list::-webkit-scrollbar{display:none!important}
.sidebar-inline-action{width:100%!important;min-height:28px!important}
.sidebar-inline-subhead{padding:0!important;margin:0!important;background:none!important;border:0!important}
.sidebar-inline-subhead span{font-size:8px;font-weight:900;color:#aebec7;text-transform:uppercase}
.sidebar-menu-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px!important;padding:2px!important}
.sidebar-menu-grid button{min-height:34px!important;border:1px solid #384c58!important;border-radius:5px!important;background:linear-gradient(180deg,#17252e,#0c151b)!important;color:#e7eff3!important;font-size:8px!important;font-weight:900!important}
.sidebar-menu-grid button:hover{border-color:#c6a44f!important;color:#ffe08d!important}
#minimapSection{order:0!important;flex:0 0 auto!important}
#sidebarMainToolbar{order:1!important}

@media(min-width:981px){
  .classic-sidebar #minimapSection{position:sticky!important;top:0!important;z-index:13!important;background:#11191d!important}
  .classic-sidebar #sidebarMainToolbar{top:calc(var(--minimap-sticky-offset,0px))!important}
}

@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client .classic-sidebar{overflow:hidden!important}
  body.mobile-game-client .classic-sidebar #minimapSection{display:flex!important;flex-direction:column!important;flex:0 0 154px!important;min-height:154px!important;max-height:154px!important;overflow:hidden!important;position:relative!important;top:auto!important;z-index:3!important}
  body.mobile-game-client .classic-sidebar #minimapSection #miniMapCanvas{height:96px!important;min-height:96px!important;max-height:96px!important;flex:0 0 96px!important}
  body.mobile-game-client .classic-sidebar #sidebarMainToolbar{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important;position:relative!important;top:auto!important;z-index:5!important;flex:0 0 auto!important;background:#0d171c!important}
  body.mobile-game-client .classic-sidebar #sidebarMainToolbar button,body.mobile-game-client .classic-sidebar #sidebarMainToolbar a{height:27px!important}
  body.mobile-game-client .classic-sidebar>[data-sidebar-block]{display:none!important;min-height:0!important;overflow:hidden!important;flex:1 1 auto!important;margin:0!important}
  body.mobile-game-client .classic-sidebar>#minimapSection{display:flex!important}
  body.mobile-game-client .classic-sidebar>[data-sidebar-block].mobile-panel-active:not(#minimapSection){display:flex!important;flex-direction:column!important;flex:1 1 auto!important;overflow:hidden!important}
  body.mobile-game-client .classic-sidebar #progressSection.mobile-panel-active{display:flex!important}
  body.mobile-game-client .classic-sidebar .sidebar-inline-panel.mobile-panel-active .container-body{flex:1 1 auto!important;overflow:hidden!important}
  body.mobile-game-client .classic-sidebar .sidebar-inline-panel.mobile-panel-active .spellbook-list,body.mobile-game-client .classic-sidebar .sidebar-inline-panel.mobile-panel-active .friends-list{max-height:none!important;flex:1 1 auto!important}
  body.mobile-game-client .classic-sidebar .sidebar-close-btn{display:grid!important}
}

/* DAZIVO RPG v0.9.9.63 - navegação interna da sidebar sem modais */
.sidebar-back-btn{color:#cfe0e8!important;border-color:#415864!important;background:#122029!important;font-weight:900!important}
.sidebar-subview{display:block;min-height:0;overflow:auto;scrollbar-width:none;padding:1px 0 2px}
.sidebar-subview::-webkit-scrollbar{display:none}
.sidebar-card-list,.sidebar-form-stack{display:grid;gap:6px}
.sidebar-empty-state{display:grid;gap:5px;padding:12px 10px;border:1px dashed #384b55;border-radius:7px;background:#0c151a;color:#afc1cb;text-align:center}
.sidebar-empty-state b{font-size:10px;color:#e7f0f4}.sidebar-empty-state small{font-size:8px;line-height:1.45}
.sidebar-info-card{display:grid;gap:4px;padding:8px;border:1px solid #334852;border-radius:6px;background:linear-gradient(180deg,#132028,#0c151b)}
.sidebar-info-card-head{display:flex;align-items:center;justify-content:space-between;gap:7px}.sidebar-info-card-head b{font-size:9px}.sidebar-info-card-head span{font-size:7px;color:#80e397;font-weight:900}.sidebar-info-card small{font-size:8px;color:#9eb1bc;line-height:1.4}
.sidebar-pick-card,.sidebar-nav-card,.sidebar-action-button{width:100%;border:1px solid #384c58;border-radius:6px;background:linear-gradient(180deg,#17252e,#0c151b);color:#e8f0f4;cursor:pointer}
.sidebar-pick-card{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;text-align:left}.sidebar-pick-card span:first-child{display:grid;gap:3px;min-width:0}.sidebar-pick-card b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-pick-card small{font-size:7px;color:#9fb1bb}.sidebar-pick-card>span:last-child{font-size:16px;color:#d6b85d}.sidebar-pick-card.danger{border-color:#70424a;background:linear-gradient(180deg,#2a171d,#170d11)}
.sidebar-nav-card{display:grid;grid-template-columns:28px minmax(0,1fr) 18px;align-items:center;gap:7px;padding:7px 8px;text-align:left;margin-top:6px}.sidebar-nav-card.compact{margin-top:0}.sidebar-nav-card-icon{display:grid;place-items:center;width:28px;height:28px;border:1px solid #536975;border-radius:5px;background:#0c171d;color:#f0c65f;font-size:10px;font-weight:950}.sidebar-nav-card-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sidebar-nav-card span:nth-child(2){display:grid;gap:2px;min-width:0}.sidebar-nav-card b{font-size:9px}.sidebar-nav-card small{font-size:7px;color:#97aab5;white-space:normal}.sidebar-nav-card-arrow{font-size:17px;color:#d7b95f;text-align:center}
.sidebar-action-button{min-height:32px;padding:0 9px;font-size:8px;font-weight:900}.sidebar-action-button.primary{border-color:#b78a2f;background:linear-gradient(180deg,#e3b440,#9f6f1e);color:#17110a}.sidebar-action-button.danger{border-color:#7a444b;background:linear-gradient(180deg,#54252e,#281217)}
.sidebar-field{display:grid;gap:4px}.sidebar-field>span{font-size:7px;font-weight:900;color:#9eb1bc;text-transform:uppercase}.sidebar-field input,.sidebar-field select{width:100%;height:31px;border:1px solid #3b505b;border-radius:5px;background:#0c161c;color:#eef5f8;padding:0 7px;font-size:9px;outline:none}.sidebar-field input:focus,.sidebar-field select:focus{border-color:#c7a44e}
.sidebar-inline-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.sidebar-inline-actions button{min-height:30px;border:1px solid #3a4e59;border-radius:5px;background:#14232b;color:#e5eef2;font-size:8px;font-weight:900}
.sidebar-status-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.sidebar-status-grid>div{display:grid;gap:3px;padding:7px;border:1px solid #344851;border-radius:5px;background:#0d171c}.sidebar-status-grid>div.wide{grid-column:1/-1}.sidebar-status-grid small{font-size:7px;color:#91a4af;text-transform:uppercase}.sidebar-status-grid b{font-size:9px;color:#eef5f8;word-break:break-word}.state-on{color:#80e397!important}.state-off{color:#e1a1a1!important}
.sidebar-npc-greeting{padding:8px;border:1px solid #3b4f59;border-radius:6px;background:#101b21;color:#dce8ee;font-size:8px;line-height:1.5}

/* Hotkeys dentro do painel Magias */
.sidebar-hotkey-form{display:grid!important;gap:7px!important}.sidebar-hotkey-form>p{font-size:7px!important;line-height:1.4!important;margin:0!important}
.sidebar-hotkey-form .hotkey-edit-grid{display:grid!important;gap:4px!important}.sidebar-hotkey-form .hotkey-edit-row{grid-template-columns:28px minmax(0,1fr) 27px!important;gap:4px!important;padding:4px!important;border-radius:5px!important}.sidebar-hotkey-form .hotkey-edit-row>b{font-size:8px!important}.sidebar-hotkey-form .hotkey-select-wrap select{height:27px!important;min-width:0!important;font-size:7px!important;padding:0 4px!important}.sidebar-hotkey-form .hotkey-row-category{font-size:6px!important;min-height:15px!important;padding:2px 4px!important}.sidebar-hotkey-form .hotkey-preview-btn{width:27px!important;min-width:27px!important;height:27px!important;padding:0!important;font-size:10px!important}
.sidebar-hotkey-preview{display:grid!important;gap:5px!important;padding:6px!important;border:1px solid #344a56!important;border-radius:6px!important;background:#0a141a!important}.sidebar-hotkey-preview canvas{display:block!important;width:100%!important;height:auto!important;max-height:125px!important;border-radius:5px!important}.sidebar-hotkey-preview small{font-size:7px!important;line-height:1.35!important}.sidebar-hotkey-preview .hotkey-preview-top b{font-size:8px!important}
.sidebar-hotkey-form .hotkey-save-line{display:grid!important;gap:4px!important}.sidebar-hotkey-form .hotkey-save-status{font-size:7px!important;min-height:0!important}

/* Outfit embutido na sidebar */
.sidebar-outfit-form{display:grid;gap:7px}.sidebar-outfit-form .outfit-preview-panel{display:grid;gap:5px;justify-items:center}.sidebar-outfit-form .outfit-preview-panel canvas{width:150px!important;height:166px!important;max-width:100%!important;border-radius:6px!important}.sidebar-outfit-form .outfit-preview-actions{display:grid!important;grid-template-columns:repeat(3,1fr)!important;width:100%!important;gap:3px!important}.sidebar-outfit-form .outfit-preview-actions button{min-width:0!important;padding:5px 2px!important;font-size:7px!important}.sidebar-outfit-form .outfit-model-note{margin:0!important;padding:7px!important;border-radius:6px!important}.sidebar-outfit-form .outfit-model-note strong{font-size:9px!important}.sidebar-outfit-form .outfit-model-note span{font-size:7px!important}.sidebar-outfit-form .outfit-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important}.sidebar-outfit-form .outfit-grid label{font-size:7px!important;gap:3px!important}.sidebar-outfit-form .outfit-grid select,.sidebar-outfit-form .outfit-grid input[type=color]{height:29px!important;min-height:29px!important;font-size:8px!important}

/* NPCs também respeitam o espaço estreito da lateral */
.sidebar-subview .merchant-shop{gap:7px!important}.sidebar-subview .merchant-shop-tabs,.sidebar-subview .merchant-shop-categories{gap:3px!important}.sidebar-subview .merchant-shop-tabs button,.sidebar-subview .merchant-shop-categories button{min-height:28px!important;padding:0 7px!important;font-size:7px!important}.sidebar-subview .shop-row.visual{grid-template-columns:36px minmax(0,1fr)!important;gap:6px!important;padding:6px!important}.sidebar-subview .shop-row.visual .shop-actions{grid-column:1/-1!important;justify-content:stretch!important}.sidebar-subview .shop-row.visual .shop-actions button{width:100%!important}.sidebar-subview .shop-row .shop-meta b{font-size:8px!important}.sidebar-subview .shop-row .shop-meta small{font-size:7px!important}.sidebar-subview .merchant-specialty{gap:3px!important}.sidebar-subview .merchant-specialty span{font-size:6px!important;padding:3px 6px!important}

.sidebar-inline-panel .container-body>.sidebar-subview:not([hidden]){flex:1 1 auto!important;min-height:0!important;overflow:auto!important;scrollbar-width:none!important}.sidebar-inline-panel .container-body>.sidebar-subview:not([hidden])::-webkit-scrollbar{display:none!important}
@media(max-width:1180px) and (orientation:landscape),(hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client .sidebar-inline-panel .container-body>.sidebar-subview:not([hidden]){max-height:none!important;flex:1 1 auto!important;overflow:auto!important;scrollbar-width:none!important}
  body.mobile-game-client .sidebar-outfit-form .outfit-preview-panel canvas{width:132px!important;height:145px!important}
  body.mobile-game-client .sidebar-hotkey-preview canvas{max-height:105px!important}
}


/* DAZIVO RPG v0.9.9.64 - sidebar fixa, amigos compactos, outfit modal */
#classicSidebar>#minimapSection{order:0!important;flex:0 0 auto!important}
#classicSidebar>#sidebarMainToolbar{order:1!important;flex:0 0 auto!important}
#classicSidebar>[data-sidebar-block]:not(#minimapSection){order:2!important}
#classicSidebar>#corpseDock{order:3!important}
#classicSidebar .minimap-title{cursor:default!important}

@media(min-width:981px){
  #classicSidebar>#minimapSection{position:sticky!important;top:0!important;z-index:30!important}
  #classicSidebar>#sidebarMainToolbar{position:sticky!important;top:var(--minimap-sticky-offset,0px)!important;z-index:29!important;margin-top:0!important}
}

.friends-panel-body{gap:6px!important}
.friend-add-line{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:5px;align-items:center}
.friend-add-line input,.friend-search-line input{width:100%;height:32px;border:1px solid #3b505b;border-radius:6px;background:#0c161c;color:#eef5f8;padding:0 8px;font-size:9px;outline:none}
.friend-add-line input:focus,.friend-search-line input:focus{border-color:#c7a44e;box-shadow:0 0 0 1px rgba(199,164,78,.16)}
.friend-add-line button{width:32px;height:32px;border:1px solid #b58a31;border-radius:6px;background:linear-gradient(180deg,#e3b440,#9f6f1e);color:#17110a;font-size:20px;font-weight:950;line-height:1;cursor:pointer}
.friend-search-line{position:relative;display:block}
.friend-search-line input{padding-left:29px}
.friend-search-icon{position:absolute;left:8px;top:50%;width:14px;height:14px;transform:translateY(-50%);color:#91a7b4;pointer-events:none}
.friend-search-icon svg,.friend-icon-btn svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.friends-summary{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:2px 1px;color:#8fa5b1;font-size:7px;text-transform:uppercase;font-weight:900}
.friends-summary b{color:#79e695;font-size:7px}
#friendsPanel .friends-list{display:grid;gap:5px;max-height:255px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:none!important;padding-right:1px}
#friendsPanel .friends-list::-webkit-scrollbar{display:none!important}
#friendsPanel .friend-row{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:44px;padding:6px 7px;border:1px solid #334852;border-radius:6px;background:linear-gradient(180deg,#132028,#0c151b)}
#friendsPanel .friend-row.online{border-color:#356a48;background:linear-gradient(180deg,#14281d,#0c1812)}
#friendsPanel .friend-main{display:flex;align-items:center;gap:7px;min-width:0}
#friendsPanel .friend-main>span:last-child{display:grid;gap:2px;min-width:0}
#friendsPanel .friend-main b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#friendsPanel .friend-main small{font-size:7px;color:#94aab5}
.friend-presence{display:block;width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#5b666d;box-shadow:0 0 0 2px rgba(255,255,255,.03)}
.friend-row.online .friend-presence{background:#48dc72;box-shadow:0 0 7px rgba(72,220,114,.55)}
#friendsPanel .friend-row .actions{display:flex;gap:4px;flex:0 0 auto}
.friend-icon-btn{display:grid;place-items:center;width:26px;height:26px;padding:5px;border:1px solid #3a515e;border-radius:5px;background:#13222b;color:#cfe2ec;cursor:pointer}
.friend-icon-btn.danger{border-color:#624148;color:#e9aaa8;background:#25171a}

#gameMenuRoot.sidebar-menu-grid{grid-template-columns:1fr 1fr!important}
#gameMenuRoot.sidebar-menu-grid button[data-menu-view="outfit"]{grid-column:1/-1}
.sidebar-outfit-form{max-width:640px}
.game-modal .sidebar-outfit-form .outfit-preview-panel{max-width:220px}

@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client #classicSidebar>#minimapSection{order:0!important}
  body.mobile-game-client #classicSidebar>#sidebarMainToolbar{order:1!important}
  body.mobile-game-client #classicSidebar>[data-sidebar-block]:not(#minimapSection){order:2!important}
  body.mobile-game-client #friendsPanel .friends-list{max-height:none!important;flex:1 1 auto!important}
}

/* DAZIVO RPG v0.9.9.66 - paperdoll e controles de combate estilo RPG clássico */
#equipmentSectionBody{display:grid;gap:4px!important}
.tibia-paperdoll-layout{display:grid;grid-template-columns:minmax(0,1fr) 66px;gap:4px;align-items:start}
.tibia-paperdoll-layout .equipment-list{min-width:0}
.tibia-paperdoll-layout .compact-paperdoll{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
.tibia-paperdoll-layout .compact-equip-slot{height:48px;background:linear-gradient(180deg,#11181d,#090f13);border-color:#3b484f;box-shadow:inset 0 0 0 1px rgba(255,255,255,.018)}
.tibia-paperdoll-layout .compact-equip-slot:hover{border-color:#65747b;background:linear-gradient(180deg,#172128,#0c1317)}
.tibia-paperdoll-layout .compact-equip-slot.filled{border-color:#786a43;box-shadow:inset 0 0 0 1px rgba(244,202,103,.12)}
.empty-equip-glyph{width:29px;height:29px;color:#526069;opacity:.78;display:grid;place-items:center}
.empty-equip-glyph svg{width:100%;height:100%;fill:rgba(93,105,112,.08);stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.compact-equip-slot:hover .empty-equip-glyph{color:#778991;opacity:.96}
.mini-bag-glyph{width:29px!important;height:29px!important;background:linear-gradient(180deg,#4b3326,#2a1d17)!important;color:#a97a4e!important;border-color:#6e4f36!important}
.mini-bag-glyph svg{width:22px;height:22px;fill:rgba(172,118,71,.14);stroke:#c3915c;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

.tibia-combat-side{display:grid;gap:4px;min-width:0}
.combat-state-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
.combat-state-icon{position:relative;display:grid;place-items:center;height:22px;border:1px solid #3b474d;background:linear-gradient(180deg,#151d21,#0c1114);color:#536067;border-radius:2px;opacity:.62}
.combat-state-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.combat-state-icon.active{opacity:1}
.combat-state-icon.skull-state.active{color:#f2f1e9;border-color:#766e5e;box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
.combat-state-icon.skull-state[data-skull="red"]{color:#ff5555;border-color:#87363b;background:#2a1114}
.combat-state-icon.skull-state[data-skull="black"]{color:#d8d8d8;border-color:#494949;background:#0b0b0b}
.combat-state-icon.battle-state.active{color:#f2c65c;border-color:#8b6a28;background:linear-gradient(180deg,#342a15,#17130c)}
.combat-state-icon.retaliation-state.active{color:#ff4f4f;border-color:#93343a;background:linear-gradient(180deg,#43181d,#1f0c0f);box-shadow:0 0 7px rgba(235,65,75,.18)}

.tibia-combat-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px}
.tibia-combat-column{display:grid;gap:3px}
.tibia-combat-column button{display:grid;place-items:center;width:100%;height:32px;padding:3px;border:1px solid #414d53;border-radius:2px;background:linear-gradient(180deg,#192227,#0e1417);color:#9daab0;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(255,255,255,.018)}
.tibia-combat-column button:hover{border-color:#64747b;color:#dce5e8}
.tibia-combat-column button.active{border-color:#d2a642;background:linear-gradient(180deg,#443719,#211a0e);color:#ffe27d;box-shadow:inset 0 0 0 1px rgba(255,218,113,.13),0 0 5px rgba(211,166,66,.10)}
.combat-control-icon{width:22px;height:22px;display:grid;place-items:center}
.combat-control-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.pvp-hand-toggle{position:relative!important}
.pvp-hand-icon{position:relative;width:23px;height:22px;display:block;margin:auto}
/* mão aberta */
.pvp-hand-icon:before{content:"";position:absolute;left:8px;top:8px;width:9px;height:10px;border-radius:4px 4px 5px 5px;background:#b3bec3;box-shadow:-6px -5px 0 -3px #b3bec3,-3px -8px 0 -3px #b3bec3,0 -9px 0 -3px #b3bec3,3px -7px 0 -3px #b3bec3;transform:rotate(-5deg)}
.pvp-hand-icon:after{content:"";position:absolute;left:4px;bottom:1px;width:13px;height:5px;border-radius:5px;background:#88969c;transform:rotate(-13deg)}
/* mão fechada: PvP */
.pvp-hand-toggle.active{border-color:#c44149!important;background:linear-gradient(180deg,#42161a,#200b0e)!important;color:#ff6971!important;box-shadow:inset 0 0 0 1px rgba(255,88,99,.12),0 0 7px rgba(220,50,60,.12)!important}
.pvp-hand-toggle.active .pvp-hand-icon:before{left:6px;top:6px;width:13px;height:12px;border-radius:4px 4px 6px 6px;background:#ef4c56;box-shadow:-2px -5px 0 -2px #ef4c56,2px -6px 0 -2px #ef4c56,6px -4px 0 -2px #ef4c56;transform:rotate(-5deg)}
.pvp-hand-toggle.active .pvp-hand-icon:after{left:4px;bottom:0;width:14px;height:5px;background:#b72f38}

/* Battle recebe sinal vermelho quando há direito de revide PvP */
.sidebar-main-toolbar button{position:relative}
.sidebar-main-toolbar [data-sidebar-open="battlePanel"].pvp-retaliation-active{border-color:#a83d45!important;color:#ff646c!important;background:linear-gradient(180deg,#41161b,#210c0f)!important}
.sidebar-main-toolbar [data-sidebar-open="battlePanel"].pvp-retaliation-active:after{content:"";position:absolute;right:2px;top:2px;width:6px;height:6px;border-radius:50%;background:#ff4b55;box-shadow:0 0 6px rgba(255,75,85,.78)}
.sidebar-main-toolbar [data-sidebar-open="battlePanel"].pvp-battle-active:not(.pvp-retaliation-active){border-color:#8a6d32!important;color:#f5cf69!important}

@media(max-width:620px){
  .tibia-paperdoll-layout{grid-template-columns:minmax(0,1fr) 58px;gap:3px}
  .tibia-paperdoll-layout .compact-equip-slot{height:38px!important}
  .empty-equip-glyph{width:23px;height:23px}
  .tibia-combat-column button{height:27px;padding:2px}
  .combat-control-icon{width:18px;height:18px}
  .combat-state-icon{height:19px}
  .combat-state-icon svg{width:12px;height:12px}
  .pvp-hand-icon{transform:scale(.83)}
}


/* DAZIVO RPG v0.9.9.66 - HUD sem avatar + Hotkeys em modal */
.classic-client .rpg-top-left>.avatar-pixel{display:none!important}
.classic-client .rpg-top-left{grid-template-columns:minmax(0,1fr)!important}
.classic-client .rpg-top-left .player-main{grid-column:1/-1!important;width:100%!important;min-width:0!important}
body.mobile-game-client .rpg-top-left{grid-template-columns:minmax(0,1fr)!important}
body.mobile-game-client .rpg-top-left .player-main{grid-column:1/-1!important;width:100%!important;min-width:0!important}
body.mobile-game-client .rpg-top-left .player-title{padding-right:0!important}
body.mobile-game-client .rpg-top-left .compact-bar{width:100%!important}

.hotkey-editor-modal .game-modal-card{width:min(980px,calc(100% - 28px))!important;max-height:calc(100dvh - 24px)!important;padding:14px!important;border-radius:12px!important;background:linear-gradient(180deg,#121d26,#0b141b)!important}
.hotkey-editor-modal #gameModalBody{min-width:0}
.hotkey-modal-form{display:grid!important;gap:10px!important}
.hotkey-modal-intro{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #334a57;border-radius:7px;background:linear-gradient(180deg,#14212a,#0c151b)}
.hotkey-modal-intro>div{display:grid;gap:2px}.hotkey-modal-intro b{font-size:11px;color:#f1c75f}.hotkey-modal-intro small{font-size:8px;color:#a8bac5}.hotkey-modal-intro>span{padding:4px 7px;border-radius:999px;border:1px solid #3a6068;background:#10272b;color:#8de5ee;font-size:7px;font-weight:900;white-space:nowrap}
.hotkey-editor-modal .hotkey-editor-layout{display:grid!important;grid-template-columns:minmax(0,1.28fr) minmax(260px,.82fr)!important;gap:10px!important;align-items:start!important}
.hotkey-list-panel{display:grid;gap:7px;min-width:0;padding:8px;border:1px solid #344a56;border-radius:8px;background:linear-gradient(180deg,#101a21,#091218)}
.hotkey-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:6px;border-bottom:1px solid rgba(99,124,138,.28)}
.hotkey-panel-heading b{font-size:10px;color:#edf4f7}.hotkey-panel-heading small{font-size:7px;color:#8fa4b0;text-align:right}
.hotkey-modal-form .hotkey-edit-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin:0!important}
.hotkey-modal-form .hotkey-edit-row{display:grid!important;grid-template-columns:30px minmax(0,1fr) 30px!important;gap:5px!important;align-items:center!important;padding:5px!important;border:1px solid #2e4653!important;border-radius:6px!important;background:linear-gradient(180deg,#14222a,#0b151b)!important}
.hotkey-modal-form .hotkey-edit-row>b{font-size:9px!important;color:#f1c75f!important;text-align:center!important}
.hotkey-modal-form .hotkey-select-wrap{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important;min-width:0!important;align-items:center!important}
.hotkey-modal-form .hotkey-select-wrap select{height:30px!important;min-width:0!important;width:100%!important;border:1px solid #405866!important;border-radius:5px!important;background:#0a141b!important;color:#edf5f9!important;padding:0 6px!important;font-size:8px!important;font-weight:800!important}
.hotkey-modal-form .hotkey-row-category{min-height:18px!important;padding:2px 5px!important;font-size:6px!important}
.hotkey-modal-form .hotkey-preview-btn{width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;border-radius:5px!important;font-size:10px!important}
.hotkey-editor-modal .hotkey-preview-card{position:sticky!important;top:0!important;display:grid!important;gap:7px!important;padding:9px!important;border:1px solid #3a5260!important;border-radius:8px!important;background:linear-gradient(180deg,#0f1b22,#081117)!important;box-shadow:none!important;min-width:0!important}
.hotkey-editor-modal .hotkey-preview-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}.hotkey-editor-modal .hotkey-preview-top>b{font-size:11px!important}
.hotkey-editor-modal .hotkey-preview-card canvas{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1.82/1!important;max-height:none!important;border:1px solid #3b5360!important;border-radius:7px!important;background:#09131a!important}
.hotkey-editor-modal .hotkey-preview-card>small{font-size:8px!important;color:#9fb2bd!important;line-height:1.4!important}
.hotkey-preview-hint{padding:6px 7px;border:1px solid rgba(75,107,123,.45);border-radius:5px;background:#0c171d;color:#8299a6;font-size:7px;line-height:1.4}
.hotkey-editor-modal .hotkey-save-line{display:grid!important;grid-template-columns:minmax(180px,260px) minmax(0,1fr)!important;gap:8px!important;align-items:center!important;margin-top:0!important}
.hotkey-editor-modal #hotkeySaveBtn{height:34px!important;border-radius:6px!important;font-size:9px!important}
.hotkey-editor-modal .hotkey-save-status{font-size:8px!important}

@media(max-width:760px), (hover:none) and (pointer:coarse){
  .hotkey-editor-modal .game-modal-card{width:calc(100% - 12px)!important;max-height:calc(100dvh - 10px)!important;padding:9px!important}
  .hotkey-editor-modal .panel-heading{margin-bottom:5px!important}.hotkey-editor-modal .panel-heading h2{font-size:13px!important}.hotkey-editor-modal .modal-close{width:30px!important;height:30px!important;font-size:18px!important}
  .hotkey-editor-modal .hotkey-modal-intro{padding:6px 7px!important}.hotkey-editor-modal .hotkey-modal-intro small{font-size:7px!important}.hotkey-editor-modal .hotkey-modal-intro>span{font-size:6px!important;padding:3px 5px!important}
  .hotkey-editor-modal .hotkey-editor-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;gap:7px!important}
  .hotkey-editor-modal .hotkey-list-panel{padding:5px!important;gap:5px!important}
  .hotkey-editor-modal .hotkey-panel-heading small{display:none!important}
  .hotkey-modal-form .hotkey-edit-grid{grid-template-columns:1fr 1fr!important;gap:4px!important}
  .hotkey-modal-form .hotkey-edit-row{grid-template-columns:24px minmax(0,1fr) 26px!important;gap:3px!important;padding:3px!important}
  .hotkey-modal-form .hotkey-edit-row>b{font-size:7px!important}
  .hotkey-modal-form .hotkey-select-wrap{grid-template-columns:1fr!important;gap:2px!important}
  .hotkey-modal-form .hotkey-select-wrap select{height:26px!important;font-size:7px!important;padding:0 3px!important}
  .hotkey-modal-form .hotkey-row-category{justify-self:start!important;min-height:14px!important;padding:1px 4px!important;font-size:5px!important}
  .hotkey-modal-form .hotkey-preview-btn{width:26px!important;min-width:26px!important;height:26px!important;font-size:8px!important}
  .hotkey-editor-modal .hotkey-preview-card{position:sticky!important;top:0!important;padding:6px!important;gap:5px!important;align-self:start!important}
  .hotkey-editor-modal .hotkey-preview-card canvas{width:100%!important;height:auto!important;aspect-ratio:1.55/1!important;min-height:118px!important}
  .hotkey-editor-modal .hotkey-preview-card>small{font-size:7px!important}.hotkey-editor-modal .hotkey-preview-hint{font-size:6px!important;padding:4px!important}
  .hotkey-editor-modal .hotkey-save-line{grid-template-columns:minmax(150px,220px) minmax(0,1fr)!important;gap:5px!important}
}


/* DAZIVO RPG v0.9.9.67 - paperdoll clássico + vitais HP/MP */
#equipmentSectionBody{display:grid!important;gap:5px!important;padding:5px!important}
.tibia-paperdoll-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 54px!important;gap:5px!important;align-items:start!important}
#equipmentBox{min-width:0!important}
.classic-paperdoll{display:grid;grid-template-columns:repeat(3,42px);grid-template-rows:repeat(4,42px) 28px;gap:3px;justify-content:center;grid-template-areas:"amulet helmet bag" "weapon armor shield" "ring legs shield" ". boots ." "cap cap cap";padding:3px;border:1px solid #2f3b41;background:linear-gradient(180deg,#11181c,#090e11);box-shadow:inset 0 0 0 1px rgba(255,255,255,.015)}
.paperdoll-cell{min-width:0;min-height:0}.paperdoll-amulet{grid-area:amulet}.paperdoll-helmet{grid-area:helmet}.paperdoll-bag{grid-area:bag}.paperdoll-weapon{grid-area:weapon}.paperdoll-armor{grid-area:armor}.paperdoll-shield{grid-area:shield;align-self:center}.paperdoll-ring{grid-area:ring}.paperdoll-legs{grid-area:legs}.paperdoll-boots{grid-area:boots}.paperdoll-cap{grid-area:cap;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:5px;padding:2px 5px;border-top:1px solid #2d383d;color:#c8d0d4;font-size:8px}.paperdoll-cap span{text-transform:uppercase;color:#839096;font-weight:900}.paperdoll-cap b{color:#f0d77a;font-size:10px;text-align:left}.paperdoll-cap small{font-size:7px;color:#77868e;white-space:nowrap}
.compact-equip-slot.classic-slot{position:relative;width:42px;height:42px;min-height:42px!important;display:grid!important;place-items:center!important;padding:2px!important;border:1px solid #39464d!important;border-radius:0!important;background:linear-gradient(145deg,#151d21,#0b1013)!important;box-shadow:inset 1px 1px 0 rgba(255,255,255,.025),inset -1px -1px 0 rgba(0,0,0,.55)!important;overflow:hidden}.compact-equip-slot.classic-slot:hover{border-color:#6b777c!important;background:linear-gradient(145deg,#1a2429,#0d1418)!important}.compact-equip-slot.classic-slot.filled{border-color:#776641!important;background:linear-gradient(145deg,#1d211d,#0d1110)!important}.compact-equip-slot.classic-slot>small,.compact-equip-slot.classic-slot>.equip-name{display:none!important}.compact-equip-slot.classic-slot .item-visual{width:35px!important;height:35px!important;transform:none!important}.compact-equip-slot.classic-slot .item-art{width:34px!important;height:34px!important}.compact-equip-slot.classic-slot .empty-equip-glyph{width:29px!important;height:29px!important;opacity:.54!important}.compact-equip-slot.classic-slot.bag-fixed{width:42px!important;height:42px!important}.compact-equip-slot.classic-slot.bag-fixed .mini-bag-glyph{width:31px!important;height:31px!important;border:0!important;background:transparent!important}.paperdoll-shield .classic-slot{height:87px!important;align-content:center!important}.paperdoll-shield .classic-slot .empty-equip-glyph,.paperdoll-shield .classic-slot .item-visual{transform:scale(1.06)}
.classic-vitals{display:grid;gap:3px;margin-top:4px}.classic-vital{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:4px}.classic-vital-name{font-size:7px;font-weight:950;color:#c4cdd1;text-align:center}.classic-vital-track{position:relative;height:14px;border:1px solid #404b50;background:#06090b;box-shadow:inset 0 1px 2px rgba(0,0,0,.8);overflow:hidden}.classic-vital-track i{position:absolute;inset:0 auto 0 0;width:0%;transition:width .14s linear}.classic-vital.hp .classic-vital-track i{background:linear-gradient(180deg,#f45a64,#b91f2f)}.classic-vital.mp .classic-vital-track i{background:linear-gradient(180deg,#6d8cff,#344cd6)}.classic-vital-track b{position:relative;z-index:2;display:grid;place-items:center;height:100%;font-size:8px;line-height:1;color:#fff;text-shadow:0 1px 1px #000;font-weight:950;letter-spacing:.01em}

.tibia-combat-side{gap:3px!important;align-content:start!important}.combat-state-strip{gap:2px!important}.combat-state-icon{height:18px!important}.combat-state-icon svg{width:11px!important;height:11px!important}.tibia-combat-grid{gap:2px!important}.tibia-combat-column{gap:2px!important}.tibia-combat-column button{height:25px!important;min-height:25px!important;padding:2px!important;border-radius:1px!important}.combat-control-icon{width:16px!important;height:16px!important}.combat-control-icon svg{width:16px!important;height:16px!important}.pvp-hand-toggle{height:25px!important;min-height:25px!important;border-radius:1px!important}.pvp-hand-toggle .pvp-hand-icon{transform:scale(.82)}
.tibia-combat-column button[data-chase-mode="stand"]{background:linear-gradient(180deg,#171f23,#0c1114)!important}.tibia-combat-column button[data-chase-mode="stand"] .combat-control-icon{color:#9ca9ae}.tibia-combat-column button[data-chase-mode="stand"].active{background:linear-gradient(180deg,#3a321b,#1d180d)!important;color:#ffe07b!important}

@media(max-width:620px){.tibia-paperdoll-layout{grid-template-columns:minmax(0,1fr) 50px!important}.classic-paperdoll{grid-template-columns:repeat(3,39px);grid-template-rows:repeat(4,39px) 27px}.compact-equip-slot.classic-slot{width:39px;height:39px;min-height:39px!important}.paperdoll-shield .classic-slot{height:81px!important}.compact-equip-slot.classic-slot .item-visual{width:32px!important;height:32px!important}.compact-equip-slot.classic-slot .item-art{width:31px!important;height:31px!important}}


/* DAZIVO RPG v0.9.9.68 - HUD único, paperdoll compacto, múltiplos personagens e hotbar por ícones */
/* HP/MP aparecem apenas em Itens no corpo; remove o quadro duplicado superior. */
.classic-client .rpg-top-left{display:none!important}
@media(min-width:981px){.classic-client .rpg-viewport canvas#gameCanvas{top:48px!important}}
body.mobile-game-client .rpg-top-left{display:none!important}
body.mobile-game-client .rpg-status{top:8px!important}
body.mobile-game-client .game-view-controls{top:40px!important}
body.mobile-game-client .mobile-auto-healer-btn{top:74px!important}

/* Paperdoll mais estreito para nunca esconder Ataque / Ataque+Escudo / Defesa. */
.tibia-paperdoll-layout{grid-template-columns:minmax(0,1fr) 43px!important;gap:3px!important}
.classic-paperdoll{grid-template-columns:repeat(3,35px)!important;grid-template-rows:repeat(4,35px) 25px!important;gap:2px!important;padding:2px!important}
.compact-equip-slot.classic-slot{width:35px!important;height:35px!important;min-height:35px!important;padding:1px!important}
.compact-equip-slot.classic-slot .item-visual{width:30px!important;height:30px!important}.compact-equip-slot.classic-slot .item-art{width:29px!important;height:29px!important}.compact-equip-slot.classic-slot .empty-equip-glyph{width:25px!important;height:25px!important}
.compact-equip-slot.classic-slot.bag-fixed{width:35px!important;height:35px!important;cursor:pointer!important;border:1px solid #65502a!important}.compact-equip-slot.classic-slot.bag-fixed:hover{border-color:#d1a23c!important;background:#28200e!important}.compact-equip-slot.classic-slot.bag-fixed .mini-bag-glyph{width:27px!important;height:27px!important}
.paperdoll-shield .classic-slot{height:72px!important}.paperdoll-cap{padding:1px 3px!important;gap:3px!important}.paperdoll-cap b{font-size:8px!important}.paperdoll-cap small{font-size:6px!important}
.tibia-combat-side{width:43px!important;min-width:43px!important}.tibia-combat-column button,.pvp-hand-toggle{height:22px!important;min-height:22px!important}.combat-control-icon,.combat-control-icon svg{width:14px!important;height:14px!important}.combat-state-icon{height:15px!important}.combat-state-icon svg{width:9px!important;height:9px!important}
.context-bag-item{color:#f0d276!important}

/* Ícones HTML na barra de ação. */
.hotbar-icon-key .hotbar-html-icon{display:grid!important;place-items:center!important;width:18px!important;height:18px!important;margin:auto!important}
.hotbar-icon-key .hotbar-html-icon svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.hotbar-icon-key>span{font-size:6px!important;font-weight:900!important;letter-spacing:.02em!important}
#autoAttack.active{border-color:#6ecf75!important;color:#a7f0ad!important;background:linear-gradient(180deg,#17351d,#0d1d11)!important;box-shadow:inset 0 0 0 1px rgba(103,219,116,.16),0 0 8px rgba(80,200,95,.12)!important}

/* Seletor de personagens, usado também como tela inicial do PWA. */
.character-picker-head{margin-bottom:14px}.character-picker-head h1{margin:7px 0 5px}.character-account-list{display:grid;gap:9px;margin-bottom:18px}.character-account-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid #314552;border-radius:10px;background:linear-gradient(180deg,#111c24,#0b141a)}.character-account-row.online{border-color:#38644a;background:linear-gradient(180deg,#12251b,#0c1711)}.character-account-index{display:grid;place-items:center;align-content:center;width:54px;height:48px;border:1px solid #415766;border-radius:8px;background:#0a1319}.character-account-index small{font-size:6px;color:#8499a6;font-weight:900}.character-account-index b{font-size:18px;color:#eec35d}.character-account-main{min-width:0}.character-account-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.character-account-title h3{margin:0;font-size:14px}.character-account-main p{margin:3px 0 0;color:#9eb0bb;font-size:9px}.character-online-state{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:999px;border:1px solid #465660;font-size:7px;font-weight:900;text-transform:uppercase}.character-online-state.online{color:#75e79a;border-color:#3e8054;background:#10271a}.character-online-state.offline{color:#9aa8af}.character-account-action .btn{min-width:84px;text-align:center}.character-account-action button[disabled]{opacity:.55;cursor:not-allowed}
.character-picker-page .site-main{max-width:760px}.character-picker-page .character-create-card{margin-top:10px}
@media(max-width:680px){.character-account-row{grid-template-columns:42px minmax(0,1fr) auto;padding:8px;gap:7px}.character-account-index{width:42px;height:44px}.character-account-action .btn{min-width:64px;padding-inline:8px}.character-account-title h3{font-size:12px}.character-account-main p{font-size:8px}}

@media(max-width:620px){.tibia-paperdoll-layout{grid-template-columns:minmax(0,1fr) 41px!important}.classic-paperdoll{grid-template-columns:repeat(3,33px)!important;grid-template-rows:repeat(4,33px) 24px!important}.compact-equip-slot.classic-slot{width:33px!important;height:33px!important;min-height:33px!important}.paperdoll-shield .classic-slot{height:68px!important}.tibia-combat-side{width:41px!important;min-width:41px!important}}


/* DAZIVO RPG v0.9.9.69 - PvP travado, alvo compacto e inspect */
@media(min-width:981px){
  /* Sem o HUD duplicado, aproveita imediatamente o espaço superior da lateral esquerda. */
  .classic-client .rpg-status{left:8px!important;right:auto!important;top:8px!important;width:112px!important;min-width:112px!important;height:30px!important;min-height:30px!important;transform:none!important;justify-content:center!important}
  .classic-client .game-view-controls{left:124px!important;right:auto!important;top:8px!important;width:84px!important;height:30px!important;z-index:31!important}
  .classic-client .classic-sidebar-left{top:43px!important;bottom:8px!important}

  /* Alvo fica pequeno no canto superior esquerdo do campo e não cobre o centro do combate. */
  .classic-client .target-card{left:calc(var(--left-sidebar-w) + 18px)!important;right:auto!important;top:7px!important;transform:none!important;min-width:0!important;width:178px!important;max-width:178px!important;padding:5px 6px!important;grid-template-columns:minmax(0,1fr) 21px!important;gap:3px 5px!important;border-radius:5px!important;background:rgba(7,14,19,.72)!important;backdrop-filter:blur(4px)!important;box-shadow:0 5px 13px rgba(0,0,0,.18)!important;opacity:.88!important}
  .classic-client .target-card small{font-size:5px!important;line-height:1.1!important;letter-spacing:.35px!important}
  .classic-client .target-card b{font-size:8px!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .classic-client .target-card>button{width:21px!important;height:21px!important;min-width:21px!important;border-radius:4px!important;font-size:11px!important;padding:0!important}
  .classic-client .target-hp{height:4px!important;border-radius:3px!important}
  .classic-client .target-card #targetRangeInfo{font-size:5px!important;margin-top:0!important;color:#d6be7a!important}
}

/* Informação por clique dos dois botões do mouse: central, discreta e temporária. */
.game-inspect-toast{position:absolute;z-index:72;left:50%;top:47%;transform:translate(-50%,-50%);max-width:min(420px,66%);padding:8px 13px;border:1px solid rgba(151,170,181,.46);border-radius:7px;background:rgba(5,11,15,.72);backdrop-filter:blur(5px);color:#eef5f8;font-size:10px;font-weight:800;line-height:1.35;text-align:center;pointer-events:none;box-shadow:0 8px 22px rgba(0,0,0,.22);opacity:1;transition:opacity .22s ease}
.game-inspect-toast[hidden]{display:none!important}.game-inspect-toast.hide{opacity:0}

/* Caveiras do personagem devem continuar legíveis mesmo com zoom menor. */
.classic-client canvas#gameCanvas{image-rendering:auto}

@media(max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client .target-card{left:calc(var(--mobile-left-dock,205px) + 7px)!important;right:auto!important;top:6px!important;transform:none!important;width:154px!important;min-width:0!important;max-width:154px!important;padding:4px 5px!important;grid-template-columns:minmax(0,1fr) 20px!important;gap:2px 4px!important;border-radius:5px!important;background:rgba(7,14,19,.70)!important;opacity:.88!important}
  body.mobile-game-client .target-card b{font-size:7px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.mobile-game-client .target-card small{font-size:5px!important}
  body.mobile-game-client .target-card>button{width:20px!important;height:20px!important;min-width:20px!important;padding:0!important}
  body.mobile-game-client .target-hp{height:4px!important}
  body.mobile-game-client .game-inspect-toast{left:calc(50% + (var(--mobile-left-dock,205px) - var(--mobile-right-dock,218px))/2);top:48%;max-width:42vw;font-size:8px;padding:6px 9px}
}


/* DAZIVO RPG v0.9.9.70 - minimapa compacto, backpack aninhada e chat separado */
.classic-client .minimap-box canvas{height:104px!important;min-height:104px!important;max-height:104px!important}
.classic-client .minimap-toolbar{min-height:21px!important}
#backpackTabs{display:none!important}
.nested-bag-slot{position:relative!important;display:grid!important;place-items:center!important;align-content:center!important;gap:0!important;border-color:#8b6532!important;background:linear-gradient(180deg,#3a291a,#1b1510)!important;color:#f1d497!important;cursor:pointer!important}
.nested-bag-slot.parent{border-color:#526572!important;background:linear-gradient(180deg,#1a2730,#10171c)!important;color:#c7d8e2!important}
.nested-bag-icon{width:72%;height:64%;display:grid;place-items:center}.nested-bag-icon svg{width:100%;height:100%;fill:#7b4c29;stroke:#e0b676;stroke-width:2;stroke-linejoin:round}.nested-bag-slot.parent .nested-bag-icon svg{fill:#304754;stroke:#a9c2cf}
.nested-bag-label{position:absolute;left:3px;top:2px;font-size:7px;font-weight:950}.nested-bag-slot small{position:absolute;right:3px;bottom:2px;font-size:5px;text-transform:uppercase;color:inherit;opacity:.82}
.chat-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important;overflow:visible!important}
.chat-tabs>[data-chat-tab]{min-width:0!important;padding:0 2px!important;font-size:7px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.chat-line.system{color:#e6c66f!important}.chat-line.support{color:#a8ddff!important}
@media(max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client .classic-client .minimap-box canvas,body.mobile-game-client .minimap-box canvas{height:82px!important;min-height:82px!important;max-height:82px!important}
  body.mobile-game-client .chat-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}
  body.mobile-game-client .chat-tabs>[data-chat-tab]{font-size:6px!important;height:17px!important}
}


/* DAZIVO RPG v0.9.9.71 - chat completo, Vendas, Info e caveiras visíveis */
.chat-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:2px!important;overflow:visible!important;align-items:stretch!important}
.chat-tabs>[data-chat-tab]{min-width:0!important;height:20px!important;padding:0 3px!important;font-size:7px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.chat-tabs>#privateTargetHint{grid-column:1/-1!important;min-width:0!important;max-width:100%!important}
.chat-tabs>[data-chat-tab="Vendas"]{color:#f4d36b!important}
.chat-tabs>[data-chat-tab="Vendas"].active{background:linear-gradient(180deg,#9d7622,#6d4c13)!important;color:#fff4c7!important;border-color:#c99b31!important}
.chat-line .chat-channel-label{font-size:6px!important;font-weight:900!important;color:#8eabba!important;text-transform:uppercase!important}
.context-info-item{width:100%;margin-top:6px;padding:7px 9px;border:1px solid #425b69;border-radius:5px;background:#14232c;color:#dceaf2;font-size:9px;font-weight:900;cursor:pointer}
.context-info-item:hover{border-color:#7ca1b5;background:#1a2d38}
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client .chat-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:2px!important}
  body.mobile-game-client .chat-tabs>[data-chat-tab]{height:19px!important;font-size:6px!important}
}

/* v0.9.9.71 - garante duas linhas de canais no chat clássico/lateral */
.classic-client .chat-tabs{height:42px!important;flex:0 0 42px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-content:stretch!important;padding:2px 4px!important;gap:2px!important;overflow:visible!important}
.classic-client .chat-tabs>[data-chat-tab]{height:18px!important;min-width:0!important;max-width:none!important;padding:0 3px!important;font-size:7px!important}
.classic-client .chat-tabs .private-hint{display:none!important}
.classic-client .rpg-chat.chat-sidebar-docked .chat-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;height:auto!important;min-height:42px!important;max-height:none!important;overflow:visible!important;gap:2px!important;padding:3px!important}
.classic-client .rpg-chat.chat-sidebar-docked .chat-tabs>[data-chat-tab]{min-width:0!important;max-width:none!important;flex:none!important;height:19px!important;padding:0 2px!important;font-size:7px!important}
.classic-client .rpg-chat.chat-sidebar-docked .private-hint{display:none!important}

/* DAZIVO RPG v0.9.9.74 - mobile: paperdoll fixo, pinch zoom, online central e Auto Heal na hotbar */
.mobile-online-badge{display:none}

@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  /* Em mobile o zoom do mapa é feito com dois dedos; remove os controles web +/- e o contador lateral duplicado. */
  body.mobile-game-client .game-view-controls,
  body.mobile-game-client .rpg-status{display:none!important}

  /* Auto Heal vira uma tecla real da hotbar: ATK, AUTO, HEAL, F1... */
  body.mobile-game-client .rpg-actionbar #mobileAutoHealerBtn{
    display:flex!important;
    position:static!important;
    inset:auto!important;
    transform:none!important;
    flex:0 0 48px!important;
    width:48px!important;
    min-width:48px!important;
    height:46px!important;
    min-height:46px!important;
    padding:2px!important;
    border-radius:5px!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    background:linear-gradient(180deg,#18242b,#0d151a)!important;
    border:1px solid #465963!important;
    color:#cfe0e8!important;
    letter-spacing:0!important;
    z-index:auto!important;
  }
  body.mobile-game-client .rpg-actionbar #mobileAutoHealerBtn.active{
    border-color:#55cf75!important;
    background:linear-gradient(180deg,#173d24,#0c2013)!important;
    color:#a7f0b5!important;
    box-shadow:inset 0 0 0 1px rgba(85,207,117,.13),0 0 8px rgba(85,207,117,.14)!important;
  }
  body.mobile-game-client .rpg-actionbar #mobileAutoHealerBtn .hotbar-html-icon{width:18px!important;height:18px!important;margin:0 auto!important}
  body.mobile-game-client .rpg-actionbar #mobileAutoHealerBtn>span{display:block!important;font-size:5px!important;line-height:1!important;margin-top:1px!important}

  /* Online fica pequeno e centralizado imediatamente acima da barra F1-F12. */
  body.mobile-game-client .mobile-online-badge{
    display:flex!important;
    position:absolute!important;
    z-index:41!important;
    align-items:center!important;
    justify-content:center!important;
    width:max-content!important;
    min-width:66px!important;
    height:18px!important;
    padding:0 9px!important;
    border:1px solid rgba(100,126,139,.50)!important;
    border-radius:999px!important;
    background:rgba(7,14,18,.76)!important;
    color:#93efae!important;
    font-size:7px!important;
    line-height:1!important;
    font-weight:950!important;
    letter-spacing:.02em!important;
    pointer-events:none!important;
    backdrop-filter:blur(3px)!important;
    box-shadow:0 3px 10px rgba(0,0,0,.18)!important;
  }
  body.mobile-game-client .mobile-online-badge:before{
    content:"";width:6px;height:6px;margin-right:5px;border-radius:50%;background:#43df72;box-shadow:0 0 6px rgba(67,223,114,.55)
  }

  /* Itens no corpo é o painel essencial no toque: fica sempre visível na direita. */
  body.mobile-game-client #classicSidebar>#minimapSection{order:0!important;display:flex!important;flex:0 0 auto!important;overflow:hidden!important}
  body.mobile-game-client #classicSidebar>#sidebarMainToolbar{order:1!important;display:grid!important;flex:0 0 auto!important}
  body.mobile-game-client #classicSidebar>#equipmentSection{
    order:2!important;
    display:flex!important;
    flex:0 0 auto!important;
    max-height:226px!important;
    min-height:178px!important;
    overflow:hidden!important;
    margin:0!important;
    border-color:#46555d!important;
    background:linear-gradient(180deg,#111a1f,#0a1014)!important;
  }
  body.mobile-game-client #classicSidebar>#equipmentSection .container-heading{
    min-height:21px!important;height:21px!important;flex:0 0 21px!important;padding:0 4px!important
  }
  body.mobile-game-client #classicSidebar>#equipmentSection .container-heading h3{font-size:7px!important}
  body.mobile-game-client #classicSidebar>#equipmentSection .move-sidebar-btn,
  body.mobile-game-client #classicSidebar>#equipmentSection [data-toggle-container="equipmentSection"],
  body.mobile-game-client #classicSidebar>#equipmentSection .sidebar-close-btn{display:none!important}
  body.mobile-game-client #classicSidebar>#equipmentSection #equipmentSectionBody{
    display:flex!important;flex-direction:column!important;flex:0 0 auto!important;min-height:0!important;padding:3px!important;overflow:hidden!important
  }
  body.mobile-game-client #classicSidebar>[data-sidebar-block]:not(#minimapSection):not(#equipmentSection){order:3!important;min-height:0!important;flex:1 1 auto!important}
  body.mobile-game-client #classicSidebar>[data-sidebar-block].mobile-panel-active:not(#equipmentSection){display:flex!important;flex-direction:column!important;overflow:auto!important}
  body.mobile-game-client #classicSidebar [data-mobile-panel="equipment"]{display:none!important}

  /* Minimapa um pouco menor para deixar o paperdoll sempre inteiro. */
  body.mobile-game-client #classicSidebar .minimap-box #miniMapCanvas{
    height:72px!important;min-height:72px!important;max-height:72px!important;flex:0 0 72px!important
  }
  body.mobile-game-client #classicSidebar .minimap-toolbar{min-height:19px!important;flex:0 0 19px!important}

  /* O pinch funciona diretamente no mapa sem seleção/scroll do navegador. */
  body.mobile-game-client #gameCanvas{touch-action:none!important;overscroll-behavior:none!important}

  /* Com os controles removidos, chat e direcional aproveitam melhor a coluna esquerda. */
  body.mobile-game-client .rpg-chat.collapsed{top:7px!important;left:6px!important;width:calc(var(--mobile-left-dock,160px) - 12px)!important;max-width:calc(var(--mobile-left-dock,160px) - 12px)!important}
  body.mobile-game-client .mobile-dpad{left:6px!important;bottom:6px!important;width:calc(var(--mobile-left-dock,160px) - 12px)!important}
}

@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #classicSidebar>#equipmentSection{max-height:196px!important;min-height:164px!important}
  body.mobile-game-client #classicSidebar .minimap-box #miniMapCanvas{height:58px!important;min-height:58px!important;max-height:58px!important;flex-basis:58px!important}
  body.mobile-game-client #classicSidebar>#equipmentSection .classic-paperdoll{transform:scale(.92);transform-origin:top left;margin-right:-8px;margin-bottom:-8px}
  body.mobile-game-client #classicSidebar>#equipmentSection .classic-vitals{margin-top:0!important}
}


/* DAZIVO RPG v0.9.9.75 - mobile: Itens no corpo na esquerda + controles do minimapa embutidos */
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  /* A coluna esquerda já é reservada pelo layout do jogo. Agora ela recebe o paperdoll fixo. */
  body.mobile-game-client #leftSidebar{
    display:flex!important;
    position:absolute!important;
    z-index:35!important;
    left:5px!important;
    top:5px!important;
    bottom:5px!important;
    width:calc(var(--mobile-left-dock,160px) - 10px)!important;
    padding:0!important;
    gap:4px!important;
    overflow:visible!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    pointer-events:none!important;
  }
  body.mobile-game-client #leftSidebar:before{display:none!important}
  body.mobile-game-client #leftSidebar>#equipmentSection{
    display:flex!important;
    position:relative!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    height:202px!important;
    min-height:202px!important;
    max-height:202px!important;
    margin:0!important;
    padding:3px!important;
    flex:0 0 202px!important;
    overflow:hidden!important;
    pointer-events:auto!important;
    border:1px solid #46555d!important;
    background:linear-gradient(180deg,rgba(13,22,27,.97),rgba(7,12,15,.97))!important;
    box-shadow:0 5px 14px rgba(0,0,0,.20)!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .container-heading{
    min-height:18px!important;height:18px!important;flex:0 0 18px!important;padding:0 3px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .container-heading h3{font-size:7px!important;line-height:1!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .move-sidebar-btn,
  body.mobile-game-client #leftSidebar>#equipmentSection [data-toggle-container="equipmentSection"],
  body.mobile-game-client #leftSidebar>#equipmentSection .sidebar-close-btn{display:none!important}
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentSectionBody{
    display:block!important;
    flex:1 1 auto!important;
    min-height:0!important;
    padding:2px!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-paperdoll-layout{
    grid-template-columns:minmax(0,1fr) 38px!important;
    gap:2px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-paperdoll{
    grid-template-columns:repeat(3,28px)!important;
    grid-template-rows:repeat(4,28px) 20px!important;
    gap:1px!important;
    padding:1px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot{
    width:28px!important;height:28px!important;min-height:28px!important;padding:0!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .item-visual{width:25px!important;height:25px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .item-art{width:24px!important;height:24px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .empty-equip-glyph{width:21px!important;height:21px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed{width:28px!important;height:28px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed .mini-bag-glyph{width:23px!important;height:23px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot{height:57px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap{height:20px!important;padding:0 2px!important;gap:2px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap span{font-size:5px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap b{font-size:7px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap small{font-size:5px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-side{width:38px!important;min-width:38px!important;gap:1px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-strip{gap:1px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-icon{height:13px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-icon svg{width:8px!important;height:8px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-grid{gap:1px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column{gap:1px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column button,
  body.mobile-game-client #leftSidebar>#equipmentSection .pvp-hand-toggle{height:20px!important;min-height:20px!important;padding:1px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-control-icon,
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-control-icon svg{width:13px!important;height:13px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .pvp-hand-icon{transform:scale(.68)!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vitals{gap:1px!important;margin-top:2px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital{grid-template-columns:14px minmax(0,1fr)!important;gap:2px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-name{font-size:5px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-track{height:10px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-track b{font-size:6px!important}

  /* O botão do paperdoll não é necessário no mobile, pois ele fica sempre visível na esquerda. */
  body.mobile-game-client #sidebarMainToolbar [data-mobile-panel="equipment"]{display:none!important}

  /* Minimapa: os controles saem de baixo e viram uma pequena régua dentro do quadro escuro. */
  body.mobile-game-client #classicSidebar>#minimapSection{
    position:relative!important;
    min-height:100px!important;
    height:100px!important;
    max-height:100px!important;
    padding:3px!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-title{
    height:18px!important;min-height:18px!important;margin:0 0 2px!important;padding:0 3px!important
  }
  body.mobile-game-client #classicSidebar>#minimapSection #miniMapCanvas{
    display:block!important;
    width:calc(100% - 48px)!important;
    height:74px!important;
    min-height:74px!important;
    max-height:74px!important;
    margin:0!important;
    flex:0 0 74px!important;
  }
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-toolbar{
    position:absolute!important;
    z-index:4!important;
    right:3px!important;
    top:23px!important;
    width:43px!important;
    height:73px!important;
    min-height:0!important;
    margin:0!important;
    padding:2px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:1fr 1fr!important;
    gap:2px!important;
    border:1px solid #34444d!important;
    border-radius:3px!important;
    background:rgba(5,10,13,.92)!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)!important;
  }
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-floor-controls,
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-zoom-controls{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    grid-template-rows:10px 17px!important;
    gap:1px!important;
    min-width:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-floor-controls small,
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-zoom-controls small{
    display:none!important;
  }
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-floor-controls span,
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-zoom-controls span{
    grid-column:1/-1!important;
    grid-row:1!important;
    display:block!important;
    min-width:0!important;
    height:10px!important;
    padding:0!important;
    color:#d9be68!important;
    font-size:6px!important;
    line-height:10px!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-floor-controls button,
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-zoom-controls button{
    grid-row:2!important;
    min-width:0!important;
    width:100%!important;
    height:17px!important;
    min-height:17px!important;
    padding:0!important;
    border-radius:2px!important;
    font-size:11px!important;
    line-height:15px!important;
  }

  /* Agora o espaço vertical liberado pertence aos painéis abertos abaixo dos ícones. */
  body.mobile-game-client #classicSidebar>#sidebarMainToolbar{order:1!important;margin-top:3px!important}
  body.mobile-game-client #classicSidebar>[data-sidebar-block]:not(#minimapSection){order:2!important}

  /* Chat começa logo abaixo do paperdoll compacto; o direcional continua fixo no rodapé. */
  body.mobile-game-client .rpg-chat.collapsed{top:214px!important}
}

@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #leftSidebar>#equipmentSection{
    height:174px!important;min-height:174px!important;max-height:174px!important;flex-basis:174px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentSectionBody{
    transform:scale(.86)!important;
    transform-origin:top left!important;
    width:116%!important;
  }
  body.mobile-game-client .rpg-chat.collapsed{top:181px!important}
  body.mobile-game-client #classicSidebar>#minimapSection{height:86px!important;min-height:86px!important;max-height:86px!important}
  body.mobile-game-client #classicSidebar>#minimapSection #miniMapCanvas{height:60px!important;min-height:60px!important;max-height:60px!important;flex-basis:60px!important}
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-toolbar{height:59px!important;top:23px!important}
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-floor-controls,
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-zoom-controls{grid-template-rows:8px 14px!important}
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-floor-controls span,
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-zoom-controls span{height:8px!important;line-height:8px!important;font-size:5px!important}
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-floor-controls button,
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-zoom-controls button{height:14px!important;min-height:14px!important;font-size:9px!important;line-height:12px!important}
}


/* DAZIVO RPG v0.9.9.76 - mobile paperdoll sem título e layout igual ao desktop */
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client #leftSidebar>#equipmentSection{
    flex-direction:column!important;
    height:190px!important;
    min-height:190px!important;
    max-height:190px!important;
    flex-basis:190px!important;
    padding:3px!important;
  }
  /* No mobile o título desperdiçava largura e fazia o paperdoll quebrar em uma coluna estreita. */
  body.mobile-game-client #leftSidebar>#equipmentSection>.container-heading{
    display:none!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentSectionBody{
    display:block!important;
    width:100%!important;
    height:100%!important;
    flex:1 1 100%!important;
    min-width:0!important;
    min-height:0!important;
    padding:2px!important;
    margin:0!important;
    overflow:hidden!important;
    transform:none!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-paperdoll-layout{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 40px!important;
    gap:2px!important;
    width:100%!important;
    align-items:start!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-paperdoll{
    display:grid!important;
    grid-template-columns:repeat(3,32px)!important;
    grid-template-rows:repeat(4,32px) 18px!important;
    grid-template-areas:"amulet helmet bag" "weapon armor shield" "ring legs shield" ". boots ." "cap cap cap"!important;
    gap:1px!important;
    justify-content:center!important;
    width:auto!important;
    padding:1px!important;
    margin:0!important;
    transform:none!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot{
    width:32px!important;
    height:32px!important;
    min-height:32px!important;
    padding:1px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .item-visual{
    width:28px!important;height:28px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .item-art{
    width:27px!important;height:27px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .empty-equip-glyph{
    width:23px!important;height:23px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed{
    width:32px!important;height:32px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed .mini-bag-glyph{
    width:26px!important;height:26px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot{
    height:65px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap{
    height:18px!important;
    padding:0 3px!important;
    gap:2px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap span{font-size:5px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap b{font-size:7px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap small{font-size:5px!important}

  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-side{
    width:40px!important;
    min-width:40px!important;
    gap:2px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-strip{gap:1px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-icon{
    height:14px!important;min-height:14px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-icon svg{
    width:9px!important;height:9px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-grid{gap:2px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column{gap:2px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column button,
  body.mobile-game-client #leftSidebar>#equipmentSection .pvp-hand-toggle{
    height:22px!important;
    min-height:22px!important;
    padding:1px!important;
    border-radius:2px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-control-icon,
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-control-icon svg{
    width:14px!important;height:14px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .pvp-hand-icon{transform:scale(.72)!important}

  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vitals{
    gap:2px!important;
    margin-top:3px!important;
    padding:0 2px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital{
    grid-template-columns:15px minmax(0,1fr)!important;
    gap:2px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-name{font-size:5px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-track{
    height:11px!important;min-height:11px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-track b{font-size:6px!important}

  body.mobile-game-client .rpg-chat.collapsed{top:198px!important}
}

@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #leftSidebar>#equipmentSection{
    height:166px!important;min-height:166px!important;max-height:166px!important;flex-basis:166px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentSectionBody{
    transform:scale(.88)!important;
    transform-origin:top left!important;
    width:113.7%!important;
    height:113.7%!important;
  }
  body.mobile-game-client .rpg-chat.collapsed{top:173px!important}
}

/* DAZIVO RPG v0.9.9.77 - mobile sidebar/equipment/backpack refinements */
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client #leftSidebar>#equipmentSection{
    height:224px!important;
    min-height:224px!important;
    max-height:224px!important;
    flex-basis:224px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentSectionBody{
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-paperdoll-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
    gap:4px!important;
    align-items:start!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-paperdoll{
    grid-template-columns:repeat(3,39px)!important;
    grid-template-rows:repeat(4,39px) 22px!important;
    gap:2px!important;
    margin:0 auto!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot{
    width:39px!important;
    height:39px!important;
    min-height:39px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .item-visual{width:33px!important;height:33px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .item-art{width:32px!important;height:32px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .empty-equip-glyph{width:27px!important;height:27px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed{width:39px!important;height:39px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed .mini-bag-glyph{width:30px!important;height:30px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot{height:80px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap{height:22px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap span{font-size:6px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap b{font-size:8px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap small{font-size:6px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-side{
    width:auto!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
    gap:3px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-strip{
    justify-content:flex-start!important;
    gap:2px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-icon{height:16px!important;min-height:16px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-icon svg{width:10px!important;height:10px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-grid{grid-template-columns:1fr 1fr!important;gap:3px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column{gap:3px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column button,
  body.mobile-game-client #leftSidebar>#equipmentSection .pvp-hand-toggle{height:24px!important;min-height:24px!important;border-radius:3px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-control-icon,
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-control-icon svg{width:15px!important;height:15px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vitals{margin-top:0!important;padding:0 1px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital{grid-template-columns:17px minmax(0,1fr)!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-name{font-size:6px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-track{height:12px!important;min-height:12px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-track b{font-size:7px!important}
  body.mobile-game-client .rpg-chat.collapsed{top:232px!important}

  body.mobile-game-client #classicSidebar>[data-sidebar-block].mobile-panel-active{
    min-height:0!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #classicSidebar>[data-sidebar-block].mobile-panel-active .container-body,
  body.mobile-game-client #classicSidebar>[data-sidebar-block].mobile-panel-active .battle-list,
  body.mobile-game-client #classicSidebar>[data-sidebar-block].mobile-panel-active .spellbook-list,
  body.mobile-game-client #classicSidebar>[data-sidebar-block].mobile-panel-active .friends-list,
  body.mobile-game-client #classicSidebar>[data-sidebar-block].mobile-panel-active .sidebar-subview,
  body.mobile-game-client #classicSidebar>[data-sidebar-block].mobile-panel-active #gameMenuRoot,
  body.mobile-game-client #classicSidebar>[data-sidebar-block].mobile-panel-active #inventoryBox{
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-width:thin!important;
    -webkit-overflow-scrolling:touch!important;
  }
  body.mobile-game-client #spellPanel .container-body,
  body.mobile-game-client #friendsPanel .container-body,
  body.mobile-game-client #gameMenuPanel .container-body,
  body.mobile-game-client #backpackSection .container-body{padding-right:2px!important}
  body.mobile-game-client #gameMenuRoot{display:grid!important;gap:6px!important;align-content:start!important}
  body.mobile-game-client .sidebar-subview{padding-right:2px!important}

  body.mobile-game-client #backpackSection .container-heading h3{font-size:9px!important}
  body.mobile-game-client #backpackSection .container-body{display:flex!important;flex-direction:column!important;gap:4px!important;overflow:hidden!important}
  body.mobile-game-client #backpackTabs{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(34px,1fr))!important;gap:3px!important;flex:0 0 auto!important}
  body.mobile-game-client #inventoryBox{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-rows:auto!important;
    gap:5px!important;
    padding:3px!important;
    align-content:start!important;
  }
  body.mobile-game-client #inventoryBox .compact-item-slot{
    aspect-ratio:1/1!important;
    min-height:0!important;
    height:auto!important;
    padding:3px!important;
    border-radius:5px!important;
  }
  body.mobile-game-client #inventoryBox .compact-item-slot .item-glyph,
  body.mobile-game-client #inventoryBox .compact-item-slot .visual-item{width:82%!important;height:82%!important}
  body.mobile-game-client #inventoryBox .compact-item-slot .slot-qty,
  body.mobile-game-client #inventoryBox .compact-item-slot .slot-label{font-size:9px!important}
}

@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #leftSidebar>#equipmentSection{
    height:194px!important;
    min-height:194px!important;
    max-height:194px!important;
    flex-basis:194px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentSectionBody{
    transform:scale(.93)!important;
    transform-origin:top left!important;
    width:107.5%!important;
    height:107.5%!important;
  }
  body.mobile-game-client .rpg-chat.collapsed{top:202px!important}
}

/* Contexto de item com mais ações e melhor leitura em mobile. */
.item-context-card .context-primary-item,
.item-context-card .context-use-item,
.item-context-card .context-drop-item,
.item-context-card .context-bag-item,
.item-context-card .context-info-item{
  width:100%!important;
  min-height:32px!important;
  border:1px solid #2d4350!important;
  border-radius:6px!important;
  background:#10202a!important;
  color:#edf3f6!important;
  font:800 11px/1 system-ui!important;
}
.item-context-card .context-primary-item{border-color:#b88d3d!important;background:linear-gradient(180deg,#2a2412,#161109)!important;color:#ffdb87!important}
.item-context-card .context-use-item{border-color:#2d6d46!important;background:linear-gradient(180deg,#102417,#09150e)!important;color:#89ec9a!important}
body.mobile-game-client .game-context-menu{width:206px!important;max-width:calc(100vw - 20px)!important}
body.mobile-game-client .item-context-card{gap:6px!important;padding:9px!important;font-size:9px!important}
body.mobile-game-client .item-context-title b{font-size:10px!important}

/* DAZIVO RPG v0.9.9.78 - mobile paperdoll horizontal controls + backpack cleaner */
/* Corrige herança do antigo boneco de pernas que vazava para fora do slot. */
.paperdoll-cell.paperdoll-legs{
  width:auto!important;
  height:auto!important;
  margin:0!important;
  background:none!important;
  clip-path:none!important;
}
.tibia-paperdoll-layout>.classic-vitals{grid-column:1/-1!important;width:100%!important}

@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client #leftSidebar>#equipmentSection{
    height:284px!important;
    min-height:284px!important;
    max-height:284px!important;
    flex-basis:284px!important;
    padding:4px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentSectionBody{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:100%!important;
    gap:4px!important;
    padding:2px!important;
    overflow:hidden!important;
    transform:none!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-paperdoll-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto auto!important;
    gap:4px!important;
    width:100%!important;
    min-width:0!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentBox{
    width:100%!important;
    min-width:0!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-paperdoll{
    grid-template-columns:repeat(3,42px)!important;
    grid-template-rows:repeat(4,42px) 24px!important;
    gap:2px!important;
    justify-content:center!important;
    width:max-content!important;
    margin:0 auto!important;
    padding:2px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot{
    width:42px!important;
    height:42px!important;
    min-height:42px!important;
    padding:2px!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .item-visual{width:35px!important;height:35px!important;max-width:35px!important;max-height:35px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .item-art{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important;overflow:hidden!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .empty-equip-glyph{width:29px!important;height:29px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed{width:42px!important;height:42px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed .mini-bag-glyph{width:31px!important;height:31px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot{height:86px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cap{height:24px!important;padding:0 4px!important}

  /* As opções que antes ficavam espremidas na lateral passam para uma linha abaixo dos itens. */
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-side{
    width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:4px!important;
    padding:3px!important;
    border:1px solid #303d43!important;
    background:linear-gradient(180deg,#11191d,#0a0f12)!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-strip{
    display:grid!important;
    grid-template-columns:repeat(3,18px)!important;
    gap:2px!important;
    align-items:center!important;
    justify-content:start!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-icon{
    width:18px!important;height:24px!important;min-height:24px!important
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-icon svg{width:11px!important;height:11px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-grid{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:2px!important;
    width:100%!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column{display:contents!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column button,
  body.mobile-game-client #leftSidebar>#equipmentSection .pvp-hand-toggle{
    width:100%!important;
    height:26px!important;
    min-height:26px!important;
    padding:1px!important;
    border-radius:3px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-control-icon,
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-control-icon svg{width:15px!important;height:15px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .pvp-hand-icon{transform:scale(.72)!important}
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentVitals{
    width:100%!important;
    margin:0!important;
    padding:0 2px!important;
    gap:2px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital{
    grid-template-columns:18px minmax(0,1fr)!important;
    gap:3px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-name{font-size:6px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-track{height:12px!important;min-height:12px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-track b{font-size:7px!important}

  /* Backpack: sem título/peso duplicados, botões compactos e 4 slots exatos por linha. */
  body.mobile-game-client #backpackSection .container-heading{
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
    min-height:31px!important;
    height:31px!important;
    padding:3px!important;
  }
  body.mobile-game-client #backpackSection .container-heading h3{display:none!important}
  body.mobile-game-client #backpackSection .container-heading-actions{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    gap:3px!important;
    justify-content:flex-end!important;
    align-items:center!important;
  }
  body.mobile-game-client #backpackSection #inventoryCount{
    margin-right:auto!important;
    min-width:44px!important;
    height:24px!important;
    display:grid!important;
    place-items:center!important;
    font-size:8px!important;
  }
  body.mobile-game-client #backpackSection .move-sidebar-btn{display:none!important}
  body.mobile-game-client #backpackSection .container-heading-actions .container-toggle{
    width:27px!important;
    min-width:27px!important;
    height:25px!important;
    min-height:25px!important;
    padding:0!important;
  }
  body.mobile-game-client #backpackSection #carryInfo{display:none!important}
  body.mobile-game-client #backpackSectionBody{
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #backpackTabs{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;
    width:100%!important;
    min-width:0!important;
    flex:0 0 auto!important;
  }
  body.mobile-game-client #inventoryBox{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-auto-rows:auto!important;
    gap:5px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:4px!important;
    box-sizing:border-box!important;
    align-content:start!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-width:thin!important;
  }
  body.mobile-game-client #inventoryBox .compact-item-slot{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1/1!important;
    padding:3px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #inventoryBox .compact-item-slot .item-glyph,
  body.mobile-game-client #inventoryBox .compact-item-slot .visual-item{width:84%!important;height:84%!important;max-width:84%!important;max-height:84%!important}
  body.mobile-game-client #backpackSection .container-resize-handle{display:none!important}
}

@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #leftSidebar>#equipmentSection{
    height:250px!important;
    min-height:250px!important;
    max-height:250px!important;
    flex-basis:250px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentSectionBody{
    transform:scale(.91)!important;
    transform-origin:top left!important;
    width:109.9%!important;
    height:109.9%!important;
  }
}

/* DAZIVO RPG v0.9.9.79 - movimento touch direto no mapa + coluna esquerda limpa */
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  /* O direcional deixa de ocupar a lateral: no mobile o movimento é feito segurando/arrastando o dedo no mapa. */
  body.mobile-game-client .mobile-dpad{display:none!important}

  /* Aproveita melhor a coluna esquerda para equipamento + chat, sem sobreposição. */
  body.mobile-game-client #leftSidebar{
    width:calc(var(--mobile-left-dock,176px) - 10px)!important;
    overflow:visible!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection{
    width:100%!important;
    height:278px!important;
    min-height:278px!important;
    max-height:278px!important;
    flex-basis:278px!important;
  }
  body.mobile-game-client .rpg-chat.collapsed{
    left:6px!important;
    width:calc(var(--mobile-left-dock,176px) - 12px)!important;
    max-width:calc(var(--mobile-left-dock,176px) - 12px)!important;
    height:34px!important;
    min-height:34px!important;
  }
  body.mobile-game-client .rpg-chat:not(.collapsed){
    left:6px!important;
    width:calc(var(--mobile-left-dock,176px) - 12px)!important;
    max-width:calc(var(--mobile-left-dock,176px) - 12px)!important;
    min-width:0!important;
    height:auto!important;
    min-height:120px!important;
    max-height:none!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }
  body.mobile-game-client .rpg-chat:not(.collapsed) .chat-tabs{
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:3px!important;
    padding:4px!important;
  }
  body.mobile-game-client .rpg-chat:not(.collapsed) .chat-tabs button{
    min-width:0!important;
    height:24px!important;
    padding:0 3px!important;
    font-size:7px!important;
  }
  body.mobile-game-client .rpg-chat:not(.collapsed) .private-hint{grid-column:1/-1!important;font-size:7px!important;padding:1px 2px!important}
  body.mobile-game-client .rpg-chat:not(.collapsed) .chat-log{
    flex:1 1 auto!important;
    height:auto!important;
    min-height:54px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  body.mobile-game-client .rpg-chat:not(.collapsed) .game-chat-form{flex:0 0 auto!important;padding:4px!important}
  body.mobile-game-client .rpg-chat:not(.collapsed) .game-chat-form input{min-width:0!important;width:100%!important;font-size:10px!important}
  body.mobile-game-client .rpg-chat:not(.collapsed) .game-chat-form button{display:none!important}

  /* Feedback discreto enquanto o dedo está comandando a direção. */
  body.mobile-game-client #gameCanvas.mobile-touch-steering{
    box-shadow:inset 0 0 0 2px rgba(94,199,255,.28),0 0 0 1px #0a1014,0 10px 24px rgba(0,0,0,.28)!important;
  }
}

@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #leftSidebar>#equipmentSection{
    height:244px!important;
    min-height:244px!important;
    max-height:244px!important;
    flex-basis:244px!important;
  }
}

/* DAZIVO RPG v0.9.9.80 - mobile: controles do paperdoll em 2 linhas + HP/MP visíveis */
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client #leftSidebar>#equipmentSection{
    height:332px!important;
    min-height:332px!important;
    max-height:332px!important;
    flex-basis:332px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentSectionBody{
    display:flex!important;
    flex-direction:column!important;
    gap:6px!important;
    overflow:visible!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-paperdoll-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto auto!important;
    gap:6px!important;
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentBox,
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentVitals{
    width:100%!important;
    min-width:0!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-side{
    width:100%!important;
    min-width:0!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
    align-items:stretch!important;
    gap:4px!important;
    padding:4px!important;
    border:1px solid #303d43!important;
    background:linear-gradient(180deg,#11191d,#0a0f12)!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-strip{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:3px!important;
    width:100%!important;
    justify-content:stretch!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-icon{
    width:100%!important;
    height:22px!important;
    min-height:22px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-icon svg{
    width:11px!important;
    height:11px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-auto-rows:auto!important;
    gap:3px!important;
    width:100%!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:3px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column button,
  body.mobile-game-client #leftSidebar>#equipmentSection .pvp-hand-toggle{
    width:100%!important;
    height:28px!important;
    min-height:28px!important;
    padding:2px!important;
    border-radius:3px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-control-icon,
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-control-icon svg{
    width:15px!important;
    height:15px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .pvp-hand-icon{
    transform:scale(.78)!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentVitals{
    display:grid!important;
    gap:3px!important;
    margin:0!important;
    padding:0 1px 1px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital{
    grid-template-columns:18px minmax(0,1fr)!important;
    gap:3px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-name{
    font-size:6px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-track{
    height:13px!important;
    min-height:13px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-track b{
    font-size:7px!important;
  }
}

@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #leftSidebar>#equipmentSection{
    height:286px!important;
    min-height:286px!important;
    max-height:286px!important;
    flex-basis:286px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentSectionBody{
    transform:scale(.96)!important;
    transform-origin:top left!important;
    width:104.2%!important;
    height:104.2%!important;
  }
}

/* DAZIVO RPG v0.9.9.81 - chat-carta flutuante + paperdoll mobile sem cortes */
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  /* O quadro de equipamentos usa a lateral sem depender do antigo espaço do Chat. */
  body.mobile-game-client #leftSidebar>#equipmentSection{
    height:auto!important;
    min-height:0!important;
    max-height:calc(100% - 56px)!important;
    flex:0 0 auto!important;
    overflow:visible!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentSectionBody,
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-paperdoll-layout{
    overflow:visible!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-paperdoll-layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto auto!important;
    gap:6px!important;
  }

  /* Estados em uma linha; postura e perseguição/PvP em duas linhas separadas. */
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-side{
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto!important;
    gap:4px!important;
    width:100%!important;
    min-width:0!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-strip{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:3px!important;
    width:100%!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
    width:100%!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:3px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column button,
  body.mobile-game-client #leftSidebar>#equipmentSection .pvp-hand-toggle{
    height:28px!important;
    min-height:28px!important;
  }

  /* HP e MP nunca podem sumir/cortar no mobile. */
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentVitals{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    position:relative!important;
    z-index:2!important;
    width:100%!important;
    min-height:32px!important;
    margin:0!important;
    padding:2px 1px!important;
    gap:3px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital{
    display:grid!important;
    grid-template-columns:18px minmax(0,1fr)!important;
    gap:3px!important;
    width:100%!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-track{
    height:13px!important;
    min-height:13px!important;
  }

  /* Chat minimizado = somente uma carta no canto inferior esquerdo. */
  body.mobile-game-client #chatPanel.collapsed{
    left:8px!important;
    right:auto!important;
    top:auto!important;
    bottom:8px!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:0!important;
    border:0!important;
    border-radius:10px!important;
    overflow:visible!important;
    background:transparent!important;
    box-shadow:none!important;
    z-index:70!important;
  }
  body.mobile-game-client #chatPanel.collapsed .chat-head{
    display:block!important;
    width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  body.mobile-game-client #chatPanel.collapsed .chat-head>b,
  body.mobile-game-client #chatPanel.collapsed #chatDockToggle,
  body.mobile-game-client #chatPanel.collapsed #chatSmaller,
  body.mobile-game-client #chatPanel.collapsed #chatLarger,
  body.mobile-game-client #chatPanel.collapsed .chat-resize-handle,
  body.mobile-game-client #chatPanel.collapsed .chat-tabs,
  body.mobile-game-client #chatPanel.collapsed .chat-log,
  body.mobile-game-client #chatPanel.collapsed .game-chat-form{
    display:none!important;
  }
  body.mobile-game-client #chatPanel.collapsed .chat-head-actions{
    display:block!important;
    width:44px!important;
    height:44px!important;
    margin:0!important;
  }
  body.mobile-game-client #chatPanel.collapsed #toggleChat{
    display:grid!important;
    place-items:center!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    padding:0!important;
    border:1px solid #a88335!important;
    border-radius:10px!important;
    background:linear-gradient(180deg,#2a3135,#11181c)!important;
    color:#f5c85d!important;
    box-shadow:0 5px 14px rgba(0,0,0,.38),inset 0 0 0 1px rgba(255,211,106,.08)!important;
  }
  body.mobile-game-client #chatPanel.collapsed #toggleChat:active{transform:scale(.96)}
  body.mobile-game-client .chat-letter-icon,
  body.mobile-game-client .chat-collapse-icon{display:grid!important;place-items:center!important;width:25px!important;height:25px!important}
  body.mobile-game-client .chat-letter-icon svg,
  body.mobile-game-client .chat-collapse-icon svg{width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}

  /* Quando aberto, o chat volta a flutuar sobre o mapa, como antes, sem tomar a lateral. */
  body.mobile-game-client #chatPanel:not(.collapsed){
    z-index:70!important;
    border-radius:7px!important;
    background:rgba(7,15,20,.98)!important;
    box-shadow:0 12px 26px rgba(0,0,0,.42)!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-head{
    min-height:30px!important;
    height:30px!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) #chatDockToggle{display:none!important}
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-tabs{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:2px!important;
    height:auto!important;
    min-height:42px!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-log{
    flex:1 1 auto!important;
    min-height:58px!important;
    overflow-y:auto!important;
  }
}

/* Telefones com pouca altura: compacta o paperdoll, mas preserva os vitais e as 2 linhas de combate. */
@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #leftSidebar>#equipmentSection{
    height:auto!important;
    min-height:0!important;
    max-height:calc(100% - 52px)!important;
    flex-basis:auto!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentSectionBody{
    transform:none!important;
    width:100%!important;
    height:auto!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-paperdoll{
    grid-template-columns:repeat(3,34px)!important;
    grid-template-rows:repeat(4,34px) 20px!important;
    gap:1px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot{
    width:34px!important;
    height:34px!important;
    min-height:34px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .item-visual{width:29px!important;height:29px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot .item-art{width:28px!important;height:28px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot{height:69px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-side{gap:2px!important;padding:2px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-grid{gap:2px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column{gap:2px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-column button,
  body.mobile-game-client #leftSidebar>#equipmentSection .pvp-hand-toggle{height:23px!important;min-height:23px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .combat-state-icon{height:17px!important;min-height:17px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentVitals{min-height:28px!important;gap:2px!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-vital-track{height:11px!important;min-height:11px!important}
}
\n\n/* DAZIVO RPG v0.9.9.82 - chat mobile sem teclado automático + minimapa inferior + paperdoll alinhado */
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  /* O teclado virtual só deve abrir quando o jogador tocar de verdade no input.
     O cabeçalho fica sempre visível no chat aberto para existir uma saída clara de minimizar. */
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-head{
    display:flex!important;
    position:relative!important;
    z-index:4!important;
    flex:0 0 30px!important;
    width:100%!important;
    min-height:30px!important;
    height:30px!important;
    padding:0 6px 0 9px!important;
    background:linear-gradient(180deg,#17232b,#0d161c)!important;
    border-bottom:1px solid #3f515b!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-head>b{
    display:block!important;
    font-size:9px!important;
    color:#dce8ee!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-head-actions{
    display:flex!important;
    margin-left:auto!important;
    align-items:center!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) #toggleChat{
    display:grid!important;
    place-items:center!important;
    width:28px!important;
    min-width:28px!important;
    height:24px!important;
    min-height:24px!important;
    border:1px solid #6f5a2d!important;
    border-radius:5px!important;
    background:linear-gradient(180deg,#2a3034,#11181c)!important;
    color:#f2c85f!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) #toggleChat .chat-collapse-icon,
  body.mobile-game-client #chatPanel:not(.collapsed) #toggleChat .chat-collapse-icon svg{
    width:17px!important;
    height:17px!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-resize-handle{display:none!important}

  /* HP/MP ficam acima dos slots; depois vêm os itens e, por último, os controles de combate. */
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-paperdoll-layout{
    grid-template-rows:auto auto auto!important;
    gap:5px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentVitals{
    order:0!important;
    margin:0 0 1px!important;
    padding:1px 2px 2px!important;
    border-bottom:1px solid rgba(101,117,126,.34)!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentBox{order:1!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-side{order:2!important}

  /* Todos os slots do corpo usam quadros quadrados iguais. Escudo deixa de ocupar duas linhas. */
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-paperdoll{
    grid-template-areas:
      "amulet helmet bag"
      "weapon armor shield"
      "ring legs ."
      ". boots ."
      "cap cap cap"!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cell{
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    min-height:0!important;
    display:grid!important;
    place-items:center!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot,
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    max-width:42px!important;
    max-height:42px!important;
    align-content:center!important;
    box-sizing:border-box!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot .empty-equip-glyph,
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot .item-visual{
    transform:none!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed{
    padding:2px!important;
    border-color:#665332!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed .mini-bag-glyph{
    width:31px!important;
    height:31px!important;
    max-width:31px!important;
    max-height:31px!important;
    display:grid!important;
    place-items:center!important;
  }

  /* Barra de atalhos no topo da lateral direita; minimapa fica ancorado no canto inferior direito. */
  body.mobile-game-client #classicSidebar>#sidebarMainToolbar{
    order:0!important;
    flex:0 0 auto!important;
    margin:0!important;
  }
  body.mobile-game-client #classicSidebar>[data-sidebar-block]:not(#minimapSection){order:1!important}
  body.mobile-game-client #classicSidebar>#corpseDock{order:2!important}
  body.mobile-game-client #classicSidebar>#minimapSection{
    order:3!important;
    position:relative!important;
    top:auto!important;
    bottom:auto!important;
    margin-top:auto!important;
    margin-bottom:0!important;
    flex:0 0 100px!important;
    min-height:100px!important;
    height:100px!important;
    max-height:100px!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #classicSidebar>#minimapSection .minimap-fixed-pin{display:none!important}
}

@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot,
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    max-width:34px!important;
    max-height:34px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed .mini-bag-glyph{
    width:27px!important;
    height:27px!important;
    max-width:27px!important;
    max-height:27px!important;
  }
  body.mobile-game-client #classicSidebar>#minimapSection{
    flex-basis:86px!important;
    min-height:86px!important;
    height:86px!important;
    max-height:86px!important;
  }
}


/* DAZIVO RPG v0.9.9.83 - minimapa na lateral esquerda, chat no canto do mapa e paperdoll alinhado */
/* Shield usa o mesmo quadro dos demais slots e HP/MP ficam acima do corpo. */
.classic-paperdoll{
  grid-template-areas:
    "amulet helmet bag"
    "weapon armor shield"
    "ring legs ."
    ". boots ."
    "cap cap cap"!important;
}
.paperdoll-shield .classic-slot{
  width:35px!important;
  height:35px!important;
  min-width:35px!important;
  min-height:35px!important;
  max-width:35px!important;
  max-height:35px!important;
  align-content:center!important;
}
.tibia-paperdoll-layout>.classic-vitals{
  order:-1!important;
  grid-column:1/-1!important;
  width:100%!important;
  margin:0 0 3px!important;
}
@media(max-width:620px){
  .paperdoll-shield .classic-slot{
    width:39px!important;
    height:39px!important;
    min-width:39px!important;
    min-height:39px!important;
    max-width:39px!important;
    max-height:39px!important;
  }
}

@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client #leftSidebar{
    display:flex!important;
    flex-direction:column!important;
    gap:6px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection{
    margin-bottom:0!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection{
    display:flex!important;
    flex-direction:column!important;
    pointer-events:auto!important;
    width:100%!important;
    margin-top:auto!important;
    min-height:96px!important;
    height:96px!important;
    max-height:96px!important;
    padding:3px!important;
    border:1px solid #46555d!important;
    background:linear-gradient(180deg,rgba(13,22,27,.97),rgba(7,12,15,.97))!important;
    box-shadow:0 5px 14px rgba(0,0,0,.20)!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-title{
    height:18px!important;
    min-height:18px!important;
    margin:0 0 2px!important;
    padding:0 3px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection #miniMapCanvas{
    width:calc(100% - 48px)!important;
    height:72px!important;
    min-height:72px!important;
    max-height:72px!important;
    margin:0!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-toolbar{
    position:absolute!important;
    top:23px!important;
    right:3px!important;
    width:42px!important;
    height:68px!important;
    display:grid!important;
    grid-template-rows:1fr 1fr!important;
    gap:4px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    grid-template-rows:10px 17px!important;
    gap:1px!important;
    min-width:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls small,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls small{display:none!important}
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls span,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls span{
    grid-column:1/-1!important;
    grid-row:1!important;
    display:block!important;
    min-width:0!important;
    height:10px!important;
    padding:0!important;
    color:#d9be68!important;
    font-size:6px!important;
    line-height:10px!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls button,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls button{
    grid-row:2!important;
    min-width:0!important;
    width:100%!important;
    height:17px!important;
    min-height:17px!important;
    padding:0!important;
    border-radius:2px!important;
    font-size:11px!important;
    line-height:15px!important;
  }

  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-paperdoll-layout{
    display:flex!important;
    flex-direction:column!important;
    gap:5px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentVitals{
    order:0!important;
    margin:0!important;
    padding:1px 2px 2px!important;
    border-bottom:1px solid rgba(101,117,126,.34)!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection #equipmentBox{order:1!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .tibia-combat-side{order:2!important}
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot,
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    max-width:42px!important;
    max-height:42px!important;
  }

  body.mobile-game-client #chatPanel.collapsed{z-index:72!important}
  body.mobile-game-client #chatPanel:not(.collapsed){z-index:72!important}
}

@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #leftSidebar>#minimapSection{
    min-height:86px!important;
    height:86px!important;
    max-height:86px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection #miniMapCanvas{
    height:60px!important;
    min-height:60px!important;
    max-height:60px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-toolbar{
    height:58px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot,
  body.mobile-game-client #leftSidebar>#equipmentSection .compact-equip-slot.classic-slot.bag-fixed{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    max-width:34px!important;
    max-height:34px!important;
  }
}


/* DAZIVO RPG v0.9.9.84 - minimapa sem corte + chat digitável + escudo alinhado */
.paperdoll-cell.paperdoll-shield{align-self:start!important}
.paperdoll-shield .classic-slot{margin-top:0!important;transform:none!important}

@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  /* Chat mobile deve permitir digitar e enviar. */
  body.mobile-game-client .rpg-chat:not(.collapsed) .game-chat-form{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:4px!important;
    padding:4px!important;
    align-items:center!important;
  }
  body.mobile-game-client .rpg-chat:not(.collapsed) .game-chat-form input{
    min-width:0!important;
    width:100%!important;
    height:31px!important;
    font-size:12px!important;
    pointer-events:auto!important;
  }
  body.mobile-game-client .rpg-chat:not(.collapsed) .game-chat-form button{
    display:block!important;
    min-width:66px!important;
    height:31px!important;
    padding:0 10px!important;
    font-size:10px!important;
  }

  /* Minimapa com altura maior para não cortar os botões -/+. */
  body.mobile-game-client #leftSidebar>#minimapSection{
    min-height:116px!important;
    height:116px!important;
    max-height:116px!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection #miniMapCanvas{
    width:calc(100% - 50px)!important;
    height:88px!important;
    min-height:88px!important;
    max-height:88px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-toolbar{
    top:23px!important;
    right:3px!important;
    width:44px!important;
    height:86px!important;
    gap:5px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls{
    grid-template-rows:12px 20px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls span,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls span{
    height:12px!important;
    line-height:12px!important;
    font-size:6px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls button,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls button{
    height:20px!important;
    min-height:20px!important;
    line-height:18px!important;
    font-size:12px!important;
  }

  /* Escudo alinhado com a armadura, colado ao lado da backpack. */
  body.mobile-game-client #leftSidebar>#equipmentSection .classic-paperdoll{
    grid-template-areas:
      "amulet helmet bag"
      "weapon armor shield"
      "ring legs ."
      ". boots ."
      "cap cap cap"!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-cell.paperdoll-shield{
    align-self:start!important;
    justify-self:start!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    max-width:42px!important;
    max-height:42px!important;
    margin-top:0!important;
    align-self:start!important;
  }
}

@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #leftSidebar>#minimapSection{
    min-height:98px!important;
    height:98px!important;
    max-height:98px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection #miniMapCanvas{
    height:72px!important;
    min-height:72px!important;
    max-height:72px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-toolbar{
    height:70px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls{
    grid-template-rows:10px 17px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls button,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls button{
    height:17px!important;
    min-height:17px!important;
    font-size:10px!important;
  }
  body.mobile-game-client #leftSidebar>#equipmentSection .paperdoll-shield .classic-slot{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    max-width:34px!important;
    max-height:34px!important;
  }
}


/* DAZIVO RPG v0.9.9.85 - minimapa mobile em grade para exibir todos os controles */
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client #leftSidebar>#minimapSection{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 42px!important;
    grid-template-rows:18px minmax(0,1fr)!important;
    column-gap:4px!important;
    row-gap:2px!important;
    align-items:start!important;
    min-height:108px!important;
    height:108px!important;
    max-height:108px!important;
    padding:3px!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-title{
    grid-column:1 / -1!important;
    grid-row:1!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:4px!important;
    min-width:0!important;
    height:18px!important;
    min-height:18px!important;
    margin:0!important;
    padding:0 2px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-title #miniMapWorldName{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection #miniMapCanvas{
    grid-column:1!important;
    grid-row:2!important;
    width:100%!important;
    height:80px!important;
    min-height:80px!important;
    max-height:80px!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    margin:0!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-toolbar{
    grid-column:2!important;
    grid-row:2!important;
    position:static!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:1fr 1fr!important;
    width:42px!important;
    min-width:42px!important;
    height:80px!important;
    min-height:80px!important;
    max-height:80px!important;
    gap:4px!important;
    margin:0!important;
    padding:0!important;
    align-self:stretch!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    grid-template-rows:10px 17px!important;
    align-content:start!important;
    gap:1px!important;
    min-width:0!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls span,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls span{
    grid-column:1 / -1!important;
    grid-row:1!important;
    height:10px!important;
    line-height:10px!important;
    font-size:6px!important;
    min-width:0!important;
    padding:0!important;
    margin:0!important;
    text-align:center!important;
    overflow:hidden!important;
    white-space:nowrap!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls button,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls button{
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    height:17px!important;
    min-height:17px!important;
    padding:0!important;
    line-height:15px!important;
    font-size:11px!important;
  }
}

@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #leftSidebar>#minimapSection{
    min-height:94px!important;
    height:94px!important;
    max-height:94px!important;
    grid-template-columns:minmax(0,1fr) 38px!important;
    grid-template-rows:16px minmax(0,1fr)!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-title{
    height:16px!important;
    min-height:16px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection #miniMapCanvas{
    height:70px!important;
    min-height:70px!important;
    max-height:70px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-toolbar{
    width:38px!important;
    min-width:38px!important;
    height:70px!important;
    min-height:70px!important;
    max-height:70px!important;
    gap:3px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls{
    grid-template-rows:8px 15px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls span,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls span{
    height:8px!important;
    line-height:8px!important;
    font-size:5px!important;
  }
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-floor-controls button,
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-zoom-controls button{
    height:15px!important;
    min-height:15px!important;
    line-height:13px!important;
    font-size:9px!important;
  }
}


/* DAZIVO RPG v0.9.9.86 - chat mobile sempre digitável + controles do minimapa mais altos */
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  /* Estrutura fixa do chat: cabeçalho, abas, mensagens e campo de digitação sempre cabem dentro do quadro. */
  body.mobile-game-client #chatPanel:not(.collapsed){
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-rows:30px auto minmax(42px,1fr) 39px!important;
    min-height:210px!important;
    overflow:hidden!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-resize-handle{display:none!important}
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-head{
    grid-row:1!important;
    min-height:30px!important;
    height:30px!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-tabs{
    grid-row:2!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-rows:32px!important;
    gap:3px!important;
    min-height:67px!important;
    height:auto!important;
    padding:4px!important;
    overflow:visible!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-tabs button{
    min-width:0!important;
    width:100%!important;
    height:32px!important;
    min-height:32px!important;
    padding:0 4px!important;
    font-size:9px!important;
    line-height:1!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .private-hint{
    grid-column:1/-1!important;
    min-height:0!important;
    height:auto!important;
    padding:0 2px!important;
    font-size:7px!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-log{
    grid-row:3!important;
    min-height:42px!important;
    height:auto!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .game-chat-form{
    grid-row:4!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 68px!important;
    align-items:center!important;
    gap:4px!important;
    width:100%!important;
    height:39px!important;
    min-height:39px!important;
    padding:4px!important;
    margin:0!important;
    position:relative!important;
    z-index:8!important;
    pointer-events:auto!important;
    background:#10191e!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) #chatInput{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
    -webkit-user-select:text!important;
    user-select:text!important;
    width:100%!important;
    min-width:0!important;
    height:31px!important;
    min-height:31px!important;
    font-size:16px!important;
    line-height:31px!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .game-chat-form button{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    width:68px!important;
    min-width:68px!important;
    height:31px!important;
    min-height:31px!important;
    padding:0 6px!important;
    font-size:9px!important;
  }

  /* Sobe os dois conjuntos -/+ sem aumentar o quadro inteiro do minimapa. */
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-toolbar{
    transform:translateY(-7px)!important;
    align-self:start!important;
  }
}

@media (max-height:430px) and (orientation:landscape) and (hover:none) and (pointer:coarse){
  body.mobile-game-client #leftSidebar>#minimapSection .minimap-toolbar{
    transform:translateY(-6px)!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed){
    min-height:196px!important;
    grid-template-rows:28px auto minmax(36px,1fr) 37px!important;
  }
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-head{height:28px!important;min-height:28px!important}
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-tabs{grid-auto-rows:29px!important;min-height:61px!important}
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-tabs button{height:29px!important;min-height:29px!important}
  body.mobile-game-client #chatPanel:not(.collapsed) .game-chat-form{height:37px!important;min-height:37px!important}
  body.mobile-game-client #chatPanel:not(.collapsed) #chatInput,
  body.mobile-game-client #chatPanel:not(.collapsed) .game-chat-form button{height:29px!important;min-height:29px!important}
}


/* DAZIVO RPG v0.9.9.87 - painéis mobile múltiplos + backpack com largura padrão + header do level alinhado */
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  /* Backpack usa a mesma largura lateral dos outros painéis. */
  body.mobile-game-client #classicSidebar{overflow-y:auto!important;overflow-x:hidden!important}
  body.mobile-game-client #classicSidebar>[data-sidebar-block].mobile-panel-active:not(#equipmentSection){
    flex:0 0 auto!important;
    min-height:0!important;
    max-height:none!important;
    margin-top:4px!important;
  }
  body.mobile-game-client #backpackSection{width:100%!important;max-width:100%!important}
  body.mobile-game-client #backpackSection #inventoryBox{width:100%!important}

  /* Header do Level / EXP mais organizado e sem quebra no Lv. */
  body.mobile-game-client #progressSection .container-heading{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:4px!important;
  }
  body.mobile-game-client #progressSection .container-heading h3{
    min-width:0!important;
    margin:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.mobile-game-client #progressSection .container-heading-actions{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
  }
  body.mobile-game-client #progressSection #sideLevel{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:54px!important;
    height:22px!important;
    padding:0 6px!important;
    border:1px solid rgba(67,223,114,.35)!important;
    border-radius:6px!important;
    background:linear-gradient(180deg,rgba(28,77,39,.32),rgba(10,32,16,.18))!important;
    color:#43df72!important;
    font-size:9px!important;
    font-weight:900!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
}


/* DAZIVO RPG v0.9.9.88 - gatilhos mobile corrigidos + Lv destacado */
#sideLevel{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client #progressSection #sideLevel{
    color:#43df72!important;
    border-color:rgba(67,223,114,.35)!important;
    background:linear-gradient(180deg,rgba(28,77,39,.32),rgba(10,32,16,.18))!important;
  }
}

/* DAZIVO RPG v0.9.9.89 - grupos de chat + áudio WebRTC privado/em grupo */
.chat-head-actions .chat-groups-btn,.chat-head-actions .chat-voice-btn,.chat-head-actions .chat-voice-leave-btn,.chat-head-actions .chat-voice-unlock-btn{display:grid;place-items:center;padding:0!important}
.chat-group-icon,.chat-mic-icon,.chat-voice-leave-btn span,.chat-voice-unlock-btn span{display:grid;place-items:center;width:16px;height:16px}
.chat-group-icon svg,.chat-mic-icon svg,.chat-voice-leave-btn svg,.chat-voice-unlock-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.chat-voice-btn.active{color:#67ef8d!important;border-color:#2c9b50!important;background:linear-gradient(180deg,#173c23,#0b2113)!important;box-shadow:0 0 8px rgba(67,223,114,.2)}
.chat-voice-btn.muted{color:#ffbf58!important;border-color:#8d6725!important;background:linear-gradient(180deg,#3c2d12,#201707)!important}
.chat-voice-btn.calling{color:#7edcff!important;border-color:#397d98!important}
.chat-voice-leave-btn{color:#ff8f8f!important;border-color:#814149!important;background:linear-gradient(180deg,#37181d,#1d0c0f)!important}.chat-voice-unlock-btn{color:#79ddff!important;border-color:#397d98!important;background:linear-gradient(180deg,#173240,#0b1b23)!important;animation:voiceSoundPulse 1.1s ease-in-out infinite}@keyframes voiceSoundPulse{50%{box-shadow:0 0 9px rgba(89,204,255,.42)}}
.chat-tabs .group-chat-tab{border-color:#365f6d!important;color:#bcecff!important}
.chat-tabs .group-chat-tab.active{border-color:#d7a83e!important;color:#16120a!important}
.chat-voice-status{position:absolute;z-index:10;right:6px;bottom:36px;display:flex;align-items:center;gap:5px;max-width:calc(100% - 12px);padding:3px 7px;border:1px solid #2f6541;border-radius:999px;background:rgba(6,25,14,.92);color:#bce9c7;font-size:7px;line-height:1;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-voice-status b{color:#72ed92;font-size:7px}.chat-voice-status span:last-child{overflow:hidden;text-overflow:ellipsis}
.voice-live-dot{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#43df72;box-shadow:0 0 6px rgba(67,223,114,.8)}
.voice-live-dot.waiting{background:#66d7ff;box-shadow:0 0 6px rgba(102,215,255,.8)}
.voice-audio-host{position:absolute;width:1px;height:1px;overflow:hidden;pointer-events:none;opacity:.001}
.voice-audio-host audio{width:1px;height:1px}

.chat-group-create{display:grid;gap:10px;padding:10px;border:1px solid #30434e;border-radius:8px;background:#0d171d}
.chat-group-create-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:8px}
.chat-group-create label{display:grid;gap:4px;color:#cbd8df;font-size:10px;font-weight:800}
.chat-group-create input,.chat-group-add input{min-width:0;height:34px;border:1px solid #405866;border-radius:6px;background:#091319;color:#edf5f9;padding:0 8px;outline:none}
.chat-group-create input:focus,.chat-group-add input:focus{border-color:#b98d34;box-shadow:0 0 0 1px rgba(242,194,83,.18)}
.chat-group-create small{font-size:8px;color:#8298a4;font-weight:500}
.chat-group-list{display:grid;gap:8px;margin-top:10px}
.chat-group-card{display:grid;gap:8px;padding:10px;border:1px solid #334852;border-radius:8px;background:linear-gradient(180deg,#111d24,#091218)}
.chat-group-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-group-card-head>div{display:grid;gap:2px;min-width:0}.chat-group-card-head b{font-size:11px;color:#edf5f8}.chat-group-card-head small{font-size:8px;color:#8fa6b1}
.chat-group-members{display:flex;flex-wrap:wrap;gap:4px}.chat-group-member{display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:2px 6px;border:1px solid #34464f;border-radius:999px;background:#10191e;color:#bac8ce;font-size:8px}.chat-group-member>i{width:5px;height:5px;border-radius:50%;background:#5e6970}.chat-group-member.online>i{background:#43df72;box-shadow:0 0 4px rgba(67,223,114,.7)}.chat-group-member>b{font-size:6px;color:#dfbd65;text-transform:uppercase}.chat-group-member>button{width:16px;height:16px;padding:0;border:0;border-radius:50%;background:#3a171b;color:#ff9da4;cursor:pointer}
.chat-group-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px}.chat-group-add button{min-width:72px;border:1px solid #4d6570;border-radius:5px;background:#17242b;color:#edf5f8;font-size:8px;font-weight:900;cursor:pointer}
.chat-group-danger{justify-self:start;border:1px solid #6f343a;border-radius:5px;background:#2d1115;color:#ff9da4;padding:6px 9px;font-size:8px;font-weight:900;cursor:pointer}
.voice-invite{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center;padding:10px;border:1px solid #355c47;border-radius:8px;background:#0d1c14}.voice-invite-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #2f7a48;border-radius:50%;color:#62e786;background:#112d1a}.voice-invite-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.voice-invite p{margin:4px 0 0;color:#aebec4;font-size:10px}

#chatPanel.collapsed #chatGroupsBtn,#chatPanel.collapsed #chatVoiceBtn,#chatPanel.collapsed #chatVoiceLeaveBtn,#chatPanel.collapsed #chatVoiceUnlockBtn,#chatPanel.collapsed #chatVoiceStatus{display:none!important}

@media (max-width:1180px) and (orientation:landscape), (hover:none) and (pointer:coarse) and (orientation:landscape){
  body.mobile-game-client #chatPanel:not(.collapsed) #chatSmaller,
  body.mobile-game-client #chatPanel:not(.collapsed) #chatLarger{display:none!important}
  body.mobile-game-client #chatPanel:not(.collapsed) #chatGroupsBtn,
  body.mobile-game-client #chatPanel:not(.collapsed) #chatVoiceBtn,
  body.mobile-game-client #chatPanel:not(.collapsed) #chatVoiceLeaveBtn,
  body.mobile-game-client #chatPanel:not(.collapsed) #chatVoiceUnlockBtn{display:grid!important;width:27px!important;min-width:27px!important;height:24px!important;min-height:24px!important}
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-tabs{max-height:102px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin!important}
  body.mobile-game-client #chatPanel:not(.collapsed) .chat-voice-status{bottom:42px!important;right:5px!important;max-width:calc(100% - 10px)!important;font-size:6px!important}
  .chat-group-create-grid{grid-template-columns:1fr!important}
}
.chat-group-card-actions{display:flex;align-items:center;gap:5px;flex:0 0 auto}


/* DAZIVO RPG v0.9.9.90 - seletor de amigos nos grupos de chat */
.chat-group-create-top{display:grid;grid-template-columns:1fr 1.35fr;gap:8px}
.chat-group-create-top label{display:grid;gap:4px;color:#cbd8df;font-size:10px;font-weight:800}
.chat-group-create-top input,.chat-group-manual-add input{min-width:0;height:34px;border:1px solid #405866;border-radius:6px;background:#091319;color:#edf5f9;padding:0 8px;outline:none}
.chat-group-create-top input:focus,.chat-group-manual-add input:focus{border-color:#b98d34;box-shadow:0 0 0 1px rgba(242,194,83,.18)}
.chat-group-create-top small{font-size:8px;color:#8298a4;font-weight:500}
.chat-group-friends-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 2px 2px}.chat-group-friends-head>div{display:grid;gap:1px}.chat-group-friends-head b{font-size:10px;color:#eef5f8}.chat-group-friends-head small{font-size:8px;color:#8298a4}.chat-group-friends-head>span{font-size:8px;font-weight:900;color:#f0c761;white-space:nowrap}
.chat-group-friends-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:190px;overflow:auto;padding:4px;border:1px solid #2f414a;border-radius:7px;background:#081116;scrollbar-width:thin}
.chat-group-friends-list.compact{grid-template-columns:1fr;max-height:150px;margin-top:6px}
.chat-group-friend-select,.chat-group-friend-add-row{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;min-height:38px;padding:5px 7px;border:1px solid #2f424c;border-radius:6px;background:linear-gradient(180deg,#111c22,#0a1217);color:#dce8ed;cursor:pointer}
.chat-group-friend-select:hover,.chat-group-friend-add-row:hover{border-color:#526873;background:#13232b}
.chat-group-friend-select:has(input:checked){border-color:#b98d34;background:linear-gradient(180deg,#2a2414,#17130b);box-shadow:inset 0 0 0 1px rgba(236,192,86,.12)}
.chat-group-friend-select input{width:15px;height:15px;margin:0;accent-color:#d9a936}
.chat-group-friend-presence{width:7px;height:7px;border-radius:50%;background:#5d6870;box-shadow:none}.chat-group-friend-presence.online{background:#43df72;box-shadow:0 0 5px rgba(67,223,114,.7)}
.chat-group-friend-text{display:grid;gap:1px;min-width:0}.chat-group-friend-text b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:#eef5f8}.chat-group-friend-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7px;color:#8298a4}
.chat-group-friend-state{font-size:7px;color:#8298a4;white-space:nowrap}.chat-group-friend-add-row{width:100%;grid-template-columns:auto minmax(0,1fr) auto auto;text-align:left}.chat-group-friend-add-row strong{font-size:7px;color:#f2c85f;text-transform:uppercase}.chat-group-friend-add-row:disabled{opacity:.58;cursor:wait}
.chat-group-friends-empty{grid-column:1/-1;padding:12px;text-align:center;color:#8298a4;font-size:9px}
.chat-group-create-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-group-create-footer>small{font-size:8px;color:#8298a4}.chat-group-create-footer .btn{min-width:140px}
.chat-group-add-friends{border-top:1px solid rgba(86,107,118,.28);padding-top:6px}.chat-group-add-friends summary{cursor:pointer;color:#f1c75f;font-size:9px;font-weight:900;user-select:none}.chat-group-manual-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;margin-top:6px}.chat-group-manual-add button{min-width:72px;border:1px solid #4d6570;border-radius:5px;background:#17242b;color:#edf5f8;font-size:8px;font-weight:900;cursor:pointer}
@media(max-width:700px), (hover:none) and (pointer:coarse){
  .chat-group-create-top{grid-template-columns:1fr!important}
  .chat-group-friends-list{grid-template-columns:1fr!important;max-height:150px!important}
  .chat-group-create-footer{align-items:stretch;flex-direction:column!important}.chat-group-create-footer .btn{width:100%!important}
}


/* DAZIVO RPG v0.9.9.91 - áudio WebRTC mobile/grupo: desbloqueio de saída e negociação robusta */
.chat-voice-unlock-btn[hidden]{display:none!important}
.voice-audio-host{position:fixed!important;left:-9999px!important;top:-9999px!important;width:2px!important;height:2px!important;overflow:hidden!important;opacity:.01!important;pointer-events:none!important}
.voice-audio-host audio{display:block!important;width:2px!important;height:2px!important}

/* DAZIVO RPG - Editor de mapa */
body.map-editor-page .site-main{width:min(1680px,calc(100% - 20px));padding-top:18px}
.map-editor-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}.map-editor-head h1{margin:0 0 4px}.map-editor-head p{margin:0}.map-editor-summary{display:grid;justify-items:end;gap:3px}.map-editor-summary b{color:#f3c961}.map-editor-summary span{font-size:12px;color:#8ea4b2}
.map-editor-shell{display:grid;grid-template-columns:290px minmax(0,1fr);gap:12px;align-items:start}.map-editor-sidebar{display:grid;gap:10px;position:sticky;top:78px;max-height:calc(100dvh - 94px);overflow:auto;padding-right:2px}.map-editor-box{border:1px solid #304351;border-radius:12px;background:linear-gradient(180deg,#111c24,#0a1218);padding:12px}.map-editor-box h3{margin:0 0 10px;font-size:13px}.map-editor-box label{display:grid;gap:5px;font-size:10px;color:#aebdc6;font-weight:800}.map-editor-box input,.map-editor-box select{width:100%;height:36px;padding:0 9px;border:1px solid #3a4c58;border-radius:7px;background:#091218;color:#eff6f9;outline:none}.map-editor-box input:focus,.map-editor-box select:focus{border-color:#d7a93f}.map-editor-coords{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:8px 0}.map-editor-box>.btn{width:100%;min-height:36px;font-size:11px}
.map-editor-tools,.map-editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.map-editor-actions{margin-top:6px}.map-editor-tools button,.map-editor-actions button,.map-editor-toolbar-actions>button:not(.btn){height:34px;border:1px solid #3a4d59;border-radius:7px;background:#111e26;color:#dfe9ee;font-weight:800;cursor:pointer}.map-editor-tools button.active,.map-editor-tools button:hover,.map-editor-actions button:hover{border-color:#c79935;color:#ffd875;background:#282111}.map-editor-palette-box{padding-bottom:8px}.map-editor-palette{display:grid;grid-template-columns:1fr 1fr;gap:5px}.map-editor-palette button{display:flex;align-items:center;gap:7px;min-width:0;height:34px;padding:5px 7px;border:1px solid #304451;border-radius:7px;background:#0d171d;color:#dce8ed;cursor:pointer;text-align:left}.map-editor-palette button.active{border-color:#d4a33a;background:#2b2310;box-shadow:inset 0 0 0 1px rgba(246,198,94,.16)}.map-editor-palette button span{font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tile-swatch{display:block;flex:0 0 18px;width:18px;height:18px;border:1px solid rgba(255,255,255,.22);border-radius:4px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)}
.tile-ground{background:#397744}.tile-town{background:#c6aa7b}.tile-road{background:#ad895e}.tile-water{background:#2f86ad}.tile-sand{background:#d8c28a}.tile-bridge{background:#8d6038}.tile-wall{background:#9a8b76}.tile-tree{background:#24572d}.tile-rock{background:#747b7d}.tile-cliff{background:#676358}.tile-house_floor{background:#d7bd92}.tile-house_wall{background:#c9b99f}.tile-house_door{background:#815437}.tile-pz_floor{background:#73553b}.tile-stairs_up{background:#73c7e9}.tile-stairs_down{background:#d7b356}.map-editor-world-size{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center}.map-editor-world-size .btn{min-height:36px;padding:0 12px;font-size:10px}
.map-editor-workspace{min-width:0;border:1px solid #304452;border-radius:12px;background:#0a1217;overflow:hidden}.map-editor-toolbar{height:50px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 10px;border-bottom:1px solid #2d414d;background:linear-gradient(180deg,#111d25,#0b151b)}.map-editor-toolbar>div:first-child{display:grid;gap:2px}.map-editor-toolbar b{font-size:13px}.map-editor-toolbar span{font-size:9px;color:#93a8b4}.map-editor-toolbar-actions{display:flex;align-items:center;gap:6px}.map-editor-toolbar-actions>button:not(.btn){width:34px}.map-editor-toolbar-actions .btn{min-height:34px;height:34px;padding:0 13px;font-size:10px}.map-editor-toolbar-actions .btn:disabled{opacity:.45;cursor:not-allowed}.map-editor-stage-wrap{height:calc(100dvh - 215px);min-height:560px;overflow:hidden;background:#071015}.map-editor-stage-wrap canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}.map-editor-foot{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-top:1px solid #2d414d;color:#899da9;font-size:9px}.map-editor-foot #mapEditorStatus{color:#d8e3e8;text-align:right}
@media(max-width:980px){body.map-editor-page .site-main{width:calc(100% - 12px)}.map-editor-shell{grid-template-columns:1fr}.map-editor-sidebar{position:relative;top:auto;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.map-editor-palette-box{grid-column:1/-1}.map-editor-palette{grid-template-columns:repeat(4,minmax(0,1fr))}.map-editor-stage-wrap{height:68vh;min-height:480px}}
@media(max-width:620px){.map-editor-head{align-items:flex-start;flex-direction:column}.map-editor-summary{justify-items:start}.map-editor-sidebar{grid-template-columns:1fr}.map-editor-palette{grid-template-columns:repeat(2,minmax(0,1fr))}.map-editor-toolbar{height:auto;align-items:flex-start;flex-direction:column}.map-editor-toolbar-actions{width:100%}.map-editor-toolbar-actions .btn{margin-left:auto}.map-editor-stage-wrap{min-height:430px}.map-editor-foot{flex-direction:column}}

/* DAZIVO RPG v0.9.9.110 - Editor de mapa completo */
.map-editor-shell-pro{grid-template-columns:320px minmax(0,1fr)}
.map-editor-shell-pro .map-editor-sidebar{max-height:calc(100dvh - 88px)}
.map-editor-tools-pro{grid-template-columns:repeat(2,minmax(0,1fr))}
.map-editor-shortcuts{margin:9px 0 0;color:#8398a5;font-size:9px;line-height:1.45}
.map-editor-box-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.map-editor-box-title h3{margin:0}.map-editor-box-title span{font-size:9px;color:#8fa4b0}
.map-editor-palette-filter{display:grid;grid-template-columns:1fr;gap:6px;margin:9px 0}.map-editor-palette-filter select,.map-editor-palette-filter input{height:34px!important}
.map-editor-shell-pro .map-editor-palette{grid-template-columns:1fr 1fr;max-height:330px;overflow:auto;padding-right:2px}
.map-editor-shell-pro .map-editor-palette button{position:relative;height:44px;padding:5px 6px;display:grid;grid-template-columns:18px minmax(0,1fr);grid-template-rows:1fr 1fr;column-gap:7px;align-items:center}
.map-editor-shell-pro .map-editor-palette button .tile-swatch{grid-row:1/3}.map-editor-shell-pro .map-editor-palette button span{align-self:end}.map-editor-shell-pro .map-editor-palette button small{align-self:start;font-size:7px;color:#738994;font-weight:800;text-transform:uppercase}
.map-editor-layers{display:grid;grid-template-columns:1fr 1fr;gap:7px}.map-editor-layers label{display:flex!important;align-items:center;gap:6px;padding:7px;border:1px solid #2e414c;border-radius:7px;background:#0b151b;color:#d8e4e9!important;font-size:9px!important}.map-editor-layers input{width:14px!important;height:14px!important;padding:0!important;accent-color:#d7aa3f}
.map-editor-inspector{display:grid;gap:7px;min-height:44px;font-size:10px;color:#d9e5ea}.map-inspector-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:7px;border-bottom:1px solid #2c3e49}.map-inspector-title b{color:#f3ca62}.map-inspector-title span{font-size:9px;color:#8ca1ad}.map-editor-inspector p{margin:0;line-height:1.5}.map-inspector-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.map-inspector-actions button{height:31px;border:1px solid #3a4d59;border-radius:6px;background:#111e26;color:#e2edf1;font-size:8px;font-weight:900;cursor:pointer}.map-inspector-actions button.danger{border-color:#714040;color:#ffaaaa;background:#281415}
.map-editor-stage-wrap{position:relative}.map-editor-stage-wrap canvas.pan-cursor{cursor:grab}.map-editor-stage-wrap canvas.is-panning{cursor:grabbing!important}
.map-editor-context{position:absolute;z-index:40;min-width:205px;padding:5px;border:1px solid #536875;border-radius:9px;background:rgba(9,17,22,.97);box-shadow:0 16px 45px rgba(0,0,0,.45);backdrop-filter:blur(8px)}.map-editor-context[hidden]{display:none!important}.map-editor-context button{display:block;width:100%;height:31px;padding:0 9px;border:0;border-radius:5px;background:transparent;color:#e6eef2;text-align:left;font-size:9px;font-weight:800;cursor:pointer}.map-editor-context button:hover{background:#1a2a33;color:#ffd66c}.map-editor-context hr{border:0;border-top:1px solid #2b3b44;margin:4px 2px}
.map-editor-toolbar-actions .btn.secondary{background:#17252d;border-color:#40545f;color:#dce8ed}
@media(max-width:980px){.map-editor-shell-pro{grid-template-columns:1fr}.map-editor-shell-pro .map-editor-palette{grid-template-columns:repeat(3,minmax(0,1fr));max-height:270px}}
@media(max-width:620px){.map-editor-shell-pro .map-editor-palette{grid-template-columns:repeat(2,minmax(0,1fr))}.map-editor-layers{grid-template-columns:1fr 1fr}.map-editor-toolbar-actions{flex-wrap:wrap}.map-editor-toolbar-actions .btn.secondary{margin-left:0}}

/* DAZIVO RPG v0.9.9.110 - editor de mapa avançado */
.map-editor-shell-pro{grid-template-columns:350px minmax(0,1fr)}
.map-editor-shell-pro .map-editor-palette{grid-template-columns:1fr 1fr;max-height:410px;gap:7px}
.map-editor-shell-pro .map-editor-palette button{height:58px;grid-template-columns:42px minmax(0,1fr);grid-template-rows:1fr 1fr;padding:6px 7px;border-color:#36505f;background:linear-gradient(180deg,#10202a,#0b151b)}
.map-editor-shell-pro .map-editor-palette button:hover{border-color:#d2a644;background:linear-gradient(180deg,#21303a,#171e20);transform:translateY(-1px)}
.map-editor-shell-pro .map-editor-palette button.active{box-shadow:inset 0 0 0 1px rgba(246,198,94,.22),0 0 0 1px rgba(213,167,59,.14)}
.map-palette-thumb{grid-row:1/3;width:42px;height:42px;border:1px solid rgba(255,255,255,.14);border-radius:7px;background:#0b1419;image-rendering:pixelated;box-shadow:inset 0 0 10px rgba(0,0,0,.18)}
.map-editor-shell-pro .map-editor-palette button span{font-size:10px}.map-editor-shell-pro .map-editor-palette button small{font-size:8px;color:#87a0ad}
.map-editor-stage-wrap canvas{cursor:crosshair;user-select:none;-webkit-user-select:none}
.map-editor-stage-wrap canvas.pan-cursor{cursor:grab}.map-editor-stage-wrap canvas.is-panning{cursor:grabbing!important}
.map-editor-context button.danger{color:#ffaaaa}.map-editor-context button.danger:hover{background:#32191a;color:#ffc1c1}
.map-entity-modal{position:fixed;inset:0;z-index:1200;background:rgba(3,8,12,.78);display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(5px)}
.map-entity-modal[hidden]{display:none!important}.map-entity-modal-card{width:min(720px,96vw);max-height:88vh;overflow:auto;border:1px solid #3d5563;border-radius:14px;background:linear-gradient(180deg,#101c24,#091218);box-shadow:0 24px 70px rgba(0,0,0,.55)}
.map-entity-modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #2e424e;background:#101c24}.map-entity-modal-head b{font-size:15px;color:#f3ca62}.map-entity-modal-head button{width:34px;height:34px;border:1px solid #40545f;border-radius:8px;background:#13212a;color:#f2f6f8;font-size:21px;cursor:pointer}
.map-entity-modal-body{padding:14px;display:grid;gap:12px}.map-modal-section{display:grid;gap:9px;padding:11px;border:1px solid #2f444f;border-radius:10px;background:#0b151b}.map-modal-section>b{color:#e9f2f5}.map-modal-section .muted{margin:0;font-size:10px}
.map-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.map-modal-grid label{display:grid;gap:5px;font-size:10px;font-weight:800;color:#aebfc8}.map-modal-grid input,.map-modal-grid select,.map-modal-grid textarea{width:100%;min-height:38px;padding:8px 9px;border:1px solid #3a4f5c;border-radius:7px;background:#081116;color:#f0f6f8;outline:none}.map-modal-grid textarea{resize:vertical}.map-modal-grid input:focus,.map-modal-grid select:focus,.map-modal-grid textarea:focus{border-color:#d2a33e}.map-modal-wide{grid-column:1/-1}.map-modal-check{display:flex!important;align-items:center!important;gap:8px!important;padding:9px;border:1px solid #2f424c;border-radius:7px;background:#0b151b}.map-modal-check input{width:16px!important;min-height:16px!important;height:16px!important;accent-color:#d8a93d}
.map-entity-modal-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:8px;padding:12px 14px;border-top:1px solid #2e424e;background:#0d181f}.map-entity-modal-actions .btn{min-width:110px}
@media(max-width:980px){.map-editor-shell-pro{grid-template-columns:1fr}.map-editor-shell-pro .map-editor-palette{grid-template-columns:repeat(3,minmax(0,1fr));max-height:320px}}
@media(max-width:620px){.map-editor-shell-pro .map-editor-palette{grid-template-columns:repeat(2,minmax(0,1fr))}.map-modal-grid{grid-template-columns:1fr}.map-modal-wide{grid-column:auto}}

/* DAZIVO RPG v0.9.9.111 - biblioteca e drag persistente */
#mapEditorPalette [data-map-item][hidden]{display:none!important}
.map-editor-shell-pro .map-editor-palette button{height:72px;grid-template-columns:54px minmax(0,1fr);padding:7px 8px}
.map-palette-thumb{width:54px;height:54px;border-color:rgba(255,255,255,.18);background:linear-gradient(180deg,#101a20,#081014)}
.map-editor-shell-pro .map-editor-palette button span{font-size:11px;line-height:1.05}.map-editor-shell-pro .map-editor-palette button small{font-size:8px}
/* v0.9.9.125 — brush inteligente / editor tipo map editor */
.map-brush-style{display:grid;gap:6px;margin-top:8px;padding:8px;border:1px solid #2f4552;border-radius:8px;background:linear-gradient(180deg,#0c181f,#091319)}
.map-brush-style label{display:grid;gap:5px;font-size:9px!important;font-weight:800;color:#dbe7ec!important}
.map-brush-style select{height:34px!important;background:#0a141a!important;border-color:#425866!important}
.map-brush-style span{font-size:8px;line-height:1.45;color:#7f97a4}

/* v0.9.9.134 — outfit HD real + equipamentos transparentes */
.item-glyph.visual-item .item-art-img{width:94%;height:94%;object-fit:contain;display:block;filter:drop-shadow(0 4px 4px rgba(0,0,0,.42));border-radius:8px}
.modern-outfit-form{gap:10px!important}.outfit-gender-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px}.outfit-gender-switch button{height:36px;border:1px solid #3a4b57;border-radius:9px;background:#101a21;color:#dce8ee;font-weight:800;cursor:pointer}.outfit-gender-switch button.active{color:#1c1608;border-color:#f2c357;background:linear-gradient(180deg,#ffd56c,#d99d2e);box-shadow:0 0 18px rgba(244,190,65,.18)}.outfit-modern-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(150px,.8fr);gap:9px;align-items:stretch}.outfit-portrait-card{min-height:230px;border:1px solid #3a4c59;border-radius:9px;background:radial-gradient(circle at 50% 28%,#203246,#0b141c 68%);position:relative;overflow:hidden;display:grid;place-items:end center}.outfit-portrait-card img{width:100%;height:100%;max-height:290px;object-fit:contain;object-position:center bottom;display:block}.outfit-portrait-card span{position:absolute;left:8px;right:8px;bottom:7px;padding:5px 8px;border-radius:7px;background:rgba(5,10,14,.78);color:#f3ca69;font-size:8px;font-weight:800;text-align:center;letter-spacing:.3px}.modern-outfit-form .outfit-preview-panel{align-content:start}.modern-outfit-form .outfit-game-note{font-size:7px;color:#8ea3af;text-align:center;display:block}.modern-outfit-form .outfit-preview-panel canvas{background:linear-gradient(180deg,#111d27,#071017)!important}
@media(max-width:760px){.outfit-modern-grid{grid-template-columns:1fr}.outfit-portrait-card{min-height:200px;max-height:260px}.outfit-portrait-card img{max-height:250px}}

/* v0.9.9.134 */
.item-catalog-top img{object-fit:contain;background:transparent!important;border:0!important;border-radius:0!important}
.item-glyph.visual-item .item-art-img{background:transparent!important;border:0!important;border-radius:0!important;object-fit:contain!important}
.outfit-portrait-card img{object-fit:contain!important;filter:drop-shadow(0 14px 18px rgba(0,0,0,.28))}

/* v0.9.9.137 — outfit padrão estável + cache fix */
.single-standard-outfit .outfit-modern-grid{margin-top:10px}
.single-standard-outfit .outfit-model-note{margin-bottom:10px}
.single-standard-outfit .outfit-preview-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.single-standard-outfit .outfit-preview-actions .btn{padding-left:7px;padding-right:7px}

/* v0.9.9.144 - personalizacao de cores do outfit */
.outfit-custom-modal .game-modal-card{width:min(1040px,calc(100% - 30px))!important;background:linear-gradient(180deg,#101b25,#0a1219)!important;border-color:#35526a!important;box-shadow:0 28px 80px rgba(0,0,0,.58),inset 0 0 0 1px rgba(255,255,255,.025)}
.outfit-custom-modal .outfit-color-layout{grid-template-columns:minmax(240px,1.05fr) minmax(300px,1.15fr) minmax(190px,.78fr)!important;gap:12px!important;align-items:stretch}
.outfit-portrait-card canvas{width:100%;height:100%;max-height:420px;display:block}
.outfit-color-panel{display:grid;align-content:start;gap:8px;padding:10px;border:1px solid #344b5c;border-radius:10px;background:linear-gradient(180deg,#0d1821,#09131a);box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.outfit-color-heading{display:grid;gap:3px;padding:0 2px 4px}.outfit-color-heading b{font-size:16px;color:#f4f7f9}.outfit-color-heading small{font-size:10px;line-height:1.35;color:#9eb2c0}
.outfit-color-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;padding:8px;border:1px solid #2d4352;border-radius:9px;background:#101b23}
.outfit-color-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#162631;color:#efc565;font-size:18px;font-weight:900}
.outfit-color-main{min-width:0;display:grid;gap:5px}.outfit-color-main>b{font-size:11px;color:#eef5f8}
.outfit-color-swatches{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.outfit-color-swatch{width:24px;height:24px;border:2px solid rgba(255,255,255,.22);border-radius:50%;background:var(--swatch);padding:0;cursor:pointer;box-shadow:0 1px 5px rgba(0,0,0,.35)}
.outfit-color-swatch:hover{transform:scale(1.08)}.outfit-color-swatch.active{border-color:#ffd05a;box-shadow:0 0 0 2px #111c24,0 0 0 4px #d99d2e,0 0 12px rgba(242,190,55,.35)}
.outfit-custom-color{position:relative;width:24px;height:24px;border-radius:50%;overflow:hidden;border:1px dashed #718796;cursor:pointer;background:#16242d;display:grid;place-items:center;color:#e9f1f5;font-weight:800}.outfit-custom-color input{position:absolute;inset:-8px;width:40px;height:40px;opacity:0;cursor:pointer}.outfit-custom-color span{pointer-events:none;font-size:14px;line-height:1}
.outfit-custom-modal .outfit-preview-panel{max-width:none!important}.outfit-custom-modal .outfit-preview-panel canvas{width:100%!important;height:auto!important;aspect-ratio: .9/1!important;max-height:285px}.outfit-custom-modal .outfit-preview-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}.outfit-custom-modal .outfit-preview-actions [data-outfit-view="back"]{grid-column:1/2}
.outfit-custom-modal .sidebar-action-button.primary{min-height:42px;font-size:13px}
@media(max-width:900px){.outfit-custom-modal .outfit-color-layout{grid-template-columns:1fr 1fr!important}.outfit-custom-modal .outfit-color-panel{grid-column:1/-1}.outfit-custom-modal .outfit-preview-panel{grid-column:2}.outfit-custom-modal .outfit-portrait-card{grid-column:1;grid-row:1}}
@media(max-width:650px){.outfit-custom-modal .game-modal-card{width:calc(100% - 12px)!important;padding:11px!important}.outfit-custom-modal .outfit-color-layout{grid-template-columns:1fr!important}.outfit-custom-modal .outfit-portrait-card,.outfit-custom-modal .outfit-color-panel,.outfit-custom-modal .outfit-preview-panel{grid-column:1!important;grid-row:auto!important}.outfit-portrait-card canvas{max-height:300px}.outfit-color-row{grid-template-columns:30px 1fr;padding:6px}.outfit-color-swatch,.outfit-custom-color{width:22px;height:22px}}
.sidebar-subview .outfit-color-layout{grid-template-columns:1fr!important}.sidebar-subview .outfit-color-panel{order:2}.sidebar-subview .outfit-preview-panel{order:3}.sidebar-subview .outfit-portrait-card{order:1}.sidebar-subview .outfit-color-heading b{font-size:11px}.sidebar-subview .outfit-color-heading small{font-size:7px}.sidebar-subview .outfit-color-row{grid-template-columns:28px 1fr;padding:5px;gap:5px}.sidebar-subview .outfit-color-icon{width:26px;height:26px;font-size:13px}.sidebar-subview .outfit-color-main>b{font-size:8px}.sidebar-subview .outfit-color-swatch,.sidebar-subview .outfit-custom-color{width:18px;height:18px}
