*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#060a10;color:#dce7ff;font-family:Segoe UI,Arial,sans-serif}button,select,input{font:inherit}button{color:inherit}.game-shell{width:100vw;height:100vh;display:grid;grid-template-rows:56px 1fr 166px;background:#0a101a}.topbar{display:flex;align-items:center;gap:10px;padding:5px 10px;background:linear-gradient(#121b2b,#080d15);border-bottom:1px solid #38435a;box-shadow:0 2px 12px #0009;z-index:10}.brand{font-family:Georgia,serif;font-weight:900;font-size:28.75px;letter-spacing:1px;color:#ffcc5b;text-shadow:0 2px #4b2100}.brand small{font-family:Segoe UI;font-size:12.5px;color:#7fa7e9;display:block;letter-spacing:2px}.top-stat{height:42px;min-width:112px;border:1px solid #34425c;background:#111a29;padding:5px 10px;border-radius:5px}.top-stat b{display:block;color:#f2f6ff;font-size:15px}.top-stat span{font-size:13.75px;color:#8da5ca}.top-spacer{flex:1}.top-btn{height:42px;min-width:74px;border:1px solid #514323;background:linear-gradient(#242233,#111724);color:#d9e4fb;border-radius:4px;cursor:pointer}.top-btn:hover,.top-btn.debug{border-color:#d9a843;color:#ffe3a0}.main{min-height:0;position:relative;display:grid;grid-template-columns:270px 1fr 320px;background:#060a11}.left,.right{z-index:5;background:#0e1521;border-color:#34405a;border-style:solid;min-height:0;overflow:auto}.left{border-width:0 1px 0 0;padding:8px}.right{border-width:0 0 0 1px;padding:8px}.window{border:1px solid #3a4762;background:#111a29;margin-bottom:8px;box-shadow:0 4px 12px #0005}.window-title{min-height:31px;padding:6px 9px;background:linear-gradient(#1b2940,#121a2a);border-bottom:1px solid #3a4762;color:#85b2ff;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:space-between}.window-title .mini{background:#111a29;border:1px solid #42536f;font-size:12.5px;cursor:pointer}.window-body{padding:9px}.charline{display:flex;gap:9px;align-items:center}.portrait{width:48px;height:48px;border:1px solid #495b7d;background:#090e17;image-rendering:pixelated;object-fit:contain}.name{font-weight:700;color:#ffd36b}.sub{color:#8297b8;font-size:13.75px;line-height:1.45}.meter{height:12px;background:#060a10;border:1px solid #28334a;margin:5px 0;position:relative}.meter i{display:block;height:100%;width:100%;transition:width .15s}.hp i{background:#278b3e}.ki i{background:#2e67bc}.stamina i{background:#c48c2c}.smallrow{font-size:13.75px;display:flex;justify-content:space-between;margin:4px 0;gap:8px}.status-badges{display:flex;gap:5px;margin-top:8px}.status{font-size:12.5px;padding:3px 6px;border:1px solid #6d853f;color:#c9ef8a;background:#1e2c16}.status.off{opacity:.3;filter:grayscale(1)}.world-wrap{position:relative;overflow:hidden;background:#111}.world-wrap canvas{display:block;width:100%;height:100%;image-rendering:pixelated;image-rendering:crisp-edges;cursor:crosshair}.world-badge{position:absolute;top:10px;left:50%;transform:translateX(-50%);pointer-events:none;background:#111827e8;border:1px solid #586b8e;padding:7px 13px;color:#d9e7ff;font-size:15px;box-shadow:0 2px 10px #0008}.hint{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);background:#080c12dd;border:1px solid #4c5e7c;color:#aec6ed;padding:7px 12px;font-size:13.75px;pointer-events:none}.inventory-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:5px}.slot{aspect-ratio:1;border:1px solid #39455d;background:linear-gradient(135deg,#151e2c,#090e17);display:grid;place-items:center;font-size:12.5px;color:#62728e;position:relative}.slot.item img{width:32px;height:32px;image-rendering:pixelated}.slot.item span{position:absolute;right:2px;bottom:1px;color:#ffe29a;font-size:12.5px;text-shadow:0 1px 2px #000}.inventory-note{margin-top:8px}.hunt-info .smallrow b{color:#85ff8f}.distance-control{margin:10px 0;padding:8px;border:1px solid #33435e;background:#0d1420;display:flex;justify-content:space-between;align-items:center;font-size:13.75px}.distance-control div,.range-inline{display:flex;align-items:center;gap:5px}.distance-control button,.range-inline button{width:28px;height:26px;border:1px solid #4b5e7f;background:#131f32;cursor:pointer}.distance-control b,.range-inline b{min-width:24px;text-align:center;color:#ffd46e}.log-window{height:220px}.log-window .window-body{height:183px;overflow:hidden}.logline{padding:4px 0;border-bottom:1px solid #1d2636;color:#9cb0cc;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.logline.warn{color:#ffd46e}.logline.error{color:#ff8585}.logline.action{color:#9ee1ff}.actionbar{display:grid;grid-template-columns:270px 1fr 320px;background:#0b111b;border-top:1px solid #38445b;z-index:8}.chat{padding:7px;border-right:1px solid #38445b;background:#0e1520}.chatlog{height:105px;overflow:auto;color:#9fb1cb;font-size:13.75px;line-height:1.45}.chatlog .system{color:#e8c56d}.centerbar{display:grid;grid-template-rows:92px 1fr;min-width:0}.hotbar{padding:8px;display:flex;align-items:center;justify-content:center;gap:6px;background:#0d1420;overflow-x:auto}.action-slot{width:92px;height:72px;border:1px solid #52627e;background:linear-gradient(#172236,#0b111c);color:#d9e8ff;cursor:pointer;position:relative;padding:4px;display:grid;grid-template-columns:34px 1fr;grid-template-rows:1fr auto;gap:3px;text-align:left}.action-slot:hover{border-color:#78a8ef}.action-slot.disabled{opacity:.45}.action-slot img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated;grid-row:1/3}.action-slot .slot-title{font-size:12.5px;line-height:1.15;overflow:hidden}.action-slot .slot-key{position:absolute;top:2px;right:4px;font-size:11.25px;color:#ffe08a}.action-slot .slot-kind{font-size:10px;color:#88a1c5;text-transform:uppercase}.action-slot .cooldown-mask{position:absolute;left:0;right:0;bottom:0;height:0;background:#0009;pointer-events:none}.combat-settings{display:flex;align-items:center;justify-content:center;gap:12px;padding:5px;border-top:1px solid #243047;background:#0a1019;font-size:12.5px}.combat-settings label{display:flex;align-items:center;gap:5px;color:#8fa3c4}.combat-settings select{background:#141f31;border:1px solid #40516f;color:#dce8fc;padding:4px 22px 4px 7px}.quick{border-left:1px solid #38445b;padding:8px;display:grid;grid-template-columns:1fr 1fr;gap:6px}.quick button{border:1px solid #455878;background:#162136;color:#cfe0ff;cursor:pointer}.quick button:hover{border-color:#78a8ef}.modal-backdrop{position:fixed;inset:0;background:#000a;z-index:50;display:none;place-items:center}.modal-backdrop.show{display:grid}.modal{width:min(880px,94vw);max-height:88vh;border:1px solid #5c6e8f;background:#111827;box-shadow:0 25px 100px #000;overflow:hidden}.modal.wide{width:min(960px,94vw)}.modal.compact{width:min(560px,92vw)}.modal-head{height:44px;padding:10px 14px;background:linear-gradient(#1b2942,#101727);border-bottom:1px solid #465774;color:#8cb8ff;font-weight:700;display:flex;align-items:center;justify-content:space-between}.modal-head .x{border:1px solid #566681;background:#152035;width:28px;height:28px;cursor:pointer}.modal-body{padding:14px;overflow:auto;max-height:calc(88vh - 44px)}.hunt-card{display:grid;grid-template-columns:150px 1fr 230px;gap:14px}.hunt-art{border:1px solid #3a4864;background:#0a0f18;display:grid;place-items:center;min-height:220px}.hunt-art img{width:96px;image-rendering:pixelated}.pulls{display:flex;gap:8px;margin:15px 0}.pull{flex:1;padding:12px;border:1px solid #46546d;background:#151e2d;color:#c9d7ec;cursor:pointer}.pull.active{border-color:#62a8ff;background:#17335a;color:#fff}.primary{padding:10px 18px;border:1px solid #d49a35;background:linear-gradient(#5b4318,#2b2417);color:#ffe0a0;font-weight:700;cursor:pointer}.secondary{padding:10px 18px;border:1px solid #50617e;background:#162238;color:#d7e5fb;cursor:pointer}.secondary.small{padding:7px 11px}.danger{padding:10px 18px;border:1px solid #7b3940;background:#371a20;color:#ffc0c6;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.panel-list{display:grid;gap:6px}.panel-list div{padding:8px;border:1px solid #34415b;background:#0d1420;font-size:15px}.gold{color:#f6c75b}.green{color:#7be38b}.red{color:#ff7b7b}
.action-modal{width:min(900px,96vw)}.action-body{padding:0}.action-tabs{display:grid;grid-template-columns:1fr 1fr;padding:14px 14px 0;gap:8px}.action-tab{padding:10px;border:1px solid #4b5d7a;background:#141e2e;color:#9fb3d3;cursor:pointer}.action-tab.active{border-color:#4fa7ff;box-shadow:inset 0 0 0 1px #2b78bd;color:#dbeaff;background:#152c49}.action-picker{display:grid;grid-template-columns:43% 1fr;min-height:300px;padding:14px;gap:14px;border-bottom:1px solid #34445e}.action-list{height:300px;overflow:auto;padding-right:5px}.action-list-item{display:flex;align-items:center;gap:10px;border:1px solid #34425b;background:#0d1420;margin-bottom:6px;padding:8px;cursor:pointer}.action-list-item.active{border-color:#5da9ff;background:#163151}.action-list-item img{width:36px;height:36px;object-fit:contain;image-rendering:pixelated}.action-list-item strong{font-size:15px}.action-list-item span{display:block;font-size:12.5px;color:#8194b5;margin-top:2px}.action-details{border:1px solid #34425b;background:#0c131f;padding:14px}.action-title-line{display:flex;gap:12px;align-items:center}.action-title-line img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated;border:1px solid #34425b;background:#080d14}.action-title-line h2{margin:0 0 4px;font-size:22.5px}.type-pill{display:inline-block;font-size:11.25px;text-transform:uppercase;padding:3px 6px;border:1px solid #4c6285;color:#91b8ed}.action-details p{font-size:15px;color:#9bb0cf;line-height:1.5}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.detail-grid div{padding:7px;border:1px solid #2d3a51;background:#111a28;font-size:12.5px}.conditions-head{display:flex;justify-content:space-between;align-items:center;padding:12px 14px 6px}.conditions-head h3{margin:0;color:#c9d9f3;font-size:17.5px}.conditions-head p{margin:4px 0 0;color:#8193b1;font-size:12.5px}.condition-row{display:grid;grid-template-columns:1.25fr .85fr .75fr 34px;gap:7px;padding:7px 14px}.condition-row select,.condition-row input{height:34px;border:1px solid #40506d;background:#111a29;color:#dce8fb;padding:5px}.condition-row button{border:1px solid #74343d;background:#32181c;color:#ff9da6;cursor:pointer}.action-footer{display:flex;justify-content:flex-end;align-items:center;gap:18px;padding:12px 14px 14px;border-top:1px solid #34445e;margin-top:7px}.action-footer label{font-size:15px}.log-modal{width:min(1050px,96vw)}.debug-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}#debugText{width:100%;height:58vh;resize:none;background:#05080d;border:1px solid #38465e;color:#b8d0ef;font:11px Consolas,monospace;padding:10px;white-space:pre}.death-modal .modal-head{color:#ff93aa}@media(max-width:1100px){.main,.actionbar{grid-template-columns:220px 1fr 250px}.left{font-size:13.75px}.right{font-size:12.5px}.top-btn{min-width:55px}.top-stat{min-width:90px}.action-slot{width:82px}.hunt-card{grid-template-columns:120px 1fr 190px}}@media(max-width:850px){.left{display:none}.main,.actionbar{grid-template-columns:1fr 220px}.world-wrap{grid-column:1}.right{grid-column:2}.chat{display:none}.centerbar{grid-column:1}.quick{grid-column:2}.top-stat:nth-of-type(3),.top-stat:nth-of-type(4){display:none}}

/* R5 — action planner / test bench */
.top-btn.test{border-color:#507344;background:linear-gradient(#243a1d,#162517);color:#bdeaa8}
.action-live{margin-top:12px;padding:10px;border:1px solid #3b4962;background:#101826;font-size:13.75px;line-height:1.45}.action-live.ready{border-color:#3b8450;background:#10251a;color:#bdf1c8}.action-live.blocked{border-color:#725045;background:#251714;color:#f1c3b8}.action-live>div{margin-top:5px}.live-conditions{color:#afbdd2}.live-blockers{color:#ffad9f}
.condition-row{grid-template-columns:1fr 1fr 1.35fr 132px 100px 34px;align-items:center}.condition-row select,.condition-row input{min-width:0}.value-stepper{display:grid;grid-template-columns:32px 1fr 32px;height:34px}.value-stepper button{border:1px solid #40506d;background:#17243a;color:#dce8fb;cursor:pointer}.value-stepper input{width:100%;text-align:center;border-left:0!important;border-right:0!important}.condition-current{font-size:12.5px;color:#8fa5c5;text-align:center}.condition-current b{color:#dfeafb}.remove-condition{height:34px;border:1px solid #74343d!important;background:#32181c!important;color:#ff9da6!important;cursor:pointer}
.test-modal{width:min(1180px,97vw);max-height:94vh}.test-modal .modal-body{max-height:84vh;overflow:auto}.test-intro{padding:9px;border:1px solid #34435d;background:#0e1724}.test-player-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:12px 0}.test-player-grid label,.test-skill-row label{font-size:12.5px;color:#8fa5c5;display:grid;gap:4px}.test-player-grid input,.test-skill-row input{height:32px;border:1px solid #40506d;background:#101926;color:#e3ecfb;padding:5px;min-width:0}.test-flags{display:flex;gap:24px;padding:10px 0 14px;border-bottom:1px solid #34435d;font-size:15px}.test-section-title{font-weight:800;color:#8cbcff;margin:14px 0 7px}.test-table-head,.test-skill-row{display:grid;grid-template-columns:2.2fr repeat(7,.8fr);gap:7px;align-items:center}.test-table-head{padding:5px 7px;color:#7689aa;font-size:11.25px;text-transform:uppercase}.skill-test-rows{display:grid;gap:6px}.test-skill-row{padding:7px;border:1px solid #33415a;background:#0c141f}.test-skill-name{display:flex;align-items:center;gap:9px;min-width:0}.test-skill-name img{width:36px;height:36px;object-fit:contain;image-rendering:pixelated;background:#070c13;border:1px solid #33415a}.test-skill-name b{font-size:13.75px;display:block;color:#dce9fb}.test-skill-name span{font-size:11.25px;color:#8296b5}.test-empty{display:block}
@media(max-width:1050px){.condition-row{grid-template-columns:1fr 1fr 1.2fr 120px 80px 34px}.test-player-grid{grid-template-columns:repeat(3,1fr)}.test-table-head{display:none}.test-skill-row{grid-template-columns:2fr repeat(3,1fr);grid-auto-rows:auto}.test-skill-name{grid-row:span 2}}

/* R6 — mapa real / venda persistente */
.quick-sell-list{display:grid;gap:6px;margin-top:10px}.qs-row{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;padding:9px;border:1px solid #35445e;background:#0d1420}.qs-row b{color:#f4c966}.qs-row input{width:16px;height:16px}.primary:disabled{opacity:.4;cursor:not-allowed}
.qs-row{grid-template-columns:24px 36px 1fr auto}.qs-icon{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}.qs-row span{display:grid;gap:2px}.qs-row span b{color:#dce7ff}.qs-row span small{color:#8095b7;font-size:12.5px}.qs-row strong{color:#f4c966}.inv-modal-row{display:flex!important;align-items:center;gap:9px}.inv-modal-row img{width:28px;height:28px;image-rendering:pixelated;object-fit:contain}
/* R6.8 — Inventário compacto seguindo as proporções da referência Huntera enviada pelo usuário. */
#infoModal.inventory-mode{place-items:center}
#infoModal.inventory-mode .modal.compact{width:min(500px,96vw);height:min(575px,92vh);max-height:none;background:#0e1522;border:1px solid #566986;box-shadow:0 18px 70px #000d}
#infoModal.inventory-mode .modal-head{height:34px;padding:5px 9px;font-size:16.25px;text-transform:none;color:#8bb6ff;background:linear-gradient(#1a2941,#111a29);border-bottom:1px solid #465774}
#infoModal.inventory-mode .modal-head .x{width:26px;height:26px}
#infoModal.inventory-mode .modal-body{padding:0;max-height:none;height:calc(100% - 34px);overflow:hidden}
#infoModal.inventory-mode .modal-body>.modal-actions{display:none}
#infoModal.inventory-mode #infoContent{height:100%;min-height:0}
.tibia-inventory{height:100%;min-height:0;display:grid;grid-template-columns:205px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 34px;background:#101725;color:#cbd7ed;border-top:1px solid #25344c}
.equip-pane{grid-column:1;grid-row:1;position:relative;border-right:1px solid #34445f;background:#0f1623;min-width:0;min-height:0;overflow:hidden}
.equipment-paperdoll{position:absolute;left:50%;top:50%;width:170px;height:224px;transform:translate(-50%,-46%)}
.equip-slot,.bag-slot{background:linear-gradient(145deg,#111925,#060b12);border:1px solid #46536b;box-shadow:inset 0 0 0 2px #05080e,0 1px 2px #000b}
.equip-slot{position:absolute;width:44px;height:44px;display:grid;place-items:center}
.equip-slot.filled:hover,.bag-slot.filled:hover{border-color:#7797c6;filter:brightness(1.08)}
.equip-slot img{width:38px;height:38px;object-fit:contain;image-rendering:pixelated}
.equip-slot:not(.filled)::after{content:'';width:12px;height:12px;border:1px solid #344157;border-radius:50%;opacity:.6}
.equip-slot[data-equip="head"]{left:63px;top:0}
.equip-slot[data-equip="necklace"]{left:5px;top:54px}
.equip-slot[data-equip="backpack"]{right:5px;top:54px}
.equip-slot[data-equip="left-hand"]{left:5px;top:108px}
.equip-slot[data-equip="armor"]{left:63px;top:54px}
.equip-slot[data-equip="right-hand"]{right:5px;top:108px}
.equip-slot[data-equip="ring"]{left:5px;top:162px}
.equip-slot[data-equip="legs"]{left:63px;top:108px}
.equip-slot[data-equip="ammo"]{right:5px;top:162px}
.equip-slot[data-equip="boots"]{left:63px;top:162px}
.storage-pane{grid-column:2;grid-row:1;min-width:0;min-height:0;background:#101725;display:grid;grid-template-rows:108px minmax(0,1fr);overflow:hidden}
.storage-section{min-height:0;padding:7px 8px 6px}
.bag-section{border-bottom:1px solid #34445f}
.storage-title{height:24px;display:flex;align-items:center;justify-content:space-between;padding:0 1px 5px;color:#a9bae0}
.storage-title b{font-size:15px}.storage-title span{font-size:11.25px;color:#788eaf}
.inv-help-btn{width:19px;height:19px;padding:0;border:1px solid #566680;border-radius:50%;background:#141d2d;color:#b7c8e5;cursor:help;font-size:13.75px;line-height:17px}
.bag-scroll{overflow-x:auto;overflow-y:hidden;padding-bottom:4px;width:100%}
.bag-grid{display:grid;grid-template-columns:repeat(5,44px);grid-auto-rows:44px;gap:4px;align-content:start;width:max-content}
.bag-grid-belt{grid-template-columns:repeat(10,44px);grid-template-rows:44px}
.bag-slot{position:relative;width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto}
.bag-slot img{width:38px;height:38px;object-fit:contain;image-rendering:pixelated}
.bag-slot span{position:absolute;right:2px;bottom:1px;min-width:11px;text-align:right;color:#f0f3fb;font-size:11.25px;font-weight:700;text-shadow:1px 1px 2px #000,-1px 0 #000}
.bag-slot.marked-sale::after{content:'';position:absolute;right:1px;top:1px;width:0;height:0;border-left:8px solid transparent;border-top:8px solid #ffab2d;filter:drop-shadow(0 0 1px #000)}
.backpack-section{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.backpack-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:4px}
.backpack-scroll .bag-grid{grid-template-columns:repeat(5,44px);grid-auto-rows:44px;gap:4px;width:max-content;max-width:none}
.backpack-scroll .bag-slot{width:44px;height:44px;aspect-ratio:auto}
.inventory-footer{grid-column:1/3;grid-row:2;border-top:1px solid #34445f;background:#0b111c;display:grid;grid-template-columns:205px minmax(0,1fr);align-items:center;min-height:0}
.capacity-box{padding:4px 7px}
.capacity-track{position:relative;height:22px;border:1px solid #45536a;background:#080d14;overflow:hidden;box-shadow:inset 0 0 0 2px #05080c}
.capacity-track i{position:absolute;inset:2px auto 2px 2px;background:linear-gradient(90deg,#5c841c,#a09c20);opacity:.9}
.capacity-track b,.capacity-track span{position:absolute;top:3px;z-index:1;font-size:12.5px;text-shadow:1px 1px #000}
.capacity-track b{left:6px;color:#e7efbd}.capacity-track span{right:6px;color:#eef3ff}
.inventory-money{justify-self:end;padding-right:9px;display:flex;align-items:center;gap:4px;color:#e6b74e;font-size:16.25px}
.inventory-money img{width:24px;height:24px;object-fit:contain;image-rendering:pixelated}
.tibia-inventory ::-webkit-scrollbar{width:8px;height:8px}.tibia-inventory ::-webkit-scrollbar-track{background:#0a1019;border:1px solid #263249}.tibia-inventory ::-webkit-scrollbar-thumb{background:#344766;border:1px solid #526886}.tibia-inventory ::-webkit-scrollbar-button{background:#151f30;width:8px;height:8px}
@media (max-height:620px){#infoModal.inventory-mode .modal.compact{height:min(540px,94vh)}.equipment-paperdoll{transform:translate(-50%,-44%)}}
.inv-modal-row{display:none!important}
/* R6.9 — equipamento real e venda apenas do que existe */
.equip-slot[data-equip="weapon"]{left:5px;top:108px}
.equip-slot[data-equip="offhand"]{right:5px;top:108px}
.equipment-summary{position:absolute;left:8px;right:8px;bottom:5px;display:grid;gap:1px;padding:5px 6px;border:1px solid #2e405c;background:#0b121e;color:#91a5c8;font-size:10px;line-height:1.25}
.equipment-summary b{color:#e6c36f;font-size:11.25px}.equipment-summary span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.storage-title small{font-size:10px;color:#6f84a6;font-weight:400}.empty-quick-sell{margin-top:10px;padding:18px 12px;text-align:center;border:1px dashed #35445e;background:#0d1420;color:#8496b5}
.bag-slot[data-gear-id]{cursor:pointer}

/* ========================================================================== */
/* R7 — shell visual reconstruído a partir das referências do Huntera.         */
/* O conteúdo continua DBO; a interface passa a ser HUD sobre o mapa.          */
/* ========================================================================== */
:root{
  --r7-top:78px;
  --r7-gold:#d49a36;
  --r7-gold2:#f1c25a;
  --r7-blue:#18243a;
  --r7-blue2:#263650;
  --r7-line:#465572;
  --r7-panel:rgba(12,18,29,.94);
}
html,body{background:#05070b;color:#cbd5e8;font-family:Arial,Helvetica,sans-serif}
body{user-select:none}
.game-shell{display:grid;grid-template-rows:var(--r7-top) minmax(0,1fr);width:100vw;height:100vh;background:#05070b;overflow:hidden}
.legacy-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}

/* Topo compacto, semelhante à leitura visual da referência. */
.hunter-topbar{height:var(--r7-top);display:flex;align-items:center;gap:8px;padding:5px 10px 5px 12px;background:linear-gradient(#0b0d11,#080a0d 70%,#0d1016);border-bottom:1px solid #544526;box-shadow:0 2px 6px #000c;z-index:30;overflow:hidden}
.hunter-brand{width:76px;min-width:76px;height:52px;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:.9;text-shadow:0 2px 2px #000}
.hunter-brand .brand-main{font-family:Georgia,serif;font-size:31.25px;font-weight:900;font-style:italic;letter-spacing:-1px;color:#e8b64f}
.hunter-brand .brand-sub{font-size:11.25px;font-weight:800;letter-spacing:3px;color:#8ea3c9;margin-top:5px}
.profile-card{height:58px;min-width:210px;display:flex;align-items:center;gap:8px;padding:3px 9px 3px 4px;border:1px solid #3b4557;background:linear-gradient(#111723,#0a0e15);border-radius:5px;color:#dce5f4;text-align:left;cursor:pointer;box-shadow:inset 0 0 0 1px #070a0f}
.profile-card:hover{border-color:#896b33}
.profile-avatar{width:48px;height:48px;object-fit:contain;image-rendering:pixelated;background:#090c11;border:1px solid #544934;border-radius:3px}
.profile-copy{display:grid;grid-template-columns:auto;line-height:1.05;min-width:0}
.profile-copy b{font-size:16.25px;color:#f0c56c;letter-spacing:.2px}.profile-copy small{font-size:11.25px;color:#899ab8;margin-top:3px}.profile-copy em{justify-self:start;margin-top:4px;padding:2px 6px;border:1px solid #3c4350;border-radius:10px;color:#e5b75b;background:#111722;font-style:normal;font-size:11.25px}
.currency-pill{height:42px;min-width:105px;padding:0 9px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #3b4557;background:#111622;border-radius:18px;box-shadow:inset 0 0 0 1px #080b10;color:#e6b75a}
.currency-pill img{width:22px;height:22px;object-fit:contain;image-rendering:pixelated}.currency-pill b{font-size:16.25px;min-width:44px;text-align:right}
.secondary-currency{min-width:82px}.secondary-currency .orb{font-size:18.75px;color:#e7b846}.secondary-currency b{min-width:20px}.secondary-currency button{width:22px;height:22px;padding:0;border:0;border-radius:50%;background:#c79a42;color:#1a1308;font-weight:900}
.store-btn{height:54px;min-width:82px;padding:4px 11px;border:1px solid #7a5b29;background:linear-gradient(#332718,#14120f);box-shadow:inset 0 0 0 2px #17110a,0 0 8px #a66e1d55;color:#eed49b;border-radius:4px;display:flex;align-items:center;gap:7px;opacity:1!important}
.store-btn img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}.store-btn span{font-size:15px}.store-btn:disabled{color:#eed49b;cursor:default}
.server-strip{flex:1;min-width:180px;display:grid;grid-template-columns:auto auto;justify-content:center;align-content:center;column-gap:6px;row-gap:2px;text-align:center;color:#91a6cb}
.server-strip .online-dot{width:8px;height:8px;border-radius:50%;background:#77d15d;box-shadow:0 0 6px #77d15d}.server-strip b{font-size:13.75px;font-weight:400;color:#9eb8e1}.server-strip small{grid-column:1/3;font-size:10px;letter-spacing:1px;color:#4f668c;text-transform:uppercase}
.top-icons{display:flex;align-items:center;gap:5px;margin-left:auto}.top-icons .top-btn{min-width:0;width:48px;height:48px;padding:3px;display:grid;place-items:center;border:1px solid #3f4a5e;background:linear-gradient(#192131,#0a0e15);border-radius:3px;box-shadow:inset 0 0 0 2px #080b10;cursor:pointer}.top-icons .top-btn:hover{border-color:#9a783d;background:#20283a}.top-icons .top-btn img{width:38px;height:38px;object-fit:contain;image-rendering:pixelated}.top-icons .top-btn span{font-weight:700;font-size:25px;color:#9fb0cd}.top-icons .top-btn.debug{display:none}.top-icons .top-btn.test{border-color:#3f4a5e;background:linear-gradient(#192131,#0a0e15)}

/* O mapa volta a ser o jogo; painéis deixam de consumir colunas inteiras. */
.main{grid-row:2;position:relative;display:block;min-height:0;background:#07090c;overflow:hidden}
.world-wrap{position:absolute;inset:0;overflow:hidden;background:#0a0b0d;z-index:1}.world-wrap canvas{position:absolute;inset:0;width:100%;height:100%;display:block;image-rendering:pixelated;image-rendering:crisp-edges;cursor:crosshair}.world-badge,.hint{display:none!important}
.left,.right{background:transparent;border:0;padding:0;overflow:visible;z-index:12}

/* HUD inferior esquerdo — barras sobre o mapa, sem painel lateral. */
.hunter-status{position:fixed;left:0;bottom:0;width:356px;height:126px;z-index:22;pointer-events:none}
.hunter-status .status-window{position:absolute;left:0;bottom:0;width:356px;height:126px;margin:0;border:1px solid #42506a;background:linear-gradient(90deg,rgba(10,14,22,.97),rgba(12,17,27,.94));box-shadow:0 -2px 10px #000a;pointer-events:auto}
.hunter-status .window-body{height:100%;padding:6px 8px 5px 8px;display:grid;grid-template-columns:1fr;align-content:start;gap:1px}.hunter-status .charline{display:none}.hunter-status .hud-meter-line{height:20px}.hunter-status .meter{height:17px;margin:0;border:1px solid #48556a;background:#05080d;box-shadow:inset 0 0 0 1px #111827;position:relative}.hunter-status .meter i{height:100%;opacity:.95}.hunter-status .meter span{position:absolute;inset:0;display:grid;place-items:center;font-size:12.5px;font-weight:700;color:#eef5ff;text-shadow:1px 1px #000}.hunter-status .hp i{background:linear-gradient(#2ca045,#1e7932)}.hunter-status .ki i{background:linear-gradient(#3578c9,#255da4)}.hunter-status .hud-row{display:flex;align-items:center;justify-content:space-between;height:16px;font-size:11.25px;color:#b5c3d9}.hunter-status .hud-row b{color:#d9e4f4}.hunter-status .hud-exp{color:#e1c76f}.hunter-status .xp-meter{height:9px}.hunter-status .xp-meter i{width:0;background:linear-gradient(#bd8730,#9d681e)}.hunter-status .stamina-row{margin-top:1px;color:#8fa4c4}.hunter-status .capacity-hud b{color:#dce5f3}.hunter-status .stamina{height:9px}.hunter-status .stamina i{background:linear-gradient(#6b9ca0,#3e7276)}.hunter-status .status-badges{position:absolute;right:8px;bottom:6px;margin:0;gap:4px}.hunter-status .status{font-size:10px;padding:2px 4px;background:#151d17;border-color:#4a673c}.hunter-status .status.off{display:none}

/* Analisador pequeno no canto superior direito, como uma janela do cliente. */
.hunter-right{position:fixed;right:0;top:var(--r7-top);width:286px;z-index:18;pointer-events:none}.hunter-right .window{pointer-events:auto;margin:7px 7px 0 0;border:1px solid #3e4d68;background:rgba(12,18,29,.91);box-shadow:0 4px 12px #0009}.hunter-right .window-title{min-height:29px;height:29px;padding:5px 8px;color:#83a9e7;background:linear-gradient(#1a263a,#101724);font-size:13.75px;text-transform:none;border-bottom:1px solid #39475f}.analyzer-window{width:278px;margin-left:auto!important}.analyzer-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:7px}.analyzer-grid>div{display:grid;padding:5px 6px;border-bottom:1px solid #1d2737;background:#0d131d}.analyzer-grid span{font-size:10px;color:#71839f}.analyzer-grid b{font-size:15px;color:#92d76b;margin-top:2px}.analyzer-grid>div:nth-child(4) b{color:#ef8d88}.hunt-floating{width:220px;margin-left:auto!important}.hunt-floating .window-body{padding:7px}.hunt-floating .distance-control{margin:5px 0;padding:5px;background:#0b111a}.log-window{display:none!important}

/* Footer/hotbar flutuante central. */
.hunter-footer{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(920px,calc(100vw - 720px));height:145px;background:transparent;border:0;z-index:21;display:block;pointer-events:none}.hunter-centerbar{position:absolute;left:0;right:0;bottom:0;height:145px;display:grid;grid-template-rows:36px 76px 33px;background:rgba(10,14,22,.93);border:1px solid #3f4d65;box-shadow:0 -3px 12px #000a;pointer-events:auto}.hunter-quick{grid-row:1;display:flex;align-items:stretch;justify-content:center;gap:5px;padding:3px 6px;border:0;background:rgba(4,6,9,.55)}.hunter-quick button{min-width:135px;padding:0 14px;border:1px solid #5f5537;background:linear-gradient(#27303c,#151a21);color:#ded4b8;font-family:Georgia,serif;font-size:13.75px;letter-spacing:.4px;cursor:pointer;box-shadow:inset 0 0 0 1px #090b0f}.hunter-quick button:hover{border-color:#bd8b35;color:#ffe6aa}.hunter-quick #quickSell{border-color:#9f712e;background:linear-gradient(#443116,#21190d);color:#f3d37e}.hunter-quick #leaveHunt{border-color:#783e46;color:#f2a7ad;background:linear-gradient(#351a20,#1c1114)}
.hunter-centerbar .hotbar{grid-row:2;padding:5px 7px;display:flex;align-items:center;justify-content:center;gap:4px;background:rgba(12,17,26,.96);overflow:hidden;border-top:1px solid #212b3c;border-bottom:1px solid #222d3e}.hunter-centerbar .action-slot{width:92px;height:65px;padding:3px;border:1px solid #4a566b;background:linear-gradient(#171e29,#080c12);grid-template-columns:38px 1fr;box-shadow:inset 0 0 0 2px #05070b}.hunter-centerbar .action-slot:hover{border-color:#a27836}.hunter-centerbar .action-slot img{width:36px;height:36px}.hunter-centerbar .action-slot .slot-title{font-size:11.25px}.hunter-centerbar .action-slot .slot-kind{font-size:8.75px}.hunter-centerbar .action-slot .slot-key{color:#e7c26a}.hunter-centerbar .combat-settings{grid-row:3;height:33px;padding:3px 8px;display:flex;justify-content:flex-end;gap:10px;background:#0b1018;border:0;font-size:11.25px}.hunter-centerbar .combat-settings select{height:25px;padding:2px 24px 2px 6px;background:#141a26}.hunter-centerbar .range-inline button{width:25px;height:25px}

/* Chat no canto inferior direito. */
.hunter-chat{position:fixed;right:0;bottom:0;width:340px;height:235px;padding:0;background:rgba(10,14,22,.93);border:1px solid #42506a;box-shadow:0 -2px 12px #000b;z-index:24;pointer-events:auto;display:grid;grid-template-rows:31px 29px 1fr 31px}.chat-head{display:flex;align-items:center;justify-content:space-between;padding:4px 7px;color:#8fb2e9;background:linear-gradient(#1a273c,#111927);border-bottom:1px solid #3d4b63;font-size:13.75px}.chat-head button{width:24px;height:22px;border:1px solid #475772;background:#121b2a;color:#8fa7cb}.chat-tabs{display:flex;align-items:end;gap:0;padding-left:6px;border-bottom:1px solid #303d52;background:#0e1521}.chat-tabs span{padding:7px 10px 5px;font-size:11.25px;color:#7c8ca9}.chat-tabs span.active{color:#9ec0f2;border-bottom:2px solid #5b8fca}.hunter-chat .chatlog{height:auto;padding:6px 7px;overflow:auto;color:#9aa9bf;font-size:11.25px;line-height:1.45;background:rgba(7,10,15,.78)}.hunter-chat .chatlog .system{color:#d6bf72}.chat-input{display:grid;grid-template-columns:1fr 60px;border-top:1px solid #303d52;background:#0b1018}.chat-input span{padding:8px;color:#586983;font-size:11.25px}.chat-input button{border:0;border-left:1px solid #3b4960;background:#182237;color:#a9c3e8;font-size:11.25px}

/* Modais ficam próximos do estilo de janela da referência, sem cara de dashboard. */
.modal-backdrop{background:#0008}.modal{border:1px solid #56647e;background:#151b29;box-shadow:0 18px 70px #000e}.modal-head{height:38px;padding:7px 10px;background:linear-gradient(#202b40,#151b29);border-bottom:1px solid #43516a;color:#8eb5f2;font-size:15px}.modal-head .x{width:25px;height:25px;background:#121a28;border-color:#53627c}.modal-body{background:#151923}.primary{border-color:#a5772b;background:linear-gradient(#493516,#241b0d);color:#f0d28b}.secondary{background:linear-gradient(#202a3b,#141b28);border-color:#4b5a72}.pull.active,.action-tab.active{border-color:#4e9bdd;background:#17304d}.window-title{font-family:Arial,Helvetica,sans-serif}

/* Em telas menores, preserva mapa e oculta o que atrapalha em vez de criar colunas. */
@media(max-width:1280px){
  .server-strip small{display:none}.server-strip{min-width:90px}.profile-card{min-width:180px}.currency-pill{min-width:85px}.hunter-footer{width:min(760px,calc(100vw - 610px))}.hunter-status{width:300px}.hunter-status .status-window{width:300px}.hunter-chat{width:300px}.hunter-right{width:240px}.analyzer-window{width:232px}.top-icons .top-btn{width:44px;height:44px}.top-icons .top-btn img{width:34px;height:34px}.store-btn{min-width:68px}.hunter-centerbar .action-slot{width:82px}
}
@media(max-width:980px){
  .hunter-brand,.secondary-currency,.store-btn,.server-strip{display:none}.hunter-status{width:270px}.hunter-status .status-window{width:270px}.hunter-chat{display:none}.hunter-right{width:220px}.analyzer-window{width:212px}.hunter-footer{left:auto;right:0;transform:none;width:calc(100vw - 270px);}.hunter-quick button{min-width:105px}.top-icons{margin-left:auto}
}


/* ========================================================================== */
/* R7.1 — HUD reconstruída seguindo a composição das referências do Huntera. */
/* ========================================================================== */
:root{--r71-top:78px;--r71-slot:45px;--r71-border:#42506a;--r71-panel:rgba(10,14,22,.95)}
html,body{background:#05070a}.game-shell{display:block;width:100vw;height:100vh;overflow:hidden}.legacy-hidden{display:none!important}
.hunter-topbar{position:fixed;z-index:40;left:0;top:0;right:0;height:var(--r71-top);padding:5px 13px;gap:7px;background:linear-gradient(#101113,#080a0d 58%,#07090b);border-bottom:1px solid #4a4d51;box-shadow:0 2px 8px #000b}
.hunter-brand{width:88px;height:64px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-right:2px;line-height:.9}.hunter-brand .brand-main{font:italic 900 25px Georgia,serif;color:#eac660;text-shadow:1px 2px #3e2609}.hunter-brand .brand-sub{margin-top:5px;font:700 7px Segoe UI,sans-serif;letter-spacing:4px;color:#8194b8}
.profile-card{height:64px;min-width:228px;padding:4px 9px 4px 5px;border:1px solid #404755;border-radius:4px;background:linear-gradient(#171c25,#0d1117);display:flex;align-items:center;gap:8px;cursor:pointer;box-shadow:inset 0 0 0 1px #07090c}.profile-card:hover{border-color:#8f713b}.profile-avatar{width:52px;height:52px;object-fit:contain;image-rendering:pixelated;background:#080b10;border:1px solid #374155}.profile-copy{height:52px;display:grid;grid-template-rows:18px 15px 17px;align-items:center;text-align:left}.profile-copy b{font-size:16.25px;color:#f0d17a}.profile-copy small{font-size:12.5px;color:#8fa2c3}.profile-copy em{font-style:normal;font-size:11.25px;color:#7789a6}.profile-copy em strong{color:#f0c55b;font-size:13.75px}
.currency-pill{height:44px;min-width:118px;padding:0 9px;margin-left:2px;border:1px solid #363e50;border-radius:18px;background:linear-gradient(#171c27,#11151d);display:flex;align-items:center;justify-content:flex-end;gap:8px}.currency-pill img{width:22px;height:22px;image-rendering:pixelated}.currency-pill b{font-size:16.25px;color:#e7b34d}.secondary-currency{min-width:88px}.secondary-currency .orb{color:#ffca47;font-size:18.75px}.secondary-currency button{width:24px;height:24px;padding:0;border:0;border-radius:50%;background:#b87c28;color:#21170b;font-size:23.75px;font-weight:900;cursor:pointer}
.store-btn{height:58px;min-width:86px;margin-left:3px;padding:3px 8px;border:1px solid #8b6428;background:linear-gradient(#3d2a11,#15120d);box-shadow:inset 0 0 0 2px #0a0907,0 0 8px #81581866;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px}.store-btn img{width:31px;height:31px;image-rendering:pixelated}.store-btn span{font:12px Georgia,serif;color:#f1d591}
.server-strip{flex:1;min-width:180px;display:flex;align-items:center;justify-content:center;gap:7px;color:#7791bb}.server-strip .online-dot{width:9px;height:9px;border-radius:50%;background:#72c94f;box-shadow:0 0 7px #72c94f}.server-strip b{font-size:13.75px;font-weight:400;color:#83a0ca}
.top-icons{display:flex;align-items:center;gap:5px;margin-left:auto}.top-icons .top-btn,.top-gear{width:53px;height:53px;min-width:0;padding:4px;border:1px solid #394354;background:linear-gradient(#161d28,#090d12);box-shadow:inset 0 0 0 2px #05070a;border-radius:3px;display:grid;place-items:center;cursor:pointer}.top-icons .top-btn:hover,.top-gear:hover{border-color:#907238}.top-icons .top-btn img{width:40px;height:40px;object-fit:contain;image-rendering:pixelated}.top-icons .top-btn.future{opacity:.82}.top-gear{font-size:25px;color:#8ca1c3;margin-left:1px}
.main{position:fixed;inset:var(--r71-top) 0 0 0;display:block;overflow:hidden;background:#060708}.world-wrap{position:absolute;inset:0;overflow:hidden;background:#080a0d;z-index:1}.world-wrap canvas{position:absolute;inset:0;width:100%;height:100%;display:block;image-rendering:pixelated;image-rendering:crisp-edges}.world-badge,.hint{display:none!important}
/* barras compactas, semelhantes ao bloco inferior do cliente */
.hunter-status{position:fixed;left:8px;bottom:8px;width:330px;height:117px;z-index:27;pointer-events:none}.hunter-status .status-window{position:absolute;inset:0;margin:0;border:1px solid #3d495d;background:rgba(9,13,20,.96);box-shadow:0 0 0 2px #040609,0 0 12px #000b;pointer-events:auto}.hunter-status .window-body{height:100%;padding:5px 7px;display:grid;gap:1px;align-content:start}.hunter-status .charline{display:none}.hunter-status .hud-meter-line{height:20px}.hunter-status .meter{height:17px;margin:0;border:1px solid #4a5260;background:#040608;box-shadow:inset 0 0 0 1px #0e141d;position:relative}.hunter-status .meter i{height:100%}.hunter-status .meter span{position:absolute;inset:0;display:grid;place-items:center;font-size:12.5px;font-weight:700;color:#eef4fb;text-shadow:1px 1px #000}.hunter-status .hp i{background:linear-gradient(#2f9c45,#17702c)}.hunter-status .ki i{background:linear-gradient(#397bd0,#24599c)}.hunter-status .hud-row{height:16px;display:flex;align-items:center;justify-content:space-between;font-size:11.25px;color:#94a6c0}.hunter-status .hud-row b{color:#dce7f6}.hunter-status .hud-exp{color:#d5bb68}.hunter-status .xp-meter,.hunter-status .stamina{height:8px}.hunter-status .xp-meter i{background:#bd8432}.hunter-status .stamina i{background:#599498}.hunter-status .status-badges{position:absolute;right:7px;bottom:5px;margin:0}.hunter-status .status{font-size:10px;padding:2px 4px}.hunter-status .status.off{display:none}
/* analisador pequeno, sem painel técnico grudado */
.hunter-right{position:fixed;right:7px;top:calc(var(--r71-top) + 7px);width:270px;z-index:25;pointer-events:none}.hunter-right .window{pointer-events:auto;margin:0 0 6px auto;border:1px solid #404b5f;background:rgba(10,15,23,.91);box-shadow:0 4px 12px #0009}.hunter-right .window-title{height:28px;min-height:28px;padding:5px 7px;font-size:12.5px;color:#87a9df;background:linear-gradient(#172338,#0e1622);border-bottom:1px solid #39465d}.analyzer-window{width:270px}.analyzer-grid{padding:5px;display:grid;grid-template-columns:1fr 1fr;gap:3px}.analyzer-grid>div{padding:4px 5px;background:#0b1119;border-bottom:1px solid #1d2736}.analyzer-grid span{font-size:8.75px;color:#667995}.analyzer-grid b{font-size:13.75px;color:#8fd368}.hunt-floating{width:210px}.log-window{display:none!important}
/* Dock central: botões em cima, duas fileiras de 10 slots, conjunto/alvo à direita. */
.hunter-footer{position:fixed;left:50%;bottom:8px;transform:translateX(-50%);width:900px;height:139px;z-index:29;background:transparent;border:0;pointer-events:none}.hunter-centerbar{position:absolute;inset:0;display:grid;grid-template-columns:1fr 188px;grid-template-rows:34px 105px;border:1px solid #434c5d;background:rgba(8,11,17,.96);box-shadow:0 0 0 2px #030507,0 -3px 12px #000c;pointer-events:auto;overflow:hidden}.hunter-quick{grid-column:1;grid-row:1;display:flex;align-items:stretch;gap:5px;padding:3px 5px;background:#080a0e;border-bottom:1px solid #303849}.hunter-quick button{height:28px;min-width:128px;flex:0 1 150px;padding:0 12px;border:1px solid #665a3a;background:linear-gradient(#2d3236,#171a1d);color:#ded3b6;font:11px Georgia,serif;letter-spacing:.5px;box-shadow:inset 0 0 0 1px #090a0c;cursor:pointer}.hunter-quick button:hover{border-color:#b58535;color:#f5dda0}.hunter-quick #quickSell{border-color:#a07127;background:linear-gradient(#483313,#23190b);color:#efcf77}.hunter-quick #leaveHunt{border-color:#7c3943;color:#eea3ae;background:#32161b;min-width:140px}
.hunter-centerbar .hotbar{grid-column:1;grid-row:2;display:grid;grid-template-columns:repeat(10,var(--r71-slot));grid-template-rows:repeat(2,var(--r71-slot));gap:4px;align-content:center;justify-content:center;padding:5px 6px;background:#0c1119;border:0;overflow:hidden}.hunter-centerbar .action-slot{width:var(--r71-slot);height:var(--r71-slot);padding:2px;border:1px solid #465064;background:linear-gradient(#151b24,#070a0e);box-shadow:inset 0 0 0 2px #030507;display:grid;place-items:center;position:relative;cursor:pointer;overflow:hidden}.hunter-centerbar .action-slot:hover{border-color:#a17936}.hunter-centerbar .action-slot.disabled:not(.empty){opacity:.55}.hunter-centerbar .action-slot img{width:36px;height:36px;object-fit:contain;image-rendering:pixelated}.hunter-centerbar .action-slot.empty{color:#596579}.hunter-centerbar .action-slot.empty:hover{color:#aebdd1}.empty-plus{font-size:28.75px;font-weight:300;line-height:1;color:currentColor}.hunter-centerbar .slot-key{position:absolute;right:2px;top:1px;font-size:8.75px;color:#d7b85c;text-shadow:1px 1px #000}.hunter-centerbar .slot-count{position:absolute;right:2px;bottom:1px;font-size:10px;font-weight:700;color:#f4df9c;text-shadow:1px 1px #000}.hunter-centerbar .cooldown-mask{position:absolute;left:0;right:0;bottom:0;height:0;background:#000a;pointer-events:none}
.hunter-centerbar .combat-settings{grid-column:2;grid-row:1/3;padding:7px 7px 5px;display:flex;flex-direction:column;justify-content:center;gap:5px;background:#0b0f16;border-left:1px solid #374153;font-size:10px}.hunter-centerbar .setting-line{display:grid;grid-template-columns:58px 1fr;align-items:center;gap:4px;color:#8f9fb9}.hunter-centerbar .setting-line>span:first-child{font-size:10px;text-align:right;letter-spacing:.6px}.hunter-centerbar .setting-control{display:flex;gap:3px;min-width:0}.hunter-centerbar .combat-settings select{width:100%;height:25px;padding:2px 19px 2px 6px;border:1px solid #3b4860;background:#141b28;color:#cbd8ed;font-size:12.5px}.tiny-control{width:24px;height:25px;padding:0;border:1px solid #46536a;background:#131b29;color:#d2b86c;cursor:pointer}.range-inline{height:25px;display:flex;align-items:center;justify-content:flex-end;gap:4px;color:#8395b0}.range-inline span{margin-right:auto;margin-left:10px;letter-spacing:.5px}.range-inline button{width:24px;height:24px;border:1px solid #43526b;background:#111a29;color:#a9bbd7}.range-inline b{min-width:22px;text-align:center;color:#d5b85c;font-size:13.75px}.combat-mini-icons{display:grid;grid-template-columns:repeat(4,1fr);gap:3px;margin-top:1px}.combat-mini-icons button{height:25px;border:1px solid #3e4b61;background:#111823;color:#7f92af;font-size:13.75px}
/* Chat vira janela real: arrastável pela barra e minimizável. */
.hunter-chat{position:fixed;right:10px;bottom:10px;width:350px;height:225px;padding:0;z-index:36;display:grid;grid-template-rows:30px 28px 1fr 30px;background:rgba(8,12,18,.94);border:1px solid #414d61;box-shadow:0 0 0 2px #030507,0 5px 15px #000c;pointer-events:auto}.hunter-chat.minimized{height:30px;grid-template-rows:30px}.hunter-chat.minimized .chat-tabs,.hunter-chat.minimized .chatlog,.hunter-chat.minimized .chat-input{display:none}.chat-head{height:30px;padding:4px 7px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(#18243a,#0f1724);border-bottom:1px solid #3a465d;color:#83a7dc;font-size:12.5px;cursor:move;user-select:none;touch-action:none}.chat-head-actions{display:flex;gap:3px}.chat-head button{width:23px;height:21px;padding:0;border:1px solid #43516a;background:#111a27;color:#9cb1d0;cursor:pointer}.chat-tabs{display:flex;align-items:end;padding-left:5px;background:#0d131d;border-bottom:1px solid #2e394c}.chat-tabs span{padding:7px 9px 5px;font-size:10px;color:#7d8ca6}.chat-tabs span.active{color:#99b9e7;border-bottom:2px solid #5887bf}.hunter-chat .chatlog{min-height:0;height:auto;padding:6px 7px;overflow:auto;background:#070a0f;color:#9ba9bc;font-size:11.25px;line-height:1.45}.chat-input{display:grid;grid-template-columns:1fr 55px;background:#090d14;border-top:1px solid #303a4d}.chat-input span{padding:8px;color:#596a83;font-size:10px}.chat-input button{border:0;border-left:1px solid #364258;background:#142037;color:#9fb8dc;font-size:10px}
/* Modal de configuração ganha opção explícita para limpar slot. */
.action-footer{display:flex;align-items:center;gap:10px}.action-footer-spacer{flex:1}
/* Remover qualquer sobra visual de protótipo. */
.top-icons .debug,.top-icons .test{display:none!important}.server-strip small{display:none!important}
@media(max-width:1300px){:root{--r71-slot:42px}.hunter-footer{width:820px}.hunter-quick button{min-width:105px}.hunter-status{width:290px}.hunter-status .status-window{width:290px}.hunter-chat{width:320px}.server-strip{min-width:80px}.top-icons .future{display:none}.profile-card{min-width:190px}.currency-pill{min-width:92px}}
@media(max-width:980px){.hunter-brand,.secondary-currency,.server-strip{display:none}.hunter-footer{left:auto;right:6px;transform:none;width:700px}.hunter-centerbar{grid-template-columns:1fr 165px}.hunter-centerbar .hotbar{grid-template-columns:repeat(10,39px);grid-template-rows:repeat(2,39px)}.hunter-centerbar .action-slot{width:39px;height:39px}.hunter-centerbar .action-slot img{width:31px;height:31px}.hunter-status{left:4px;width:260px}.hunter-status .status-window{width:260px}.hunter-chat{width:300px}.hunter-right{display:none}}

.chat-input input{min-width:0;border:0;outline:0;padding:7px;background:#090d14;color:#a9b9cf;font-size:11.25px}.chat-input input::placeholder{color:#596a83}.hunter-chat .chatlog .player{color:#c9d9ee}
/* Encaixa o bloco de HP/KI à esquerda do dock central em telas largas. */
.hunter-status{left:max(8px,calc(50% - 720px));width:270px}
.hunter-status .status-window{width:270px}
@media(max-width:1300px){.hunter-status{left:8px;width:250px}.hunter-status .status-window{width:250px}}


/* ========================================================================== */
/* R7.2 — correções de interação: chat, distância real, modos Tibia e toggles */
/* ========================================================================== */
.hunter-chat{will-change:left,top}
.hunter-chat.dragging{opacity:.98;box-shadow:0 0 0 2px #536986,0 8px 24px #000e}
.chat-head{cursor:grab}
.hunter-chat.dragging .chat-head{cursor:grabbing}

/* Modos de combate usam os ícones reais do OTClient/Tibia da base fornecida. */
.combat-mini-icons{display:grid!important;grid-template-columns:repeat(3,30px)!important;justify-content:end;gap:4px!important;margin-top:2px}
.combat-mini-icons button{width:30px;height:28px!important;padding:3px!important;display:grid;place-items:center;border:1px solid #3e4b61;background:#0b1017!important;box-shadow:inset 0 0 0 1px #05070a;cursor:pointer}
.combat-mini-icons button:hover{border-color:#7f92af}
.combat-mini-icons button.active{border-color:#a47b31;background:#17130a!important;box-shadow:inset 0 0 0 1px #3d2c10,0 0 5px #a47b3144}
.combat-mini-icons button img{width:20px;height:20px;object-fit:contain;image-rendering:pixelated;pointer-events:none}

/* Distância fica visualmente ligada ao bloco de combate e o valor escolhido ganha destaque. */
.range-inline b{min-width:25px;color:#f0c767!important;font-weight:700}
.range-inline button:hover{border-color:#8da2c3;color:#fff}

/* R7.2 final — chat realmente preso à viewport e modos Tibia */
.hunter-chat[style]{right:auto!important;bottom:auto!important;transform:none!important}
.chat-head{-webkit-user-select:none;user-select:none;touch-action:none}
.combat-mini-icons button img{display:block}

/* R7.2 — janelas de menu no estilo MMO: não bloqueiam o HUD inteiro.
   Assim o mesmo botão que abriu a janela continua clicável para fechá-la. */
#huntModal.modal-backdrop,#actionModal.modal-backdrop,#infoModal.modal-backdrop,#testModal.modal-backdrop,#logModal.modal-backdrop{background:transparent;pointer-events:none}
#huntModal .modal,#actionModal .modal,#infoModal .modal,#testModal .modal,#logModal .modal{pointer-events:auto}
#deathModal.modal-backdrop{pointer-events:auto;background:#000a}

/* ========================================================================== */
/* R7.3 — composição refeita a partir das referências visuais enviadas.      */
/* ========================================================================== */
:root{--r73-top:62px;--r73-slot:40px;--r73-line:#3d4758;--r73-gold:#a8792d;--r73-panel:rgba(7,10,15,.96)}
.hunter-topbar{height:var(--r73-top)!important;padding:4px 10px!important;gap:5px!important;background:linear-gradient(#0d0f12,#07090b)!important;border-bottom:1px solid #31363d!important}
.main{inset:var(--r73-top) 0 0 0!important}
.hunter-brand{width:72px!important;height:52px!important}.hunter-brand .brand-main{font-size:27.5px!important}.hunter-brand .brand-sub{font-size:7.5px!important;margin-top:4px!important}
.profile-card{height:51px!important;min-width:194px!important;padding:3px 8px 3px 4px!important}.profile-avatar{width:43px!important;height:43px!important}.profile-copy{height:43px!important;grid-template-rows:15px 12px 15px!important}.profile-copy b{font-size:13.75px!important}.profile-copy small{font-size:10px!important}.profile-copy em{font-size:8.75px!important}.profile-copy em strong{font-size:11.25px!important}
.currency-pill{height:36px!important;min-width:92px!important;border-radius:15px!important;padding:0 7px!important}.currency-pill img{width:18px!important;height:18px!important}.currency-pill b{font-size:13.75px!important}.secondary-currency{min-width:74px!important}.secondary-currency button{width:21px!important;height:21px!important;font-size:20px!important}
.store-btn{height:49px!important;min-width:69px!important;padding:2px 7px!important}.store-btn img{width:27px!important;height:27px!important}.store-btn span{font-size:12.5px!important}
.server-strip{font-size:11.25px!important}.server-strip b{font-size:11.25px!important}.server-strip .online-dot{width:7px!important;height:7px!important}
.top-icons{gap:3px!important}.top-icons .top-btn,.top-gear{width:43px!important;height:43px!important;padding:3px!important}.top-icons .top-btn img{width:34px!important;height:34px!important}.top-gear{font-size:20px!important}

/* O painel de caçada duplicava distância/controles; o cliente de referência os mantém no dock. */
.hunt-floating{display:none!important}
.hunter-right{top:calc(var(--r73-top) + 6px)!important;right:6px!important;width:248px!important}.analyzer-window{width:248px}.hunter-right .window-title{height:23px!important;min-height:23px!important;padding:4px 6px!important;font-size:11.25px!important}.analyzer-grid{padding:4px!important;gap:2px!important}.analyzer-grid>div{padding:3px 5px!important}.analyzer-grid span{font-size:7.5px!important}.analyzer-grid b{font-size:12.5px!important}

/* Status acoplado visualmente ao dock, nas proporções do cliente de referência. */
.hunter-status{left:calc(55% - 570px)!important;bottom:7px!important;width:220px!important;height:98px!important}.hunter-status .status-window{width:220px!important;height:98px!important}.hunter-status .window-body{padding:4px 5px!important}.hunter-status .hud-meter-line{height:17px!important}.hunter-status .meter{height:14px!important}.hunter-status .meter span{font-size:10px!important}.hunter-status .hud-row{height:14px!important;font-size:10px!important}.hunter-status .xp-meter,.hunter-status .stamina{height:7px!important}.hunter-status .status-badges{right:4px!important;bottom:3px!important}.hunter-status .status{font-size:8.75px!important;padding:1px 3px!important}

/* Dock: botões superiores + grade contínua 2x10 + controles compactos à direita. */
.hunter-footer{left:55%!important;bottom:7px!important;transform:translateX(-50%)!important;width:700px!important;height:121px!important}
.hunter-centerbar{grid-template-columns:1fr 166px!important;grid-template-rows:31px 90px!important;background:rgba(6,8,12,.97)!important;border:1px solid #333c4b!important;box-shadow:0 0 0 2px #020304,0 -3px 10px #000b!important}
.hunter-quick{padding:2px 4px!important;gap:3px!important;background:#080a0d!important}.hunter-quick button{height:26px!important;min-width:0!important;flex:1 1 auto!important;padding:0 8px!important;font-size:11.25px!important;border-color:#665735!important}.hunter-quick #quickSell{border-color:#9f7126!important}
.hunter-centerbar .hotbar{grid-template-columns:repeat(10,var(--r73-slot))!important;grid-template-rows:repeat(2,var(--r73-slot))!important;gap:3px!important;padding:3px 5px!important;align-content:center!important;justify-content:center!important;background:#090d13!important}
.hunter-centerbar .action-slot{width:var(--r73-slot)!important;height:var(--r73-slot)!important;padding:1px!important;border-color:#394354!important;background:linear-gradient(#111821,#05080c)!important;box-shadow:inset 0 0 0 1px #020305!important}.hunter-centerbar .action-slot img{width:33px!important;height:33px!important}.hunter-centerbar .slot-key{font-size:7.5px!important}.hunter-centerbar .slot-count{font-size:8.75px!important}.empty-plus{font-size:22.5px!important}
.hunter-centerbar .combat-settings{padding:4px 5px!important;gap:3px!important;background:#090c12!important;border-left:1px solid #333d4d!important;justify-content:center!important;overflow:visible!important}
.hunter-centerbar .setting-line{grid-template-columns:49px 1fr!important;gap:3px!important;height:24px!important}.hunter-centerbar .setting-line>span:first-child{font-size:8.75px!important}.hunter-centerbar .combat-settings select,.dropdown-trigger{height:23px!important;border:1px solid #374357!important;background:#111827!important;color:#c7d4e8!important;font-size:11.25px!important;padding:2px 18px 2px 6px!important}
.combat-bottom-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px;height:28px}.combat-mini-icons{display:flex!important;grid-template-columns:none!important;justify-content:flex-start!important;gap:3px!important;margin:0!important}.combat-mini-icons button{width:25px!important;height:24px!important;padding:2px!important}.combat-mini-icons button img{width:17px!important;height:17px!important}.range-inline{height:24px!important;gap:2px!important}.range-inline span{display:none!important}.range-inline button{width:22px!important;height:22px!important;padding:0!important}.range-inline b{min-width:18px!important;font-size:12.5px!important}

/* Dropdown de conjunto igual ao comportamento da referência: abre para cima. */
.loadout-wrap{position:relative;min-width:0}.dropdown-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;cursor:pointer;text-align:left}.dropdown-trigger.open{border-color:#6685b5;background:#172844}.dropdown-arrow{font-size:12.5px;color:#8ba3c6}.hud-dropdown{display:none;position:absolute;right:0;bottom:27px;width:174px;padding:0;background:#151c2e;border:1px solid #4b5d7a;box-shadow:0 7px 18px #000c;z-index:95}.hud-dropdown.show{display:block}.hud-dropdown button{width:100%;min-height:25px;padding:5px 8px;border:0;background:transparent;color:#c6d1e4;text-align:left;font:9px Segoe UI,Arial,sans-serif;cursor:pointer}.hud-dropdown button:hover,.hud-dropdown .loadout-option.active{background:#1768c7;color:#fff}.hud-dropdown-sep{height:1px;margin:3px 7px;background:#4a5367}.loadout-menu #loadoutList{display:grid}

/* Chat: dimensão/posição do cliente e drag com pointer-capture. */
.hunter-chat{width:286px;height:218px;z-index:70!important;grid-template-rows:25px 25px 1fr 27px!important;background:rgba(8,11,16,.93)!important;border:1px solid #3a4558!important;box-shadow:0 0 0 2px #020305,0 5px 14px #000b!important}.hunter-chat.minimized{height:25px!important;grid-template-rows:25px!important}.chat-head{height:25px!important;padding:3px 6px!important;font-size:11.25px!important;background:linear-gradient(#172238,#0e1624)!important}.chat-head button{width:20px!important;height:18px!important;font-size:12.5px!important}.chat-tabs{height:25px!important;padding-left:3px!important}.chat-tabs span{padding:6px 7px 4px!important;font-size:8.75px!important}.hunter-chat .chatlog{padding:5px 6px!important;font-size:10px!important;line-height:1.35}.chat-input{grid-template-columns:1fr 45px!important}.chat-input input{padding:5px!important;font-size:10px!important}.chat-input button{font-size:8.75px!important}.hunter-chat.dragging{opacity:1!important;outline:1px solid #6b85aa}

/* As janelas normais ficam clicáveis sem uma camada invisível bloqueando o HUD. */
#huntModal.modal-backdrop,#actionModal.modal-backdrop,#infoModal.modal-backdrop,#testModal.modal-backdrop,#logModal.modal-backdrop{background:transparent!important;pointer-events:none!important}
#huntModal .modal,#actionModal .modal,#infoModal .modal,#testModal .modal,#logModal .modal{pointer-events:auto!important}

@media(max-width:1350px){.hunter-footer{left:54%!important;width:650px!important}.hunter-status{left:calc(54% - 520px)!important;width:205px!important}.hunter-status .status-window{width:205px!important}.hunter-chat{width:270px}.top-icons .future:nth-of-type(n+5){display:none!important}}

/* Loja central inspirada na composição da referência, com conteúdo DBO. */
#shopModal.modal-backdrop{background:transparent!important;pointer-events:none!important}#shopModal .modal{pointer-events:auto!important}.store-modal{width:min(940px,88vw)!important;max-height:76vh!important;background:#111623!important;border-color:#4b576d!important}.store-modal .modal-head{height:34px!important;padding:6px 9px!important;font-size:13.75px!important}.store-modal .modal-head small{margin-left:8px;color:#6f7f9b;font-weight:400;font-size:10px}.store-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:7px;background:#0d1119;border-bottom:1px solid #343f52}.store-tabs button{height:31px;border:1px solid #4b5360;background:linear-gradient(#252a34,#11151d);color:#b8c2d6;font-weight:700;font-size:11.25px}.store-tabs button.active{border-color:#5697d8;box-shadow:inset 0 0 0 1px #1d5e9f;color:#e1edff;background:#17283f}.store-feature{height:88px;display:grid;grid-template-columns:64px 1fr 92px;align-items:center;gap:10px;padding:9px 12px;background:linear-gradient(90deg,#262432,#191821);border-bottom:1px solid #423a30}.store-feature>img{width:54px;height:54px;object-fit:contain;image-rendering:pixelated;border:1px solid #5d4b2c;background:#17151a}.store-feature div{display:grid;gap:2px}.store-feature small{color:#e0ad54;font-size:10px;letter-spacing:1px}.store-feature b{font-size:17.5px;color:#e3e6ef}.store-feature span{font-size:11.25px;color:#8e9bb4}.store-feature button{height:30px;border:1px solid #69583b;background:linear-gradient(#34343b,#181a20);color:#dce5f4;font-size:11.25px}.store-layout{display:grid;grid-template-columns:150px 1fr;min-height:330px}.store-sidebar{padding:8px;background:#10131b;border-right:1px solid #353e50;display:grid;align-content:start;gap:4px}.store-sidebar button{height:38px;padding:0 10px;text-align:left;border:1px solid transparent;background:transparent;color:#9ca9bf;font-size:11.25px}.store-sidebar button.active{border-color:#4b6b99;background:#18243a;color:#dbe8ff}.store-content{padding:12px}.store-content h3{margin:0 0 4px;color:#dce6f8;font-size:16.25px}.store-content p{margin:0 0 12px;color:#7e8da7;font-size:11.25px}.store-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.store-cards>div{height:170px;border:1px solid #39455c;background:#171d2b;display:grid;place-items:center;align-content:center;gap:7px}.store-cards img{width:66px;height:66px;object-fit:contain;image-rendering:pixelated}.store-cards b{font-size:13.75px}.store-cards span{font-size:10px;color:#8998b2}

/* R7.4 — hardlock de instância/pull e saída manual de 5 segundos */
.hunt-lock-notice{margin-top:12px;padding:9px 11px;border:1px solid #5b4250;background:#24171e;color:#d9b7c0;font-size:13.75px;line-height:1.45}
.hunt-lock-notice b{color:#f0c46f}.pull:disabled{cursor:not-allowed;opacity:.48;filter:saturate(.55)}.pull.active:disabled{opacity:1;filter:none;border-color:#a8782f;background:#3a2b18;color:#f4d48a}.hunter-quick #leaveHunt.exit-countdown{border-color:#c08a34;background:linear-gradient(#4a3516,#261b0e);color:#ffe09b;cursor:wait}.hunter-quick #leaveHunt:disabled{opacity:1}

/* R7.5 — NPC shop funcional, seguindo a composição comprar/lista/detalhes do Huntera */
.store-view[hidden]{display:none!important}.store-view.active{display:block}
.store-empty-note{min-height:280px;padding:28px;color:#929fba;font-size:13.75px;line-height:1.55;background:#111622}.store-empty-note b{color:#d9e5f8}
.npc-shop-layout{display:grid;grid-template-columns:170px minmax(410px,1fr) 250px;min-height:430px;max-height:62vh;background:#10141f}
.npc-shop-categories{position:relative;padding:10px 8px 64px;border-right:1px solid #354054;background:#10131b;display:flex;flex-direction:column;gap:5px}
.npc-shop-title{padding:5px 8px 9px;color:#d6ad63;font:700 10px Georgia,serif;letter-spacing:.8px;border-bottom:1px solid #30394a;margin-bottom:4px}
.npc-shop-categories button{height:38px;padding:0 11px;text-align:left;border:1px solid transparent;background:transparent;color:#a0aec6;font-size:12.5px}.npc-shop-categories button:hover{background:#151d2b}.npc-shop-categories button.active{border-color:#416a9d;background:#192942;color:#e2edff;box-shadow:inset 0 0 0 1px #142033}
.npc-wallet{position:absolute;left:8px;right:8px;bottom:10px;border-top:1px solid #323c4e;padding:10px 6px 0;display:flex;align-items:center;justify-content:space-between;color:#8997af;font-size:11.25px}.npc-wallet b{color:#e5b94e;font-size:16.25px}
.npc-shop-center{min-width:0;border-right:1px solid #354054;background:#111621}.npc-shop-head{height:55px;padding:10px 13px;border-bottom:1px solid #30394a;display:flex;align-items:center}.npc-shop-head>div{display:grid;gap:3px}.npc-shop-head b{font-size:16.25px;color:#e0e8f7}.npc-shop-head span{font-size:11.25px;color:#7d8aa3}
.npc-shop-grid{padding:10px;display:grid;grid-template-columns:repeat(5,minmax(66px,1fr));gap:7px;align-content:start;max-height:calc(62vh - 55px);overflow:auto}
.npc-item-card{position:relative;min-height:92px;border:1px solid #3a465d;background:#171d2a;color:#c7d2e6;display:grid;grid-template-rows:52px auto auto;place-items:center;padding:5px;cursor:pointer}.npc-item-card:hover{border-color:#657894;background:#1b2434}.npc-item-card.active{border-color:#d3a84d;box-shadow:inset 0 0 0 1px #6b5226}.npc-item-card img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated}.npc-item-card b{font-size:11.25px;text-align:center;line-height:1.1}.npc-item-card span{font-size:10px;color:#dbaf50}.npc-item-card .owned-badge{position:absolute;right:3px;top:3px;background:#202b3e;border:1px solid #52617a;padding:1px 4px;color:#c8d8ef;font-size:8.75px}
.npc-shop-details{padding:14px;background:#10131b;display:flex;flex-direction:column;min-width:0}.npc-detail-empty{margin:auto;text-align:center;color:#6e7b94;font-style:italic;font-size:12.5px}.npc-detail{height:100%;display:flex;flex-direction:column}.npc-detail-kicker{color:#d7a94d;text-align:center;font-size:10px;font-weight:700;letter-spacing:1px}.npc-detail h2{margin:7px 0 8px;text-align:center;font:700 16px Georgia,serif;color:#e3e9f5}.npc-detail-icon{width:92px;height:92px;margin:0 auto 10px;border:1px solid #3e4a60;background:#181e2c;display:grid;place-items:center}.npc-detail-icon img{width:78px;height:78px;object-fit:contain;image-rendering:pixelated}.npc-detail-stats{display:grid;gap:5px;margin:3px 0 10px}.npc-detail-stats div{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px solid #252d3c;font-size:11.25px}.npc-detail-stats span{color:#7888a5}.npc-detail-stats b{color:#cfd9e9;text-align:right}.npc-detail-desc{color:#8c9bb5;font-size:11.25px;line-height:1.45;margin-bottom:12px}.npc-detail-owned{color:#9babca;font-size:11.25px;margin-top:auto;padding:8px 0;border-top:1px solid #30394a}.npc-detail-owned b{color:#e6edf8}.npc-buy-price{text-align:center;color:#e0b348;font:700 13px Georgia,serif;margin:7px 0}.npc-detail-actions{display:grid;gap:6px}.npc-detail-actions button{height:33px;border:1px solid #66522f;background:linear-gradient(#3d3323,#18150f);color:#f0d79d;font-weight:700;font-size:11.25px}.npc-detail-actions button.secondary{border-color:#43516a;background:linear-gradient(#262e3c,#151a23);color:#c4d0e5}.npc-detail-actions button:disabled{opacity:.42;cursor:not-allowed}
@media(max-width:1050px){.npc-shop-layout{grid-template-columns:135px minmax(330px,1fr) 220px}.npc-shop-grid{grid-template-columns:repeat(4,minmax(62px,1fr))}}
\n\n/* R7.6 — selector de hunts + venda NPC/Quick Sell no padrão da referência */\n.hunt-selector{display:flex;gap:7px;margin-bottom:10px;padding:6px;background:#0e131d;border:1px solid #303b4d;overflow-x:auto}.hunt-choice{min-width:220px;display:grid;grid-template-columns:46px 1fr;align-items:center;gap:8px;padding:6px;border:1px solid #38445a;background:#151b28;color:#aebbd1;text-align:left;cursor:pointer}.hunt-choice:hover{border-color:#607391;background:#192335}.hunt-choice.active{border-color:#4e91d2;box-shadow:inset 0 0 0 1px #1d5d9c;background:#17283e;color:#e1ecff}.hunt-choice:disabled{cursor:not-allowed;opacity:.62}.hunt-choice img{width:42px;height:42px;object-fit:contain;image-rendering:pixelated}.hunt-choice span{display:grid;gap:3px}.hunt-choice b{font-size:12.5px}.hunt-choice small{font-size:10px;color:#7586a1}\n.npc-shop-center{display:flex;flex-direction:column}.npc-shop-grid{flex:1;min-height:190px}.npc-sell-section{border-top:1px solid #394458;background:#0e131d}.npc-sell-head{min-height:42px;padding:7px 10px;border-bottom:1px solid #2c3546;display:flex;align-items:center}.npc-sell-head>div{display:grid;gap:2px}.npc-sell-head b{font-size:13.75px;color:#dce5f5}.npc-sell-head span{font-size:10px;color:#8290a8}.npc-sell-grid{min-height:68px;max-height:118px;padding:7px 9px;display:flex;align-content:flex-start;gap:6px;flex-wrap:wrap;overflow-y:auto}.npc-sell-grid>small{margin:auto;color:#68758c;font-size:11.25px;font-style:italic}.npc-sell-card{position:relative;width:52px;height:52px;border:1px solid #3c485d;background:#171d29;display:grid;place-items:center;cursor:pointer;overflow:hidden}.npc-sell-card:hover{border-color:#6a7c98}.npc-sell-card img{width:40px;height:40px;object-fit:contain;image-rendering:pixelated}.npc-sell-card span{position:absolute;right:3px;bottom:2px;color:#fff;font:bold 8px Arial;text-shadow:1px 1px #000}.quick-marked{position:relative}.quick-marked::after{content:'';position:absolute!important;right:1px!important;top:1px!important;width:0!important;height:0!important;border-left:9px solid transparent!important;border-top:9px solid #ffb128!important;filter:drop-shadow(0 0 1px #000);pointer-events:none;z-index:4}.qs-row.quick-marked{overflow:hidden}.qs-row.quick-marked::after{right:2px!important;top:2px!important}.npc-sell-card.quick-marked{border-color:#765d31}.npc-sell-card.quick-marked:hover{border-color:#b18a43}\n@media(max-width:1050px){.npc-sell-grid{max-height:100px}.hunt-choice{min-width:190px}}\n

/* R7.7 — Janela de personagem / progressão no padrão visual das referências */
#infoModal.character-mode{place-items:center}
#infoModal.character-mode .modal.compact{width:min(920px,96vw);height:min(735px,94vh);max-height:none;background:#111827;border:1px solid #566986;box-shadow:0 20px 80px #000e}
#infoModal.character-mode .modal-head{height:38px;padding:6px 10px;text-transform:none;color:#eef3ff;background:linear-gradient(#1b2941,#111a29)}
#infoModal.character-mode .modal-body{height:calc(100% - 38px);max-height:none;padding:0;overflow:auto}
#infoModal.character-mode .modal-body>.modal-actions{display:none}
#infoModal.character-mode #infoContent{min-height:100%}
.character-sheet{padding:12px;color:#b9c6df;font-size:16.25px}
.character-tabs{height:42px;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.character-tabs button{border:1px solid #53617d;background:linear-gradient(#1c273c,#151c2b);color:#aebbd5;letter-spacing:1px;font-size:16.25px}
.character-tabs button.active{border-color:#2f9cff;box-shadow:inset 0 0 0 1px #0a73cc;color:#eef5ff;background:linear-gradient(#193a61,#18243a)}
.character-tabs button:disabled{opacity:.8}
.character-summary{display:grid;grid-template-columns:165px minmax(330px,1fr) 300px;gap:16px;border:1px solid #3e4b68;background:#1a2234;padding:12px;border-radius:5px}
.character-portrait{height:145px;border:1px solid #665232;background:#111722;display:grid;place-items:center}
.character-portrait img{height:120px;width:auto;image-rendering:pixelated;image-rendering:crisp-edges}
.character-main h2{margin:7px 0 2px;color:#f5e6c2;font-size:23.75px;letter-spacing:.4px}
.character-main>span{display:block;color:#7fa8f2;margin-bottom:16px}
.char-bar-row{display:grid;grid-template-columns:145px 1fr 115px;align-items:center;gap:8px;margin:9px 0}
.char-bar-row label{display:flex;gap:9px;align-items:center;color:#cfdaee}.char-bar-row label span{color:#aab7d0}
.char-bar-row>b{text-align:right;color:#dde7fb;font-size:16.25px}
.char-bar{height:13px;border:1px solid #27324a;border-radius:8px;background:#0c111b;overflow:hidden}
.char-bar i{display:block;height:100%;border-radius:8px}.char-bar.hp i{background:#d75969}.char-bar.ki i{background:#5686dc}.char-bar.exp i{background:#9a63cf}
.character-side-stats{display:flex;flex-direction:column;justify-content:center;gap:9px;padding:2px 4px}
.character-side-stats div{display:flex;justify-content:space-between;gap:10px}.character-side-stats span{color:#abb8d1}.character-side-stats b{color:#dce7fb;white-space:nowrap}
.character-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.character-box{position:relative;border:1px solid #3e4b68;background:#192133;border-radius:5px;padding:12px;min-height:210px}
.character-box h3{margin:0 0 11px;padding-bottom:8px;border-bottom:1px solid #40506e;color:#e0b966;font-size:16.25px;letter-spacing:1.1px}
.character-box h4{margin:11px 0 9px;color:#78a9ff;font-size:13.75px;letter-spacing:.8px}
.character-box p{margin:5px 0 8px;color:#b4c1da}.character-box p b{color:#e0e8f8}
.char-skill-row{display:grid;grid-template-columns:22px 1fr 35px 145px 38px;gap:7px;align-items:center;height:29px}
.char-skill-icon{color:#8ca9da;text-align:center}.char-skill-row>b{font-weight:500;color:#aebbd2}.char-skill-row>strong{font-weight:500;color:#cdd9ee}
.char-mini-progress,.char-big-progress{height:11px;border-radius:6px;border:1px solid #28334b;background:#111725;overflow:hidden}
.char-mini-progress i{display:block;height:100%;background:#80bc53}.char-skill-row small{color:#8998b6;text-align:right}
.char-big-progress{height:13px;margin-right:38px}.char-big-progress i{display:block;height:100%;background:#9661ca}.progress-pct{position:absolute;right:14px;top:92px;color:#bbc7dc}
.char-bonus-row,.char-bonus-total{display:flex;justify-content:space-between;padding:5px 0;color:#aebbd2}.char-bonus-row b,.char-bonus-total b{color:#e4bd62}
.char-bonus-total{margin-top:5px;padding-top:8px;border-top:1px solid #3e4b68;color:#d8b561}
.combat-details{margin-top:12px;min-height:160px}
.combat-detail-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.combat-detail-grid>div{min-height:80px;border:1px solid #43506b;background:#171f30;border-radius:4px;padding:9px}
.combat-detail-grid span{display:block;color:#8493b0;font-size:13.75px}.combat-detail-grid b{display:block;margin:5px 0;color:#dce5fb;font-size:18.75px}.combat-detail-grid small{color:#6f7f9e;font-size:11.25px}
.element-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:7px}.element-grid div{display:flex;justify-content:space-between;gap:4px;border:1px solid #3e4b68;background:#171f30;border-radius:4px;padding:6px 8px;color:#9eabc4;font-size:12.5px}.element-grid b{color:#7585a5}
@media(max-width:820px){#infoModal.character-mode .modal.compact{width:98vw}.character-summary{grid-template-columns:120px 1fr}.character-side-stats{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.character-columns{grid-template-columns:1fr}.combat-detail-grid{grid-template-columns:repeat(3,1fr)}.element-grid{grid-template-columns:repeat(4,1fr)}.char-skill-row{grid-template-columns:22px 1fr 30px 100px 34px}}


/* R7.8 — sistemas restaurados SEM rearranjar a casca visual R7.7 */

.character-select-backdrop{position:fixed;inset:0;z-index:120000;display:none;place-items:center;background:rgba(2,6,11,.92);backdrop-filter:blur(2px)}
.character-select-backdrop.show{display:grid}.character-select-window{width:min(960px,96vw);height:min(650px,94vh);display:grid;grid-template-rows:54px minmax(0,1fr) 62px;background:#0b131f;border:1px solid #536985;box-shadow:0 20px 85px #000;overflow:hidden}
.character-select-head{display:flex;align-items:center;gap:14px;padding:8px 13px;border-bottom:1px solid #334862;background:linear-gradient(#18273c,#101a29)}.character-select-head>div:first-child{min-width:0}.character-select-head b{display:block;color:#e9c45f;font-size:17.5px;letter-spacing:.08em}.character-select-head span{display:block;margin-top:3px;color:#8fa5c4;font-size:12.5px}.character-step{margin-left:auto;border:1px solid #49617f;background:#0d1725;color:#8ebcf4;padding:5px 8px;font-size:11.25px;font-weight:800;white-space:nowrap}
.character-select-body{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:0}.character-roster{padding:8px;background:#08101a;border-right:1px solid #2c405a;overflow:auto;display:flex;flex-direction:column;gap:5px}.character-roster-card{width:100%;min-height:58px;display:grid;grid-template-columns:48px 1fr;gap:8px;align-items:center;padding:5px;border:1px solid #273b55;background:#101a29;color:#d8e2f0;text-align:left;cursor:pointer}.character-roster-card:hover{background:#15253a;border-color:#527faa}.character-roster-card.active{background:#172d46;border-color:#d6aa41;box-shadow:inset 3px 0 #e0b343}.character-roster-card img{width:46px;height:46px;object-fit:contain;image-rendering:pixelated;background:#080e16}.character-roster-card b{display:block;font-size:15px;color:#f4f6fa}.character-roster-card span{display:block;margin-top:2px;font-size:11.25px;color:#7fa9d8}.character-roster-card small{display:block;margin-top:3px;font-size:10px;color:#b7a35f}
.character-detail{min-width:0;overflow:auto;padding:12px 14px}.character-hero{display:grid;grid-template-columns:112px minmax(0,1fr) 180px;gap:13px;align-items:start;padding-bottom:10px;border-bottom:1px solid #293d56}.character-hero-portrait{width:108px;height:108px;display:grid;place-items:center;background:radial-gradient(circle,#20314a,#090f18 70%);border:1px solid #435a78}.character-hero-portrait img{max-width:96px;max-height:102px;object-fit:contain;image-rendering:pixelated}.character-name h1{margin:0;color:#f2f6fc;font-size:31.25px}.character-role{margin-top:2px;color:#72b5ff;font-size:13.75px;font-weight:700}.character-identity{margin-top:8px;color:#a8b8cf;font-size:13.75px;line-height:1.42}.weapon-box{margin-top:8px;display:inline-flex;gap:6px;align-items:center;border:1px solid #5a4b28;background:#201b0e;color:#f0ca68;padding:5px 7px;font-size:12.5px;font-weight:700}.difficulty-box{border:1px solid #2f435e;background:#0c1623;padding:8px}.difficulty-box b{display:block;color:#dce7f8;font-size:12.5px}.difficulty-box span{display:block;color:#8fa4c0;font-size:11.25px;margin-top:2px}.rating{display:grid;grid-template-columns:58px 1fr 18px;gap:5px;align-items:center;margin-top:5px;font-size:10px;color:#7f93af}.rating-track{height:5px;background:#111b2a;border:1px solid #273a53}.rating-track i{display:block;height:100%;background:#638dc0}.rating strong{color:#d9b95c;font-size:10px;text-align:right}
.character-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.character-select-window .character-box{border:1px solid #2a3e58;background:#0e1826;padding:8px;min-height:84px}.character-select-window .character-box h3{margin:0 0 5px;color:#d8b759;font-size:11.25px;letter-spacing:.08em}.character-select-window .character-box ul{margin:0;padding-left:15px;color:#a9b7ca;font-size:11.25px;line-height:1.5}.character-passive{border:1px solid #49603b;background:#121d14;padding:8px 9px;margin:9px 0}.character-passive b{color:#cae99b;font-size:13.75px}.character-passive p{margin:4px 0 0;color:#aabda0;font-size:12.5px;line-height:1.4}.character-passive small{display:block;margin-top:5px;color:#71856c;font-size:10px}.character-skills-title{display:flex;justify-content:space-between;align-items:end;margin:10px 0 5px}.character-skills-title b{color:#e6c260;font-size:12.5px;letter-spacing:.08em}.character-skills-title span{color:#7185a0;font-size:10px}.character-skill-list{display:grid;gap:4px}.character-skill-row{display:grid;grid-template-columns:38px 45px minmax(0,1fr) auto;gap:7px;align-items:center;border:1px solid #293d57;background:#0e1826;padding:5px}.character-skill-row img{width:36px;height:36px;object-fit:contain;image-rendering:pixelated;background:#070c13;border:1px solid #344862}.skill-level{color:#e2bd58;font-size:11.25px;font-weight:800}.skill-copy b{display:block;color:#e4ebf6;font-size:12.5px}.skill-copy span{display:block;margin-top:2px;color:#8ea1bb;font-size:10px;line-height:1.3}.skill-numbers{text-align:right;color:#7f95b3;font-size:10px;line-height:1.4;white-space:nowrap}.skill-numbers strong{color:#b8d4f6;font-weight:700}
.character-confirm{display:flex;align-items:center;gap:10px;padding:8px 12px;border-top:1px solid #2f445e;background:#09111b}.character-confirm-copy{min-width:0;margin-right:auto}.character-confirm-copy b{display:block;color:#e9edf6;font-size:13.75px}.character-confirm-copy span{display:block;color:#8295af;font-size:11.25px;margin-top:2px}.character-confirm button{min-width:135px}.character-confirm .warning{color:#e7bd61}.tip-weapon-rule{margin-top:7px;padding:6px;border:1px solid #34485f;background:#0d1825;color:#9db1cc;font-size:11.25px}.tip-weapon-rule b{color:#e8c35f}.tip-weapon-rule.bad{border-color:#6d3d42;color:#e78b87}
@media(max-width:780px){.character-select-window{height:96vh}.character-select-body{grid-template-columns:150px 1fr}.character-roster-card{grid-template-columns:38px 1fr}.character-roster-card img{width:36px;height:36px}.character-hero{grid-template-columns:80px 1fr}.character-hero-portrait{width:76px;height:76px}.character-hero-portrait img{max-width:70px;max-height:72px}.difficulty-box{grid-column:1/3}.character-info-grid{grid-template-columns:1fr}.character-skill-row{grid-template-columns:32px 38px 1fr}.character-skill-row img{width:30px;height:30px}.skill-numbers{grid-column:3;text-align:left}.character-confirm button{min-width:100px}}


/* R7.8.2 — hover de item restaurado da composição aprovada R7.4/R6.9 */
.item-tooltip{position:fixed;z-index:99999;display:none;pointer-events:none;width:255px;border:1px solid #506887;background:linear-gradient(#101b2b,#09121e);box-shadow:0 9px 30px #000b;color:#d9e3f1;padding:10px;font-size:13.75px}
.item-tooltip.show{display:block}
.tip-head{display:grid;grid-template-columns:42px 1fr;gap:9px;align-items:center;padding-bottom:8px;border-bottom:1px solid #2b3d55}
.tip-head img{width:40px;height:40px;object-fit:contain;image-rendering:pixelated;background:#080e16;border:1px solid #354861}
.tip-head b{font-size:16.25px;color:#f0f4fa}.tip-rarity{font-size:11.25px;color:#e6b859;text-transform:uppercase;letter-spacing:.04em}
.tip-desc{color:#94a7c2;line-height:1.4;margin:8px 0}.tip-stats{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.tip-stat{background:#111d2c;border:1px solid #263b54;padding:5px}.tip-stat span{display:block;font-size:10px;color:#7186a4}.tip-stat b{font-size:12.5px;color:#f0d27a}
.tip-compare{margin-top:7px;padding-top:6px;border-top:1px solid #27394f;color:#81d698}.tip-compare.bad{color:#e8877d}

/* Sprites de skills são extraídas do Tibia.dat/Tibia.spr e devem permanecer pixel-perfect. */
.hunter-centerbar .action-slot img,.action-list-item img,.action-title-line img,.test-skill-name img,.character-skill-row img{object-fit:contain!important;image-rendering:pixelated!important;image-rendering:crisp-edges!important}

/* R7.9 — identidade local dos testers + Loot Pouch */
.character-select-window{height:min(720px,95vh)}
.character-select-body{grid-template-rows:auto minmax(0,1fr)}
.character-identity-setup{grid-column:1/-1;display:grid;grid-template-columns:180px 210px minmax(0,1fr) 84px;gap:8px;align-items:end;padding:8px 10px;border-bottom:1px solid #2f4055;background:#0c1522}
.character-identity-setup>label{display:grid;gap:4px}.character-identity-setup>label>span,.saved-characters-wrap>span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#8da3c2}
.character-identity-setup input{height:31px;border:1px solid #3b526e;background:#07101b;color:#e5edf8;padding:0 9px;outline:none;font:11px Arial}.character-identity-setup input:focus{border-color:#d2a843;box-shadow:0 0 0 1px #5f4b21}
.saved-characters-wrap{display:grid;gap:4px;min-width:0}.saved-characters{display:flex;gap:5px;min-width:0;overflow-x:auto;padding-bottom:1px}.saved-character-card{height:31px;min-width:132px;max-width:180px;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:5px;padding:2px 6px;border:1px solid #344963;background:#101c2c;color:#dce7f6;text-align:left;cursor:pointer}.saved-character-card:hover{border-color:#6788ac}.saved-character-card.active{border-color:#d1aa47;background:#1c2b3f}.saved-character-card img{width:23px;height:23px;object-fit:contain;image-rendering:pixelated}.saved-character-card b,.saved-character-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.saved-character-card b{font-size:11.25px}.saved-character-card small{font-size:8.75px;color:#8096b3}.character-new-btn{height:31px!important;min-width:0!important;padding:0 8px!important}
.character-confirm-copy .identity-error{color:#ff958b!important}

#infoModal.loot-mode .modal.compact{width:min(560px,94vw);height:min(600px,88vh);max-height:none;background:#0c1119;border:1px solid #56677e;box-shadow:0 18px 60px #000d}
#infoModal.loot-mode .modal-head{height:37px;padding:6px 10px;background:linear-gradient(#1a2534,#0f1722);color:#e7edf7;text-transform:none}
#infoModal.loot-mode .modal-body{height:calc(100% - 37px);max-height:none;padding:0;overflow:hidden}
#infoModal.loot-mode .modal-body>.modal-actions{display:none}
.loot-pouch{height:100%;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;background:#0b111a;color:#cbd6e6}
.loot-search-row{padding:8px;border-bottom:1px solid #273345;background:#111925}.loot-search-row input{width:100%;height:30px;border:1px solid #3b4c63;background:#080e16;color:#dbe5f4;padding:0 9px;outline:none}.loot-search-row input:focus{border-color:#6b8cad}
.loot-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #2f3b4d}.loot-tabs button{height:36px;border:0;border-right:1px solid #2b3748;background:#111923;color:#8593a7;font-size:12.5px;font-weight:800}.loot-tabs button:last-child{border-right:0}.loot-tabs button.active{background:#1a2636;color:#f0f4fb;box-shadow:inset 0 -2px #c6963b}.loot-tabs small{display:inline-block;margin-left:4px;color:#d0a654}
.loot-list{overflow:auto;padding:6px}.loot-row{min-height:46px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:8px;align-items:center;padding:5px 7px;border-bottom:1px solid #202a39;background:#0e151f;cursor:pointer}.loot-row:hover{background:#151f2c}.loot-row img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated;border:1px solid #34445b;background:#080d14}.loot-row b{display:block;font-size:12.5px;color:#e2e9f3}.loot-row span{display:block;margin-top:2px;font-size:10px;color:#7788a1}.loot-row button{height:27px;min-width:82px;border:1px solid #4b5f78;background:#182334;color:#c9d5e6;font-size:10px}.loot-row.accepted button{border-color:#497149;color:#bfe6b6}.loot-row.skipped button{border-color:#76514d;color:#e0aaa4}
.loot-footer{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px;border-top:1px solid #2c3849;background:#101722}.loot-footer span{font-size:10px;color:#7e8da4}.loot-footer button{height:29px;border:1px solid #495b73;background:#182231;color:#d6dfec;font-size:10px}.loot-footer button.primary{border-color:#776235;background:#302817;color:#f0cc75}
.loot-empty{display:grid;place-items:center;height:100%;color:#68788f;font-size:12.5px}

@media(max-width:800px){.character-identity-setup{grid-template-columns:1fr 1fr}.saved-characters-wrap{grid-column:1/-1}.character-new-btn{position:absolute;right:12px;top:58px}.character-select-body{grid-template-columns:150px 1fr}}
.future-form-skill{opacity:.62}.future-form-skill .skill-level{color:#9ca7b8}.empty-saved-character{display:flex;align-items:center;height:31px;color:#62728a;font-size:10px;padding:0 8px;border:1px dashed #2d3d51;white-space:nowrap}

/* R7.9.5 — Detalhes de hunt / DROP / Depot (camada histórica; roster substituído na R7.10) */
.character-slot-count{font-size:11.25px;color:#7d8ba2;text-align:right;padding:0 4px 4px}.character-new-btn:disabled{opacity:.45;cursor:not-allowed}.hunt-details-layout{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(320px,1.2fr);gap:12px}.hunt-loot-config{border:1px solid #33445b;background:#0b121c;padding:8px;max-height:410px;overflow:auto}.hunt-loot-config-title{display:flex;flex-direction:column;gap:2px;margin-bottom:6px;color:#dfe9f7}.hunt-loot-config-title span{font-size:11.25px;color:#7e8ea6}.hunt-loot-toggle{display:grid;grid-template-columns:18px 36px 1fr;align-items:center;gap:7px;padding:5px;border-bottom:1px solid #1d2a39;cursor:pointer}.hunt-loot-toggle:hover{background:#121d2b}.hunt-loot-toggle img{width:32px;height:32px;object-fit:contain;image-rendering:pixelated}.hunt-loot-toggle span{display:flex;justify-content:space-between;align-items:center;gap:8px}.hunt-loot-toggle small{font-size:10px;color:#8da2bc}.hunt-loot-toggle.skipped{opacity:.62}.drop-tracker{min-width:460px}.drop-tracker-head{display:flex;flex-direction:column;border-bottom:1px solid #33445b;padding:6px 4px 9px;margin-bottom:3px}.drop-tracker-head span{font-size:11.25px;color:#7789a3}.drop-tracker-row{display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:center;padding:7px;border-bottom:1px solid #243248;background:#0d1520}.drop-tracker-row img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated}.drop-tracker-row span b{display:block}.drop-tracker-row small{color:#8495ad}.drop-tracker-row strong{font-size:17.5px;color:#e6c56c}.depot-mode .info-window{width:min(920px,94vw);height:min(650px,88vh)}.depot-view{height:100%;display:grid;grid-template-columns:minmax(280px,.8fr) minmax(360px,1.2fr);gap:10px}.depot-pane,.depot-chest{border:1px solid #33445b;background:#0b121c;min-height:0;display:flex;flex-direction:column}.depot-pane h3{margin:0;padding:10px;border-bottom:1px solid #33445b;color:#9bc0ff}.depot-chest-title{display:flex;gap:10px;align-items:center;padding:10px;border-bottom:1px solid #5e4c27;background:linear-gradient(#211d17,#121319)}.depot-chest-title b{display:block;color:#e2c178}.depot-chest-title small{display:block;color:#8e856d;font-size:11.25px}.depot-chest-icon{font-size:52.5px;color:#d2a34b;text-shadow:0 2px #000}.depot-chest-icon.small{font-size:37.5px}.depot-items{padding:7px;overflow:auto;display:grid;grid-template-columns:1fr;gap:4px}.depot-storage{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}.depot-item{display:grid;grid-template-columns:38px 1fr;gap:7px;align-items:center;text-align:left;border:1px solid #2d4058;background:#0e1825;padding:5px;cursor:pointer}.depot-item:hover{border-color:#7b6736;background:#162131}.depot-item img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated}.depot-item b{display:block;font-size:12.5px}.depot-item small{font-size:10px;color:#8495ad}.depot-empty-chest{grid-column:1/-1;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#7e8794}.depot-empty-chest span{font-size:11.25px;margin-top:4px}@media(max-width:760px){.hunt-details-layout,.depot-view{grid-template-columns:1fr}.depot-storage{grid-template-columns:1fr}}


/* R7.9.6 — mochila real, Depot em slots e loja comprar/vender */
#infoModal.depot-mode{place-items:center!important}
#infoModal.depot-mode .modal.compact{width:min(880px,96vw)!important;height:min(650px,92vh)!important;max-height:none!important;overflow:hidden!important}
#infoModal.depot-mode .modal-body{height:calc(100% - 38px)!important;max-height:none!important;padding:10px!important;overflow:hidden!important}
#infoModal.depot-mode .modal-body>.modal-actions{display:none!important}
#infoModal.depot-mode #infoContent{height:100%;min-height:0;overflow:hidden}
.depot-view{width:100%!important;height:100%!important;min-width:0!important;grid-template-columns:1fr 1fr!important;gap:12px!important;overflow:hidden!important}
.depot-pane,.depot-chest{min-width:0!important;overflow:hidden!important}
.depot-panel-head{height:42px;flex:0 0 42px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #35455c;background:#111b29;color:#9fc2ff;font-size:15px}.depot-panel-head.chest{color:#e1be69;background:#1b1812;border-color:#66522c}.depot-panel-head span{font-size:11.25px;color:#8191a9}
.depot-slot-grid{padding:10px;display:grid;grid-template-columns:repeat(5,52px);grid-auto-rows:52px;gap:6px;align-content:start;justify-content:center;overflow-y:auto;overflow-x:hidden;min-height:0;flex:1}.depot-slot{position:relative;width:52px;height:52px;border:1px solid #33445a;background:#09111b;box-shadow:inset 0 0 0 1px #05090e;display:grid;place-items:center;padding:0}.depot-slot.filled{cursor:pointer;background:#101c2a}.depot-slot.filled:hover{border-color:#9d793b}.depot-slot img{width:43px;height:43px;object-fit:contain;image-rendering:pixelated}.depot-slot span{position:absolute;right:2px;bottom:1px;padding:0 2px;background:#080b10dd;color:#fff;font:bold 9px Arial}.depot-help{flex:0 0 auto;padding:7px 10px;color:#7789a5;border-top:1px solid #28364a;font-size:11.25px;text-align:center}
.backpack-only{height:100%!important}.backpack-only .backpack-scroll{height:calc(100% - 34px)!important}.storage-pane>.bag-section{display:none!important}
.npc-trade-tabs{height:38px;padding:5px 8px;display:grid;grid-template-columns:1fr 1fr;gap:6px;border-bottom:1px solid #344055;background:#0c1119}.npc-trade-tabs button{border:1px solid #47556c;background:#161e2a;color:#9eacc2;font-size:11.25px;font-weight:700}.npc-trade-tabs button.active{border-color:#b48a42;color:#f1d899;background:#2b2418}.npc-shop-center .npc-shop-head{height:50px}.npc-sell-grid-full{padding:10px;display:grid;grid-template-columns:repeat(5,minmax(66px,1fr));gap:7px;align-content:start;overflow:auto;flex:1;max-height:none!important}.npc-sell-grid-full[hidden]{display:none!important}.npc-sell-card-full{position:relative;min-height:92px;border:1px solid #3a465d;background:#171d2a;color:#c7d2e6;display:grid;grid-template-rows:52px auto auto;place-items:center;padding:5px;cursor:pointer}.npc-sell-card-full:hover,.npc-sell-card-full.active{border-color:#d3a84d}.npc-sell-card-full img{width:48px;height:48px;object-fit:contain;image-rendering:pixelated}.npc-sell-card-full b{font-size:11.25px;text-align:center}.npc-sell-card-full span{font-size:10px;color:#e2b650}.npc-sell-card-full i{position:absolute;right:3px;top:3px;padding:1px 4px;border:1px solid #52617a;background:#202b3e;color:#d8e4f4;font-size:10px;font-style:normal}.npc-sell-empty{margin:auto;color:#76859d;font-size:12.5px}
@media(max-width:760px){#infoModal.depot-mode .modal.compact{width:98vw!important;height:94vh!important}.depot-view{grid-template-columns:1fr!important}.depot-slot-grid{grid-template-columns:repeat(5,48px);grid-auto-rows:48px}.depot-slot{width:48px;height:48px}.depot-slot img{width:39px;height:39px}}


/* R7.9.7 — inventory repair + Huntera-like Extra Loot */
#infoModal.inventory-mode .modal.compact{width:min(570px,96vw)!important;height:min(575px,92vh)!important}
#infoModal.inventory-mode .storage-pane{grid-template-rows:minmax(0,1fr)!important;display:grid!important}
#infoModal.inventory-mode .backpack-section.backpack-only{grid-row:1!important;height:auto!important;min-height:0!important;display:flex!important}
#infoModal.inventory-mode .backpack-scroll{height:auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important}
#infoModal.inventory-mode .backpack-scroll .bag-grid{width:100%!important;grid-template-columns:repeat(5,44px)!important;justify-content:center!important;align-content:start!important}
#infoModal.inventory-mode .storage-title{flex:0 0 28px!important}

.extra-loot{position:absolute;right:8px;top:62px;width:218px;z-index:18;display:flex;align-items:stretch;filter:drop-shadow(0 7px 14px #000b);transition:transform .16s ease}
.extra-loot[hidden]{display:none!important}
.extra-loot-toggle{width:32px;min-width:32px;border:1px solid #556986;border-right:0;background:linear-gradient(#1a2940,#0e1624);color:#9ec4ff;padding:5px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer}
.extra-loot-toggle span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:11.25px;font-weight:800;letter-spacing:.6px}
.extra-loot-toggle b{font-size:10px;color:#e7c875;writing-mode:vertical-rl;transform:rotate(180deg)}
.extra-loot-toggle i{font-style:normal;font-size:20px;line-height:1}
.extra-loot-body{width:186px;border:1px solid #556986;background:#0b121d;overflow:hidden}
.extra-loot-head{padding:7px 8px;border-bottom:1px solid #33445b;background:linear-gradient(#17243a,#101825)}
.extra-loot-head b{display:block;color:#a9caff;font-size:13.75px}.extra-loot-head small{display:block;color:#788ca8;font-size:10px;margin-top:2px}
.extra-loot-grid{padding:7px;display:grid;grid-template-columns:repeat(3,50px);grid-auto-rows:50px;gap:5px;max-height:225px;overflow-y:auto}
.extra-loot-slot{position:relative;width:50px;height:50px;border:1px solid #40526e;background:linear-gradient(145deg,#101a27,#070c13);display:grid;place-items:center;padding:0;cursor:pointer}
.extra-loot-slot:hover{border-color:#d6a94d;background:#172337}.extra-loot-slot img{width:42px;height:42px;object-fit:contain;image-rendering:pixelated}.extra-loot-slot span{position:absolute;right:2px;bottom:1px;font:bold 9px Arial;color:#fff;text-shadow:1px 1px #000}
.extra-loot-empty{grid-column:1/-1;padding:28px 4px;text-align:center;color:#6f819b;font-size:11.25px}
.extra-loot-help{border-top:1px solid #2e3c52;padding:6px 7px;color:#7789a4;font-size:10px;line-height:1.35}
.extra-loot.collapsed{transform:translateX(186px)}.extra-loot.collapsed .extra-loot-toggle{border-right:1px solid #556986}.extra-loot:not(.collapsed) .extra-loot-toggle i{transform:rotate(180deg)}
.extra-loot.has-loot .extra-loot-toggle{border-color:#b88a38;color:#ffe09a;box-shadow:0 0 0 1px #7d5a24 inset}
@media(max-width:900px){.extra-loot{top:54px;right:4px}}

/* R7.10 — conta com roster persistente e exatamente 1 personagem ativo */
.character-select-window.roster-window{width:min(1040px,96vw);height:min(720px,95vh)}
.account-roster-summary{grid-template-columns:minmax(180px,1fr) repeat(3,minmax(130px,.72fr)) auto!important;align-items:stretch!important}
.account-summary-cell{min-width:0;border:1px solid #2d4059;background:#0a1320;padding:7px 9px;display:flex;flex-direction:column;justify-content:center;gap:2px}
.account-summary-cell span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#7389a8}.account-summary-cell b{font-size:13.75px;color:#e4edf9;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-summary-cell.active b{color:#e7c360}.account-summary-cell.account b{color:#9bc1ff}
.account-roster-action{height:100%;min-height:42px!important;align-self:stretch!important;padding:0 12px!important;white-space:nowrap}
.character-roster{gap:6px}.character-roster-section{padding:6px 5px 3px;color:#637a99;font-size:10px;font-weight:900;letter-spacing:.12em}
.character-roster-card{position:relative;grid-template-columns:48px minmax(0,1fr) auto!important;min-height:62px}
.character-roster-card .roster-copy{min-width:0}.character-roster-card .roster-state{align-self:center;border:1px solid #3b506b;background:#0b1421;color:#8398b6;padding:4px 6px;font-size:8.75px;font-weight:900;letter-spacing:.06em;white-space:nowrap}
.character-roster-card.current{border-color:#d2aa48;background:#1b2a3d;box-shadow:inset 3px 0 #e4bc58}.character-roster-card.current .roster-state{border-color:#79612b;color:#f0cb6c;background:#28210f}
.character-roster-card.owned:not(.current) .roster-state{border-color:#416b51;color:#a8dfb6;background:#102019}.character-roster-card.locked{opacity:.62;border-style:dashed}.character-roster-card.locked img{filter:grayscale(1) brightness(.55)}.character-roster-card.locked .roster-state{color:#7d8794}
.roster-character-detail{display:grid;gap:10px}.roster-character-top{display:grid;grid-template-columns:112px minmax(0,1fr) 190px;gap:13px;align-items:start;padding-bottom:11px;border-bottom:1px solid #2a3c53}.roster-character-top .character-hero-portrait{width:108px;height:108px}
.roster-character-meta h1{margin:0;color:#edf3fc;font-size:31.25px}.roster-character-meta .char-player-name{margin-top:2px;color:#e5c05d;font-size:13.75px;font-weight:800}.roster-character-meta .char-role{margin-top:3px;color:#79adE8;font-size:12.5px}.roster-character-meta p{margin:8px 0;color:#95a8c1;font-size:12.5px;line-height:1.45}.roster-level-box{border:1px solid #30455f;background:#0b1624;padding:9px}.roster-level-box div{display:flex;justify-content:space-between;gap:10px;padding:4px 0;border-bottom:1px solid #1e2e42;color:#8599b7;font-size:11.25px}.roster-level-box div:last-child{border-bottom:0}.roster-level-box b{color:#e7edf8}.roster-level-box .active-value{color:#e9c55f}.roster-level-box .catchup-value{color:#8fd2a0}
.roster-progress-note{border:1px solid #31465f;background:#0c1623;padding:9px;color:#8fa2bd;font-size:11.25px;line-height:1.5}.roster-progress-note b{color:#d8e4f4}.roster-progress-note strong{color:#9ed1a8}
.character-create-fields{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(210px,1fr);gap:8px;grid-column:1/5}.character-create-fields label{display:grid;gap:4px}.character-create-fields label span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#8da3c2}.character-create-fields input{height:31px;border:1px solid #3b526e;background:#07101b;color:#e5edf8;padding:0 9px;outline:none;font:11px Arial}.character-create-fields input:focus{border-color:#d2a843;box-shadow:0 0 0 1px #5f4b21}.account-name-readonly{background:#0b1522!important;color:#91a6c3!important}
.character-confirm .roster-footer-spacer{margin-right:auto}.character-confirm .active-character-badge{border:1px solid #77612d;background:#28210f;color:#f0cb6c;padding:7px 12px;font-size:11.25px;font-weight:900}.character-confirm .locked-character-badge{color:#7d8ca0;font-size:11.25px}
@media(max-width:800px){.account-roster-summary{grid-template-columns:1fr 1fr!important}.account-roster-action{min-height:34px!important}.roster-character-top{grid-template-columns:80px 1fr}.roster-character-top .character-hero-portrait{width:76px;height:76px}.roster-level-box{grid-column:1/-1}.character-create-fields{grid-column:1/-1;grid-template-columns:1fr}.character-roster-card{grid-template-columns:38px minmax(0,1fr)!important}.character-roster-card .roster-state{grid-column:2;justify-self:start}.character-roster-card img{width:36px;height:36px}}

/* R7.10.1 — roster 1 ativo, nome compartilhado */
.account-roster-summary{grid-template-columns:repeat(4,minmax(135px,1fr))!important}.account-summary-cell small{display:block;margin-top:3px;color:#738aa8;font-size:10px;font-weight:700}.character-create-fields.shared-name-only{grid-column:1/4;grid-template-columns:minmax(280px,520px)}.character-roster-card .roster-copy b{font-size:15px;letter-spacing:.02em}.character-roster-card .roster-copy span{color:#c4cfdf;font-size:12.5px}.character-roster-card .roster-copy small{color:#79a8d8;font-size:10px;font-weight:800}.character-roster-section.locked-header{text-align:center;margin-top:8px;border-top:1px solid #263950;padding-top:10px;color:#788aa4}.roster-catchup{border:1px solid #31465f;background:#0b1624;padding:10px 12px}.roster-catchup h3{margin:0 0 8px;color:#e6c260;font-size:12.5px;letter-spacing:.08em}.roster-catchup>div:not(.catchup-none){display:flex;justify-content:space-between;gap:15px;padding:5px 0;border-bottom:1px solid #1d2d40;font-size:11.25px}.roster-catchup>div:last-child{border-bottom:0}.roster-catchup b{color:#9cdea9}.roster-catchup span{color:#9cacc2}.catchup-none{color:#7f91a8;font-size:11.25px}.individual-progress-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px 14px;margin-top:7px;color:#b9c7d9}.individual-progress-grid span{display:block}@media(max-width:800px){.account-roster-summary{grid-template-columns:1fr 1fr!important}.character-create-fields.shared-name-only{grid-column:1/-1}}

/* R7.10.2 — suprimentos automáticos no estilo Huntera */
.action-list-item.locked{opacity:.48;filter:saturate(.55)}
.action-list-item.locked strong::after{content:'  BLOQUEADO';font-size:8.75px;color:#d99b83;font-weight:700}
.action-list-item span{line-height:1.35}

/* R7.10.3 — skill learning + combat training */
.skill-learn-backdrop{position:fixed;inset:0;z-index:120;display:none;align-items:center;justify-content:center;background:#02060db8;padding:20px}
.skill-learn-backdrop.show{display:flex}
.skill-learn-window{width:min(570px,94vw);border:1px solid #5b7090;background:linear-gradient(180deg,#1c2940 0,#111b2a 72px,#0b1320 100%);box-shadow:0 22px 70px #000c,inset 0 0 0 1px #111;overflow:hidden}
.skill-learn-kicker{padding:11px 15px;border-bottom:1px solid #3e526f;color:#e3bd5b;font-size:13.75px;font-weight:900;letter-spacing:.16em;text-align:center}
.skill-learn-main{display:grid;grid-template-columns:92px 1fr;gap:16px;padding:18px}
.skill-learn-icon{width:88px;height:88px;display:flex;align-items:center;justify-content:center;border:1px solid #526b8e;background:#07111d;box-shadow:inset 0 0 20px #0008}
.skill-learn-icon img{max-width:72px;max-height:72px;image-rendering:pixelated;object-fit:contain}
.skill-learn-copy h2{margin:1px 0 5px;color:#f0f5ff;font-size:27.5px}.skill-learn-meta{color:#82b7f2;font-size:12.5px;font-weight:800}.skill-learn-copy p{margin:12px 0 0;color:#aebdd2;font-size:15px;line-height:1.55}
.skill-learn-hint{margin:0 18px 14px;padding:8px 10px;border:1px solid #263a55;background:#0b1625;color:#788da9;font-size:11.25px}
.skill-learn-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 15px;border-top:1px solid #33465f;background:#0b121d}
.skill-learn-actions button{min-width:145px;height:34px}.skill-learn-actions button:disabled{opacity:.42;cursor:not-allowed}
.training-panel{display:grid;gap:11px;min-width:min(720px,84vw)}.training-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #344961;padding-bottom:9px}.training-head h2{margin:0;color:#e8eef9;font-size:22.5px}.training-head p{margin:3px 0 0;color:#7891b0;font-size:11.25px}.training-head>span{border:1px solid #3b5a4a;background:#0d2118;color:#8fd1a5;padding:5px 8px;font-size:10px;font-weight:900;letter-spacing:.08em}.training-explain{border:1px solid #2d4059;background:#0b1522;color:#90a3be;padding:9px;font-size:11.25px;line-height:1.5}.training-list{display:grid;gap:6px}.training-stat-row{display:grid;grid-template-columns:34px minmax(160px,1fr) 55px minmax(150px,1fr) 38px;gap:8px;align-items:center;border:1px solid #32465f;background:#0c1623;padding:7px 9px}.training-stat-icon{font-size:22.5px;text-align:center}.training-stat-copy b,.training-stat-copy small{display:block}.training-stat-copy b{color:#dce8f8;font-size:12.5px}.training-stat-copy small{color:#7186a3;font-size:10px;margin-top:2px}.training-stat-row strong{color:#9fc5f6;font-size:12.5px}.training-stat-progress{height:9px;background:#202d41;border:1px solid #101a28}.training-stat-progress i{display:block;height:100%;background:linear-gradient(90deg,#78b249,#b3d56b)}.training-stat-row em{font-style:normal;color:#8d9db4;font-size:11.25px;text-align:right}.training-footer{display:flex;gap:10px;border-top:1px solid #304158;padding-top:9px;font-size:11.25px}.training-footer b{color:#dfbd64}.training-footer span{color:#8093ad}.character-training-compact .training-stat-row{grid-template-columns:26px minmax(125px,1fr) 45px minmax(70px,.8fr) 34px;padding:5px 6px}.character-training-compact .training-stat-copy small{display:none}.character-training-compact .training-stat-icon{font-size:17.5px}
@media(max-width:700px){.skill-learn-main{grid-template-columns:70px 1fr}.skill-learn-icon{width:66px;height:66px}.training-panel{min-width:0}.training-stat-row,.character-training-compact .training-stat-row{grid-template-columns:28px 1fr 48px}.training-stat-progress{grid-column:2/4}.training-stat-row em{display:none}}


/* R7.10.4 — treino de skills por Varinhas com cargas */
.skill-wand-panel{min-width:min(860px,88vw)}
.training-wand-stock{display:grid;gap:2px;justify-items:end;border:1px solid #675431;background:linear-gradient(180deg,#211d12,#121714);padding:7px 11px;min-width:150px}
.training-wand-stock span{color:#d8b968;font-size:10px;font-weight:900;letter-spacing:.08em}.training-wand-stock b{color:#f0dda0;font-size:16.25px}
.training-skill-list{display:grid;gap:6px;max-height:58vh;overflow:auto;padding-right:4px}
.skill-wand-row{display:grid;grid-template-columns:44px minmax(220px,1fr) 58px auto;gap:9px;align-items:center;border:1px solid #344a64;background:#0b1522;padding:7px}
.skill-wand-row>img{width:40px;height:40px;object-fit:contain;image-rendering:pixelated;border:1px solid #334963;background:#07101b;padding:2px}
.skill-wand-copy{display:grid;gap:2px;min-width:0}.skill-wand-copy b{color:#e6eefb;font-size:12.5px}.skill-wand-copy small{color:#7f94ae;font-size:10px}.skill-wand-copy em{font-style:normal;color:#8497af;font-size:10px}
.skill-wand-progress{height:8px;background:#202c40;border:1px solid #111b28;margin-top:3px}.skill-wand-progress i{display:block;height:100%;background:linear-gradient(90deg,#77ad4b,#c3d66e)}
.skill-wand-row>strong{color:#a9caf7;font-size:13.75px;text-align:center}.skill-wand-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.skill-wand-actions button{padding:5px 8px;font-size:10px}
.training-summary-card{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.training-summary-card>div{border:1px solid #34475e;background:#0c1623;padding:8px;display:grid;gap:3px}.training-summary-card span{font-size:10px;color:#7f91aa}.training-summary-card b{font-size:16.25px;color:#d7e4f6}.training-summary-card>button{grid-column:1/-1;justify-self:start}
@media(max-width:760px){.skill-wand-row{grid-template-columns:42px 1fr 50px}.skill-wand-actions{grid-column:2/4;justify-content:flex-start}.training-summary-card{grid-template-columns:1fr 1fr}.training-wand-stock{justify-items:start}.training-head{align-items:flex-start;gap:8px;flex-direction:column}}

/* R7.10.5 */
.skill-train-icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid #334963;background:#07101b;color:#dce8f8;font-size:25px}.combat-skill-test-grid{margin:8px 0 12px}.character-training-compact .training-stat-row{margin-bottom:4px}


/* ===== R7.10.9 — Skills visíveis + varinhas por disciplina + dummy ===== */
.training-wand-v2{display:grid;gap:7px;max-height:58vh;overflow:auto;padding-right:4px}
.training-wand-v2 .wand-row{display:grid;grid-template-columns:48px minmax(230px,1fr) 105px 118px;gap:9px;align-items:center;border:1px solid #344a64;background:#0b1522;padding:8px}
.training-wand-v2 .wand-row.disabled{opacity:.52}
.training-wand-v2 .wand-row>img{width:44px;height:44px;image-rendering:pixelated;object-fit:contain;border:1px solid #3b4f68;background:#07101b;padding:2px}
.training-wand-v2 .wand-copy{display:grid;gap:2px}.training-wand-v2 .wand-copy b{font-size:13.75px;color:#e7eef9}.training-wand-v2 .wand-copy small{font-size:10px;color:#8295ae}.training-wand-v2 .wand-copy em{font-size:10px;color:#9aaeC7;font-style:normal}
.training-wand-v2 .wand-charge{display:grid;justify-items:end}.training-wand-v2 .wand-charge span{font-size:10px;color:#778aa5}.training-wand-v2 .wand-charge b{font-size:18.75px;color:#e7c76d}
.training-wand-v2 .wand-row button{height:34px;font-size:11.25px}.training-wand-v2 .wand-row button:disabled{cursor:not-allowed;filter:grayscale(1)}
.training-dummy-note{border:1px solid #675431;background:#17170f;color:#b9c7d9;padding:9px 10px;font-size:11.25px;line-height:1.5}.training-dummy-note b{color:#e6c363}
.training-exp-death{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:9px 0}.training-exp-death>div{border:1px solid #34475e;background:#0c1623;padding:8px}.training-exp-death span,.training-exp-death small{display:block;color:#8194ae;font-size:10px}.training-exp-death b{display:block;color:#e7eef9;font-size:16.25px;margin:2px 0}.training-exp-death .xp b{color:#a8dc79}.training-exp-death .death b{color:#f0a0a8}
#trainingHud{position:absolute;left:50%;top:52px;transform:translateX(-50%);z-index:35;display:none;align-items:center;gap:10px;border:1px solid #8a6b31;background:linear-gradient(180deg,#252116,#11151a);box-shadow:0 5px 18px #0009;padding:7px 9px;color:#dce8f8;font-size:11.25px;min-width:310px}
#trainingHud.show{display:flex}#trainingHud img{width:30px;height:30px;image-rendering:pixelated}#trainingHud .training-hud-copy{display:grid;gap:1px;flex:1}#trainingHud .training-hud-copy b{font-size:12.5px;color:#f0d77e}#trainingHud .training-hud-copy span{font-size:10px;color:#9aabc1}#trainingHud button{padding:5px 8px;font-size:10px}
.roster-skill-preview{border:1px solid #30455f;background:#0b1624;padding:10px;margin-top:9px}.roster-skill-preview h3{margin:0 0 7px;color:#e6c260;font-size:12.5px;letter-spacing:.08em}
@media(max-width:760px){.training-wand-v2 .wand-row{grid-template-columns:44px 1fr}.training-wand-v2 .wand-charge{grid-column:2;justify-items:start}.training-wand-v2 .wand-row button{grid-column:2}#trainingHud{min-width:min(310px,90vw)}}


/* R7.10.10 */
.xp-bonus-breakdown{margin-top:12px;padding-top:4px;border-top:1px solid #33435c}.xp-bonus-breakdown h4{margin:7px 0 3px;color:#8db6ff}.death-penalty-inline{margin-top:10px;padding:8px 10px;border:1px solid #5c3941;background:#1a1118}.death-penalty-inline span,.death-penalty-inline small{display:block;color:#9aaac0;font-size:11.25px}.death-penalty-inline b{display:block;color:#f0a0a8;font-size:18.75px;margin:2px 0}.character-training-compact .training-stat-row{grid-template-columns:24px minmax(130px,1.4fr) 58px minmax(90px,1fr) 38px}.character-training-compact .training-stat-copy small{display:none}

/* R7.10.12 — Varinhas diretamente na mochila */
.bag-slot.training-wand-slot{cursor:pointer;border-color:#8a6b31;box-shadow:inset 0 0 0 1px #3b2d14;background:linear-gradient(180deg,#19180f,#0a111a)}
.bag-slot.training-wand-slot:hover{border-color:#d2a948;box-shadow:inset 0 0 0 1px #70541c,0 0 8px #0008}
.bag-slot.training-wand-slot span{color:#f3d978;font-weight:900}


/* R7.10.13 — ficha em tempo real + ajuda da Arena */
.arena-top-btn span{font-size:27.5px!important;color:#d7b66a!important;text-shadow:0 1px 2px #000}
.arena-head-actions{display:flex;align-items:center;gap:7px}
.arena-help-btn{width:28px;height:28px;border:1px solid #8d7645;background:linear-gradient(#2d2b28,#151820);color:#f0d287;font-weight:800;cursor:pointer;box-shadow:inset 0 0 0 1px #111}
.arena-help-btn:hover,.arena-help-btn.active{border-color:#d6a84d;color:#fff1bd;background:#302712}
.arena-help-panel{border:1px solid #46546b;background:#101724;margin-bottom:12px;padding:12px 14px}
.arena-help-panel h3{margin:0 0 9px;color:#cbd8ee;font-size:15px}
.arena-help-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.arena-help-grid ul{margin:0;padding-left:18px;color:#aebbd2;font-size:13.75px;line-height:1.5}
.arena-help-grid li{margin:0 0 5px}
.arena-placeholder-card{min-height:210px;border:1px solid #34425a;background:#0d1420;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:#8fa3c4;padding:30px}
.arena-placeholder-card>b{font-size:27.5px;color:#d8e3f6;letter-spacing:1px}.arena-placeholder-card>span{font-size:16.25px;color:#d4b970}.arena-placeholder-card>small{max-width:520px;line-height:1.5}
@media(max-width:760px){.arena-help-grid{grid-template-columns:1fr}}


/* R7.10.15 — os modais comuns ficam abaixo da topbar, como no cliente de referência.
   Assim a barra superior continua clicável; overlays realmente bloqueantes continuam acima. */
.hunter-topbar{z-index:100!important;pointer-events:auto!important}
#huntModal.modal-backdrop,#shopModal.modal-backdrop,#infoModal.modal-backdrop,#actionModal.modal-backdrop,#testModal.modal-backdrop,#logModal.modal-backdrop,#arenaModal.modal-backdrop{z-index:70!important}
#deathModal.modal-backdrop{z-index:130!important}
.skill-learn-backdrop{z-index:140!important}
.character-select-backdrop{z-index:150000!important}

/* R7.10.15 — preview das hunts: um único monstro em quadrado uniforme. */
.hunt-selector .hunt-choice{grid-template-columns:58px minmax(0,1fr)!important;min-height:70px!important;align-items:center!important}
.hunt-selector .hunt-choice>img{width:56px!important;height:56px!important;object-fit:contain!important;object-position:center!important;image-rendering:pixelated!important;background:#090f18!important;border:1px solid #34445d!important;padding:3px!important}
.hunt-card{grid-template-columns:112px minmax(0,1fr) 230px!important;align-items:start!important}
.hunt-card .hunt-art{width:104px!important;height:104px!important;min-height:104px!important;aspect-ratio:1/1!important;align-self:start!important;overflow:hidden!important;background:#090f18!important;border:1px solid #3a4864!important}
.hunt-card .hunt-art>img{width:92px!important;height:92px!important;object-fit:contain!important;object-position:center!important;image-rendering:pixelated!important}
@media(max-width:1100px){.hunt-card{grid-template-columns:96px minmax(0,1fr) 190px!important}.hunt-card .hunt-art{width:90px!important;height:90px!important;min-height:90px!important}.hunt-card .hunt-art>img{width:80px!important;height:80px!important}}


/* R7.10.15 — rearranjo limpo, sem duplicar funções */
.redundant-top-action{display:none!important}
.hunter-topbar{display:flex!important;align-items:center!important;gap:6px!important;padding-left:10px!important;padding-right:10px!important}
.hunter-brand{flex:0 0 auto}.profile-card{flex:0 0 auto}.currency-pill{flex:0 0 auto}.store-btn{flex:0 0 auto}.server-strip{flex:1 1 auto;min-width:90px!important}.top-icons{flex:0 0 auto;margin-left:auto!important;gap:4px!important}.top-gear{flex:0 0 auto}
#invBtn{order:1}#huntsBtn{order:2}#arenaBtn{order:3}#bestiaryBtn{order:4}#guildBtn{order:5}
.hunter-quick{justify-content:center!important;gap:4px!important}.hunter-quick button{min-width:112px!important;flex:0 1 132px!important;padding:0 8px!important}
.hunter-footer{width:860px!important}.hunter-centerbar{grid-template-columns:minmax(0,1fr) 182px!important}.hunter-centerbar .hotbar{padding-left:8px!important;padding-right:8px!important}
@media(max-width:1300px){.hunter-footer{width:780px!important}.hunter-quick button{min-width:96px!important;flex-basis:112px!important}}

/* Blessings */
.blessing-panel{display:grid;gap:8px;min-width:min(620px,82vw)}
.blessing-intro{border-bottom:1px solid #3d4658;padding:0 3px 10px;color:#aebbd1;font-size:13.75px;line-height:1.55}.blessing-intro b{color:#e5d7ae}
.blessing-status{display:grid;gap:4px;border:1px solid #47516a;background:#131927;padding:11px 13px}.blessing-status>b{font-size:16.25px;color:#e5eafa}.blessing-status>span{font-size:12.5px;color:#8d9db8}.blessing-status>strong{font-size:13.75px;color:#77a7ff}
.blessing-row{display:grid;grid-template-columns:48px minmax(0,1fr) 118px;gap:10px;align-items:center;border:1px solid #39465d;background:#111725;padding:7px 9px}.blessing-row.owned{border-color:#385a48;background:#101b18}.blessing-sigil{width:42px;height:42px;display:grid;place-items:center;border:1px solid #7b6637;background:radial-gradient(circle,#4f4324,#161812);color:#f2d77b;font:700 17px Georgia,serif}.blessing-copy{display:grid;gap:2px}.blessing-copy b{color:#dce6f7;font-size:15px}.blessing-copy small{color:#7789a7;font-size:11.25px}.blessing-row>strong{color:#75d48d;font-size:12.5px;text-align:right}.blessing-row>button,.blessing-footer>button{height:32px;border:1px solid #8d6a2c;background:linear-gradient(#3c2c13,#1c150b);color:#f0d08a;font-weight:800;cursor:pointer}.blessing-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #39465d;padding-top:9px}.blessing-footer>b{color:#f0c969}.blessing-footer>span{color:#76d191;font-size:12.5px}

/* Morte final */
#deathModal .death-modal{width:min(620px,92vw)!important;background:linear-gradient(#17151c,#10131a)!important;border-color:#596176!important}
#deathModal .modal-head{display:none!important}.death-result-panel{display:grid;gap:14px;padding:7px 6px 2px;text-align:center}.death-result-title{font:700 28px Georgia,serif;letter-spacing:4px;color:#f07f99;text-shadow:0 2px #16080d}.death-result-sub{font-size:17.5px;color:#bac9e1;padding-bottom:12px;border-bottom:1px solid #51313b}.death-result-loss{font-size:16.25px;color:#b6c0d4;line-height:1.45;padding:4px 12px 10px;border-bottom:1px solid #51313b}.death-result-loss>b{color:#eff3fb}.death-result-loss>small{display:block;margin-top:5px;color:#7e8fa9}.death-item-lost{border:1px solid #743747;background:#28141a;color:#ff829c;padding:10px 12px}.death-item-safe{border:1px solid #355241;background:#111d18;color:#7fd196;padding:9px 12px}.death-bless-result{border:1px solid;padding:11px 12px;font-weight:700}.death-bless-result.protected{border-color:#715530;background:#211a11;color:#e0b35b}.death-bless-result.unprotected{border-color:#713644;background:#28151b;color:#ff7893}.death-revive-delay{font-size:12.5px;color:#8c9ab1}.death-revive-main{height:46px!important;font-size:17.5px!important;letter-spacing:1px!important}.death-revive-main:disabled{opacity:.45;cursor:not-allowed}


/* ========================================================================== */
/* R7.10.16 — HUNT UI FIEL À REFERÊNCIA + RESPONSIVIDADE GLOBAL               */
/* ========================================================================== */
:root{--ui-safe-top:62px;--ui-gap:10px}
.modal-backdrop{padding:var(--ui-gap)!important;align-items:center!important;justify-items:center!important}
.modal{max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - var(--ui-safe-top) - 14px)!important}
.modal-head{flex:0 0 auto}
.modal-body{scrollbar-width:thin}

/* O modal inteiro não rola: áreas de catálogo/lista são as únicas zonas que podem
   navegar conteúdo extenso. O que é necessário para entender/usar a janela fica
   sempre visível. */
#huntModal .modal,#arenaModal .modal,#shopModal .modal,#actionModal .modal,#infoModal .modal{overflow:hidden!important}
#huntModal .modal-body,#arenaModal .modal-body{overflow:hidden!important}

/* ----- Caçadas ----- */
#huntModal.modal-backdrop{place-items:center!important}
#huntModal .hunt-browser-modal{width:min(1180px,calc(100vw - 24px))!important;height:min(650px,calc(100dvh - 78px))!important;display:grid!important;grid-template-rows:38px minmax(0,1fr)!important;background:#141722!important;border:1px solid #5a6578!important;box-shadow:0 18px 70px #000c!important}
#huntModal .modal-head{height:38px!important;padding:6px 10px!important;font-size:15px!important;color:#7eabff!important;background:linear-gradient(#242a3d,#151a28)!important}
.hunt-browser-body{height:100%;min-height:0;display:grid;grid-template-rows:48px minmax(0,1fr) 48px;background:#141722;color:#b4c0d8}
.hunt-mode-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;padding:8px 10px;border-bottom:1px solid #333b4e;background:#10131b}
.hunt-mode-tabs button{height:32px;border:1px solid #665b42;background:linear-gradient(#262b36,#141823);box-shadow:inset 0 0 0 1px #17120b;color:#adb7cc;font-weight:800;font-size:13.75px;cursor:pointer}
.hunt-mode-tabs button:hover{border-color:#9c8149;color:#e0e7f5}.hunt-mode-tabs button.active{border-color:#2b8fe9;box-shadow:inset 0 0 0 1px #0c61a7;color:#eaf4ff;background:linear-gradient(#183c61,#152237)}
.hunt-browser-grid{min-height:0;display:grid;grid-template-columns:minmax(250px,31%) minmax(360px,1fr) minmax(230px,29%);border-bottom:1px solid #3b4356}
.hunt-browser-list-pane,.hunt-browser-detail-pane,.hunt-browser-loot-pane{min-width:0;min-height:0;padding:12px}
.hunt-browser-list-pane{display:grid;grid-template-rows:38px 20px minmax(0,1fr);border-right:1px solid #353d50;padding-right:10px}
.hunt-search{height:36px;display:grid;grid-template-columns:28px 1fr;align-items:center;border:1px solid #3d4862;background:#121522;border-radius:3px}.hunt-search>span{text-align:center;color:#5d77a1}.hunt-search input{height:100%;min-width:0;border:0;outline:0;background:transparent;color:#dce5f4;font-size:12.5px}.hunt-search input::placeholder{color:#68789a}
.hunt-count{display:flex;align-items:center;color:#6277a2;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.hunt-selector{display:grid!important;align-content:start!important;gap:5px!important;margin:0!important;padding:0 3px 0 0!important;background:transparent!important;border:0!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin}
.hunt-selector .hunt-choice{width:100%!important;min-width:0!important;min-height:64px!important;grid-template-columns:56px minmax(0,1fr)!important;gap:9px!important;padding:5px 7px!important;border:1px solid #39445d!important;background:#151823!important;color:#adb8cf!important}
.hunt-selector .hunt-choice:hover{background:#1a2030!important;border-color:#596d91!important}.hunt-selector .hunt-choice.active{border-color:#5b8ed9!important;background:#20283d!important;color:#e7eefb!important;box-shadow:none!important}
.hunt-selector .hunt-choice>img{width:52px!important;height:52px!important;padding:2px!important;border:1px solid #303d55!important;background:#0b0e16!important;object-fit:contain!important;image-rendering:pixelated!important}
.hunt-choice span{display:grid;gap:2px!important}.hunt-choice b{font-size:13.75px!important;color:#dbe4f5}.hunt-choice small{font-size:10px!important;color:#7082a1!important;line-height:1.25}
.hunt-browser-detail-pane{display:grid;grid-template-rows:auto 78px auto auto auto minmax(38px,auto) auto;align-content:start;border-right:1px solid #353d50;padding:13px 16px}
.hunt-browser-detail-pane>h2{margin:0 0 9px;color:#78a5f0;font-size:22.5px}.hunt-browser-detail-pane>h3,.hunt-browser-loot-pane>h3{margin:7px 0 7px;color:#c8d1e4;font-size:12.5px}
.hunt-record-card{height:74px;border:1px solid #3d4760;background:#151824;border-radius:4px;padding:9px;display:grid;align-content:start;gap:9px}.hunt-record-card>b{font-size:12.5px;color:#d2dbea}.hunt-record-card em{font-size:11.25px;color:#657695;line-height:1.35}.hunt-record-stats{display:flex;gap:20px;color:#a7b7d0;font-size:11.25px}.hunt-record-stats b{color:#dce7f9}
.hunt-pulls{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;margin:0 0 8px!important;max-width:420px}.hunt-pulls .pull{height:43px!important;padding:4px 7px!important;display:grid!important;place-items:center!important;align-content:center!important;gap:1px!important;background:linear-gradient(#252a32,#12151c)!important;border:1px solid #5a5140!important}.hunt-pulls .pull strong{font-size:11.25px}.hunt-pulls .pull small{font-size:8.75px;color:#8f9db4}.hunt-pulls .pull.active{border-color:#3d9df2!important;box-shadow:inset 0 0 0 1px #176eaf!important;background:#142b43!important}.hunt-pulls .pull[data-pull="10"]{grid-column:1/span 1}
.hunt-preview-line{display:flex;align-items:end;gap:9px;margin:0 0 5px}.hunt-art{width:62px!important;height:62px!important;min-height:62px!important;aspect-ratio:1!important;border:1px solid #35425a!important;background:#0b0e16!important;display:grid!important;grid-template-rows:1fr 13px!important;place-items:center!important;overflow:hidden!important}.hunt-art>img{width:48px!important;height:48px!important;object-fit:contain!important;image-rendering:pixelated!important}.hunt-art>span{width:100%;height:13px;display:grid;place-items:center;border-top:1px solid #303a50;color:#6d7b93;font-size:7.5px}.hunt-preview-meta{display:grid;gap:2px;padding-bottom:2px}.hunt-preview-meta b{font-size:11.25px;color:#9aa9c1}.hunt-preview-meta small{font-size:8.75px;color:#677995}
.hunt-description{margin:3px 0!important;max-width:460px;color:#9aa8c0!important;font-size:11.25px!important;line-height:1.45!important}
.hunt-composition{display:flex;gap:5px;flex-wrap:wrap;margin-top:5px}.hunt-composition>span{display:flex;align-items:center;gap:5px;border:1px solid #2e394e;background:#101521;padding:4px 6px;min-width:0}.hunt-composition b{font-size:10px;color:#d5ad5e}.hunt-composition em{font-size:8.75px;color:#73839c;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px}
.hunt-browser-loot-pane{display:flex;flex-direction:column;padding:14px 13px}.hunt-loot-possible{display:grid;align-content:start;gap:5px;min-height:0}.hunt-loot-entry{height:44px;display:grid;grid-template-columns:34px minmax(0,1fr) 24px;gap:8px;align-items:center;padding:4px 7px;border:1px solid #39445c;background:#151822;border-radius:3px}.hunt-loot-entry.always{grid-template-columns:34px minmax(0,1fr) 24px}.hunt-loot-entry img{width:28px;height:28px;object-fit:contain;image-rendering:pixelated}.hunt-loot-entry b{font-size:12.5px;color:#d9e1f0}.hunt-loot-entry small{display:block;color:#667694;font-size:8.75px;margin-top:1px}.hunt-loot-entry input{width:15px;height:15px;accent-color:#76a8ff}.hunt-loot-check{font-size:16.25px;color:#d8ae57;text-align:center}
.hunt-browser-footer{min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 10px;background:#11141d}.hunt-browser-footer .hunt-lock-notice{border:0!important;background:transparent!important;padding:0!important;margin:0!important;color:#7993c0!important;font-size:11.25px!important}.hunt-footer-actions{display:flex;gap:8px}.hunt-footer-actions button{height:32px!important;padding:0 12px!important;font-size:11.25px!important}.hunt-footer-actions .primary:disabled{opacity:.38;cursor:not-allowed}

/* ----- Responsividade de modais usuais: sem rolar a janela inteira ----- */
#infoModal.character-mode .modal.compact{width:min(940px,calc(100vw - 24px))!important;height:min(670px,calc(100dvh - 78px))!important}
#infoModal.character-mode .modal-body{overflow:hidden!important}
#infoModal.character-mode #infoContent{height:100%!important;min-height:0!important}
#infoModal.character-mode .character-sheet{height:100%;padding:7px 9px!important;font-size:12.5px!important;display:flex;flex-direction:column;gap:7px}
#infoModal.character-mode .character-tabs{height:31px!important;margin:0!important;gap:7px!important}.character-tabs button{font-size:12.5px!important}
#infoModal.character-mode .character-summary{grid-template-columns:115px minmax(300px,1fr) 250px!important;gap:10px!important;padding:8px!important}.character-portrait{height:108px!important}.character-portrait img{height:94px!important}.character-main h2{margin:2px 0!important;font-size:18.75px!important}.character-main>span{margin-bottom:5px!important}.char-bar-row{grid-template-columns:115px 1fr 100px!important;gap:6px!important;margin:4px 0!important}.char-bar-row>b{font-size:12.5px!important}.character-side-stats{gap:5px!important}.character-passive{padding:5px 7px!important;margin:5px 0 0!important}.character-passive p{font-size:10px!important;margin:2px 0!important}.character-columns{gap:8px!important;margin-top:0!important;min-height:0}.character-box{padding:8px!important;min-height:0!important}.character-box h3{font-size:12.5px!important;margin:0 0 6px!important;padding-bottom:5px!important}.character-box h4{font-size:10px!important;margin:6px 0!important}.character-training-compact .training-stat-row{height:24px!important;grid-template-columns:18px minmax(100px,1.3fr) 48px minmax(70px,1fr) 30px!important;gap:4px!important}.training-stat-copy b{font-size:10px!important}.character-box p{font-size:11.25px!important}.xp-bonus-breakdown{margin-top:5px!important}.char-bonus-row,.char-bonus-total{padding:2px 0!important;font-size:10px!important}.combat-details{margin-top:0!important;min-height:0!important}.combat-detail-grid{gap:5px!important}.combat-detail-grid>div{min-height:50px!important;padding:5px!important}.combat-detail-grid span{font-size:10px!important}.combat-detail-grid b{font-size:13.75px!important;margin:2px 0!important}.combat-detail-grid small{font-size:8.75px!important}

#infoModal.inventory-mode .modal.compact{height:min(560px,calc(100dvh - 78px))!important}
#infoModal.depot-mode .modal.compact{height:min(610px,calc(100dvh - 78px))!important}
#infoModal.loot-mode .modal.compact{height:min(570px,calc(100dvh - 78px))!important}
.store-modal{width:min(1050px,calc(100vw - 24px))!important;max-height:calc(100dvh - 78px)!important}.store-layout{min-height:0!important;height:min(430px,54vh)!important}.npc-shop-layout{height:min(455px,58vh)!important;min-height:0!important}
.arena-modal{width:min(1050px,calc(100vw - 24px))!important;max-height:calc(100dvh - 78px)!important}.arena-modal .modal-body{padding:9px!important}.arena-help-panel{margin-bottom:7px!important;padding:8px 10px!important}.arena-help-grid{gap:10px!important}.arena-help-grid ul{font-size:11.25px!important;line-height:1.35!important}.arena-placeholder-card{min-height:140px!important;padding:15px!important}
.action-modal{width:min(980px,calc(100vw - 24px))!important;max-height:calc(100dvh - 78px)!important}.action-picker{min-height:0!important;height:min(290px,36vh)!important;padding:9px!important}.action-list{height:100%!important}.conditions-head{padding:7px 10px 4px!important}.condition-row{padding:4px 10px!important}.action-footer{padding:7px 10px!important}
.blessing-panel{min-width:0!important}.blessing-row{padding:5px 7px!important}.blessing-sigil{width:36px!important;height:36px!important}.blessing-row{grid-template-columns:40px minmax(0,1fr) 108px!important}.blessing-intro{padding-bottom:6px!important;font-size:11.25px!important;line-height:1.35!important}.blessing-status{padding:7px 9px!important}.blessing-footer{padding-top:5px!important}
#deathModal .death-modal{max-height:calc(100dvh - 30px)!important}.death-result-panel{gap:9px!important}.death-result-title{font-size:30px!important}.death-result-sub{padding-bottom:7px!important}.death-result-loss{padding-bottom:7px!important}.death-revive-main{height:40px!important}

/* O menu nunca precisa ser arrastado para reencontrar conteúdo. */
#huntModal .modal,#shopModal .modal,#infoModal .modal,#arenaModal .modal,#actionModal .modal,#deathModal .modal{position:relative!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;margin:0!important}

/* Viewports menores: preserva as três colunas da hunt, compactando em vez de
   transformar a janela em uma página vertical gigantesca. */
@media(max-width:980px){
  #huntModal .hunt-browser-modal{width:calc(100vw - 12px)!important;height:calc(100dvh - 68px)!important}
  .hunt-browser-grid{grid-template-columns:minmax(205px,29%) minmax(315px,1fr) minmax(190px,26%)}
  .hunt-browser-list-pane,.hunt-browser-detail-pane,.hunt-browser-loot-pane{padding:8px!important}.hunt-selector .hunt-choice{min-height:56px!important;grid-template-columns:46px 1fr!important}.hunt-selector .hunt-choice>img{width:42px!important;height:42px!important}.hunt-mode-tabs{gap:5px;padding:6px}.hunt-mode-tabs button{font-size:11.25px}.hunt-description{font-size:10px!important}
}
@media(max-height:720px){
  :root{--ui-safe-top:58px}.hunt-browser-body{grid-template-rows:42px minmax(0,1fr) 42px}.hunt-mode-tabs{padding:5px 8px}.hunt-mode-tabs button{height:29px}.hunt-browser-list-pane,.hunt-browser-detail-pane,.hunt-browser-loot-pane{padding-top:7px!important;padding-bottom:7px!important}.hunt-record-card{height:62px;padding:6px}.hunt-pulls .pull{height:36px!important}.hunt-art{width:54px!important;height:54px!important;min-height:54px!important}.hunt-art>img{width:41px!important;height:41px!important}.hunt-loot-entry{height:39px}.hunt-description{line-height:1.25!important}.hunt-browser-footer{min-height:42px;padding:4px 8px}.hunt-footer-actions button{height:29px!important}
}


/* ========================================================================== */

/* R7.10.18 — HUD FLUTUANTE + RESPONSIVIDADE REAL + DENSIDADE NOTEBOOK       */
/* ========================================================================== */
:root{--r71018-top:56px;--r71018-edge:8px;--r71018-modal-gap:22px}

/* Arena continua dentro do navegador de atividades; não duplica na topbar. */
.arena-top-btn{display:none!important}
.hunt-mode-tabs{grid-template-columns:repeat(4,1fr)!important}

/* Modais comuns são centralizados apenas na área abaixo da topbar. */
#huntModal.modal-backdrop,#shopModal.modal-backdrop,#infoModal.modal-backdrop,#actionModal.modal-backdrop,#testModal.modal-backdrop,#logModal.modal-backdrop,#arenaModal.modal-backdrop{inset:var(--r71018-top) 0 0!important;padding:10px!important}
#huntModal .hunt-browser-modal{width:min(980px,calc(100vw - 38px))!important;height:min(560px,calc(100dvh - 88px))!important}
#infoModal.character-mode .modal.compact{width:min(860px,calc(100vw - 38px))!important;height:min(570px,calc(100dvh - 88px))!important;transform:translateY(5px)}
.store-modal{width:min(900px,calc(100vw - 38px))!important;max-height:min(570px,calc(100dvh - 88px))!important}
.store-layout,.npc-shop-layout{height:min(420px,calc(100dvh - 185px))!important}
.arena-modal{width:min(900px,calc(100vw - 38px))!important;max-height:min(570px,calc(100dvh - 88px))!important}
.action-modal{width:min(900px,calc(100vw - 38px))!important;max-height:min(590px,calc(100dvh - 88px))!important}
#infoModal .modal.compact{max-width:min(860px,calc(100vw - 38px))!important}

/* Caçadas: três colunas continuam legíveis, mas sem ocupar o notebook inteiro. */
.hunt-browser-body{grid-template-rows:43px minmax(0,1fr) 43px!important}
.hunt-mode-tabs{padding:5px 8px!important;gap:7px!important}.hunt-mode-tabs button{height:31px!important}
.hunt-browser-grid{grid-template-columns:minmax(215px,29%) minmax(330px,1fr) minmax(205px,27%)!important}
.hunt-browser-list-pane,.hunt-browser-detail-pane,.hunt-browser-loot-pane{padding:9px 10px!important}
.hunt-selector .hunt-choice{min-height:55px!important;grid-template-columns:45px minmax(0,1fr)!important;padding:4px 6px!important}.hunt-selector .hunt-choice>img{width:42px!important;height:42px!important}.hunt-selector .hunt-choice b{font-size:11.25px!important}.hunt-selector .hunt-choice small{font-size:8.75px!important}
.hunt-record-card{height:62px!important;padding:7px!important}.hunt-pulls{max-width:100%!important;gap:6px!important}.hunt-pulls .pull{height:36px!important}.hunt-description{font-size:10px!important;line-height:1.3!important}.hunt-composition{margin-top:3px!important}.hunt-loot-entry{height:38px!important}

/* HUD inferior: centralizado e fluido. Chat/analisador deixam de participar da largura. */
.hunter-footer{left:50%!important;right:auto!important;bottom:7px!important;transform:translateX(-50%)!important;width:min(780px,calc(100vw - 330px))!important;height:116px!important}
.hunter-centerbar{grid-template-columns:minmax(0,1fr) 164px!important;grid-template-rows:30px 86px!important;height:116px!important}
.hunter-quick{padding:2px 4px!important;gap:3px!important}.hunter-quick button{height:25px!important;min-width:0!important;flex:1 1 auto!important;font-size:10px!important;padding:0 5px!important}
.hunter-centerbar .hotbar{padding:3px 5px!important;gap:3px!important}.hunter-centerbar .action-slot{width:39px!important;height:39px!important}.hunter-centerbar .action-slot img{width:31px!important;height:31px!important}
.hunter-centerbar .combat-settings{padding:3px 4px!important}.hunter-status{bottom:7px!important}

/* Chat: arrastável já existente + redimensionamento livre. */
.hunter-chat{resize:both!important;overflow:hidden!important;min-width:240px;min-height:135px;max-width:min(620px,calc(100vw - 12px));max-height:min(560px,calc(100dvh - 72px));width:286px;height:218px}
.hunter-chat.minimized{resize:none!important;min-height:25px!important;max-height:25px!important;height:25px!important}

/* Analisador: janela flutuante, arrastável e redimensionável. */
.hunter-right{pointer-events:none!important}
.analyzer-window{position:fixed!important;right:auto!important;top:auto;margin:0!important;z-index:68!important;pointer-events:auto!important;width:270px;height:142px;min-width:238px;min-height:118px;max-width:min(520px,calc(100vw - 12px));max-height:min(720px,calc(100dvh - 70px));resize:both;overflow:hidden;background:rgba(8,12,18,.95)!important;box-shadow:0 0 0 2px #020305,0 7px 20px #000d!important}
.analyzer-window.analyzer-full{width:305px;height:min(610px,calc(100dvh - 90px));min-height:390px}
.analyzer-window.analyzer-mini{height:142px;min-height:118px!important}
.analyzer-drag-handle{cursor:move!important;user-select:none!important;touch-action:none!important;display:flex!important;justify-content:space-between!important}.analyzer-window.dragging .analyzer-drag-handle{cursor:grabbing!important}
.analyzer-head-actions{display:flex;gap:3px}.analyzer-head-actions button{width:22px;height:20px;padding:0;border:1px solid #46546b;background:#121a28;color:#a9bad1;font-size:13.75px;cursor:pointer}.analyzer-head-actions button:hover{border-color:#8aa8cf;color:#fff}
.analyzer-body{height:calc(100% - 23px);padding:5px!important;overflow:hidden!important}.analyzer-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px}.analyzer-mini-grid>div{display:grid;padding:4px 5px;background:#0b1119;border-bottom:1px solid #1d2736}.analyzer-mini-grid span{font-size:7.5px;color:#687a95}.analyzer-mini-grid b{font-size:12.5px;color:#91d36d}.analyzer-mini-grid>div:nth-child(5) b,.analyzer-mini-grid>div:nth-child(6) b{color:#e47f94}
.analyzer-full-content{display:none;height:calc(100% - 90px);overflow:auto;padding:4px 1px 2px;scrollbar-width:thin}.analyzer-full .analyzer-full-content{display:block}.analyzer-full .analyzer-mini-grid{margin-bottom:5px}.analyzer-section{border-top:1px solid #303a4c;padding:6px 3px}.analyzer-section h4{margin:0 0 5px;color:#aebcda;font-size:10px;letter-spacing:.3px}.analyzer-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:3px}.analyzer-detail-grid>div{display:flex;justify-content:space-between;gap:6px;padding:3px 4px;background:#0b1018}.analyzer-detail-grid span{font-size:8.75px;color:#8393ad}.analyzer-detail-grid b{font-size:10px;color:#9bd474}.analyzer-negative{color:#ef8498!important}.analyzer-list{display:grid;gap:3px}.analyzer-list-row{display:grid;grid-template-columns:22px minmax(0,1fr) auto auto;gap:5px;align-items:center;padding:3px 4px;background:#0b1018}.analyzer-list-row img{width:19px;height:19px;object-fit:contain;image-rendering:pixelated}.analyzer-list-row span{font-size:8.75px;color:#aebbd0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.analyzer-list-row b{font-size:8.75px;color:#899bb4}.analyzer-list-row em{font-style:normal;font-size:8.75px;color:#d1ad67}.analyzer-list small{font-size:8.75px;color:#71829d}

/* Loja NPC: catálogo básico em vez do set forte fixo. */
.npc-shop-categories{width:150px!important}.npc-shop-grid{grid-template-columns:repeat(auto-fill,minmax(112px,1fr))!important;gap:6px!important;align-content:start!important}.npc-item-card{min-height:108px!important;padding:7px!important}.npc-item-card img{width:45px!important;height:45px!important}.npc-item-card b{font-size:11.25px!important}.npc-item-card span{font-size:10px!important}.npc-shop-details{width:230px!important}.npc-shop-head{min-height:48px!important}.npc-shop-title{font-size:12.5px!important}

/* Densidade notebook: mesma informação, menos área física. */
@media (max-width:1366px) and (max-height:800px){
  :root{--r71018-top:52px}
  #huntModal .hunt-browser-modal{width:min(900px,calc(100vw - 26px))!important;height:min(510px,calc(100dvh - 74px))!important}
  #infoModal.character-mode .modal.compact{width:min(820px,calc(100vw - 26px))!important;height:min(535px,calc(100dvh - 74px))!important;transform:translateY(4px)}
  .store-modal,.arena-modal,.action-modal{width:min(850px,calc(100vw - 26px))!important;max-height:calc(100dvh - 74px)!important}
  .modal-head{height:34px!important;min-height:34px!important;padding:5px 9px!important;font-size:12.5px!important}
  .hunt-browser-body{grid-template-rows:38px minmax(0,1fr) 38px!important}.hunt-mode-tabs{padding:4px 6px!important}.hunt-mode-tabs button{height:28px!important;font-size:10px!important}
  .hunt-browser-grid{grid-template-columns:minmax(195px,28%) minmax(300px,1fr) minmax(185px,26%)!important}.hunt-browser-list-pane,.hunt-browser-detail-pane,.hunt-browser-loot-pane{padding:6px 7px!important}.hunt-record-card{height:55px!important}.hunt-art{width:50px!important;height:50px!important;min-height:50px!important}.hunt-art>img{width:38px!important;height:38px!important}.hunt-loot-entry{height:34px!important}
  .hunter-footer{width:min(720px,calc(100vw - 290px))!important;height:109px!important}.hunter-centerbar{grid-template-columns:minmax(0,1fr) 154px!important;grid-template-rows:28px 81px!important;height:109px!important}.hunter-centerbar .action-slot{width:36px!important;height:36px!important}.hunter-centerbar .action-slot img{width:29px!important;height:29px!important}.hunter-quick button{height:23px!important;font-size:8.75px!important}
  .hunter-chat{width:270px;height:195px}.analyzer-window{width:250px}.analyzer-window.analyzer-full{width:288px;height:min(520px,calc(100dvh - 78px))}
  #infoModal.character-mode .character-sheet{gap:5px!important;padding:5px 7px!important}.character-summary{padding:6px!important}.character-box{padding:6px!important}.combat-detail-grid>div{min-height:43px!important}.character-training-compact .training-stat-row{height:22px!important}
  .npc-shop-layout{height:min(390px,calc(100dvh - 165px))!important}.npc-shop-details{width:205px!important}
}
@media (max-width:1050px){
  .hunter-footer{width:min(680px,calc(100vw - 250px))!important}.hunter-status{width:200px!important}.hunter-status .status-window{width:200px!important}.hunter-chat{width:250px}.hunt-browser-grid{grid-template-columns:190px minmax(285px,1fr) 180px!important}
}
@media (max-height:660px){
  #huntModal .hunt-browser-modal{height:calc(100dvh - 66px)!important}.hunt-description{display:none!important}.hunt-composition{display:none!important}.hunt-record-card{height:47px!important}.hunt-preview-line{margin-bottom:2px!important}
  #infoModal.character-mode .modal.compact{height:calc(100dvh - 66px)!important}.character-passive p{display:none!important}.combat-detail-grid>div{min-height:39px!important}
  .store-modal,.arena-modal,.action-modal{max-height:calc(100dvh - 66px)!important}.npc-shop-layout{height:calc(100dvh - 150px)!important}
}


/* ========================================================================== */
/* R7.10.18b — FLUID LAYOUT / NOTEBOOK DENSITY / RESIZE PRECEDENCE            */
/* ========================================================================== */
/* No whole-window scrolling: each complex window owns only the list region that can grow. */
#infoModal .modal.compact{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 82px)!important}
#infoModal .modal-body{max-height:calc(100dvh - 126px)!important}
#infoModal.character-mode .modal.compact{transform:translateY(10px)!important}
#huntModal .hunt-browser-modal{transform:translateY(5px)}

/* Bottom cluster follows Huntera logic: vitals immediately beside the hotbar rather than isolated. */
.hunter-status{left:calc(50% - 465px)!important;right:auto!important;transform:none!important;width:205px!important}
.hunter-status .status-window{width:205px!important}
.hunter-footer{left:calc(50% + 105px)!important;right:auto!important;transform:translateX(-50%)!important;width:min(720px,calc(100vw - 500px))!important}

/* User-resizable floating utilities. Explicit widths are intentionally NOT !important. */
.hunter-chat{width:286px;height:218px}
.analyzer-window{width:270px;height:142px}
.analyzer-window.analyzer-full{width:305px;height:min(610px,calc(100dvh - 90px))}

/* Generic responsive cards/grids. */
.modal,.modal.wide,.modal.compact,.store-modal,.arena-modal,.action-modal,.hunt-browser-modal{max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 72px)!important}
.npc-shop-grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))!important}
.character-columns,.character-summary,.combat-detail-grid,.hunt-browser-grid,.npc-shop-layout{min-width:0!important}

@media (max-width:1440px) and (max-height:850px){
  #huntModal .hunt-browser-modal{width:min(850px,calc(100vw - 24px))!important;height:min(480px,calc(100dvh - 70px))!important;transform:translateY(4px)}
  #infoModal.character-mode .modal.compact{width:min(760px,calc(100vw - 24px))!important;height:min(500px,calc(100dvh - 70px))!important;transform:translateY(8px)!important}
  #infoModal .modal.compact{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 70px)!important}
  .store-modal,.arena-modal,.action-modal{width:min(800px,calc(100vw - 24px))!important;max-height:calc(100dvh - 70px)!important}
  .store-layout,.npc-shop-layout{height:min(360px,calc(100dvh - 170px))!important}
  .hunt-browser-grid{grid-template-columns:minmax(185px,27%) minmax(280px,1fr) minmax(175px,26%)!important}
  .hunt-selector .hunt-choice{min-height:48px!important;grid-template-columns:39px minmax(0,1fr)!important}.hunt-selector .hunt-choice>img{width:37px!important;height:37px!important}
  .hunt-record-card{height:50px!important}.hunt-pulls .pull{height:33px!important}.hunt-loot-entry{height:31px!important}
  .hunter-status{left:calc(50% - 435px)!important;width:198px!important}.hunter-status .status-window{width:198px!important}
  .hunter-footer{left:calc(50% + 78px)!important;width:min(650px,calc(100vw - 470px))!important;height:105px!important}.hunter-centerbar{height:105px!important;grid-template-rows:27px 78px!important}
  .hunter-chat{width:270px;height:195px}
  .analyzer-window{width:250px}.analyzer-window.analyzer-full{width:288px;height:min(520px,calc(100dvh - 78px))}
}

@media (max-width:1100px){
  #huntModal .hunt-browser-modal,#infoModal.character-mode .modal.compact,.store-modal,.arena-modal,.action-modal{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important}
  #huntModal .hunt-browser-modal{height:calc(100dvh - 64px)!important}
  #infoModal.character-mode .modal.compact{height:calc(100dvh - 66px)!important;transform:translateY(5px)!important}
  .hunt-browser-grid{grid-template-columns:180px minmax(250px,1fr) 170px!important}
  .npc-shop-categories{width:120px!important}.npc-shop-details{width:190px!important}.npc-shop-grid{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))!important}
  .hunter-status{left:8px!important;width:190px!important}.hunter-status .status-window{width:190px!important}
  .hunter-footer{left:205px!important;transform:none!important;width:calc(100vw - 455px)!important;min-width:560px!important}
  .hunter-chat{width:240px;height:180px}
}

@media (max-height:680px){
  #huntModal .hunt-browser-modal{height:calc(100dvh - 62px)!important}.hunt-description,.hunt-composition{display:none!important}
  #infoModal.character-mode .modal.compact{height:calc(100dvh - 62px)!important}.character-passive p,.character-section-note{display:none!important}
  .store-modal,.arena-modal,.action-modal{max-height:calc(100dvh - 62px)!important}
  .store-layout,.npc-shop-layout{height:calc(100dvh - 158px)!important}
}


/* ========================================================================== */
/* R7.10.19 — RESPONSIVE UI REAL / NOTEBOOK + FLOATING UTILITIES              */
/* ========================================================================== */
/* O tamanho escolhido pelo jogador vence os defaults; CSS só define limites seguros. */
.hunter-chat{resize:both!important;min-width:180px!important;min-height:104px!important;max-width:calc(100vw - 8px)!important;max-height:calc(100dvh - 8px)!important}
.hunter-chat.minimized{resize:none!important;min-width:180px!important;min-height:25px!important;max-height:25px!important;height:25px!important}
.analyzer-window{resize:both!important;min-width:200px!important;min-height:108px!important;max-width:calc(100vw - 8px)!important;max-height:calc(100dvh - 8px)!important}
.analyzer-window.analyzer-mini{min-width:200px!important;min-height:108px!important}
.analyzer-window.analyzer-full{min-width:270px!important;min-height:300px!important}
.analyzer-body{min-height:0!important}.analyzer-full-content{min-height:0!important;height:calc(100% - 88px)!important}.analyzer-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}

/* Dock: status à esquerda, hotbar no centro e chat livre à direita por padrão. */
.hunter-status{left:8px!important;bottom:8px!important;width:196px!important;height:94px!important}.hunter-status .status-window{width:196px!important;height:94px!important}
.hunter-footer{left:50%!important;right:auto!important;bottom:8px!important;transform:translateX(-50%)!important;width:min(700px,calc(100vw - 500px))!important;height:104px!important}
.hunter-centerbar{height:104px!important;grid-template-columns:minmax(0,1fr) 158px!important;grid-template-rows:27px 77px!important}.hunter-quick button{height:22px!important;font-size:8.75px!important}.hunter-centerbar .action-slot{width:36px!important;height:36px!important}.hunter-centerbar .action-slot img{width:29px!important;height:29px!important}

/* Modais deixam de tentar preencher o notebook. */
#huntModal .hunt-browser-modal{transform:translateY(12px)!important}
#infoModal.character-mode .modal.compact{transform:translateY(18px)!important}

@media (max-width:1440px) and (max-height:850px){
  :root{--r71018-top:50px!important}
  .hunter-topbar{height:50px!important;min-height:50px!important;padding-top:3px!important;padding-bottom:3px!important}.profile-card{height:40px!important}.currency-pill,.store-btn,.top-icons .top-btn,.top-gear{height:38px!important}
  .hunter-status{width:184px!important;height:88px!important}.hunter-status .status-window{width:184px!important;height:88px!important}.hunter-status .hud-meter-line{height:15px!important}.hunter-status .meter{height:12px!important}.hunter-status .hud-row{height:12px!important;font-size:8.75px!important}.hunter-status .xp-meter,.hunter-status .stamina{height:6px!important}
  .hunter-footer{width:min(620px,calc(100vw - 470px))!important;height:96px!important}.hunter-centerbar{height:96px!important;grid-template-columns:minmax(0,1fr) 145px!important;grid-template-rows:25px 71px!important}.hunter-centerbar .action-slot{width:33px!important;height:33px!important}.hunter-centerbar .action-slot img{width:27px!important;height:27px!important}.hunter-centerbar .combat-settings select,.dropdown-trigger{height:20px!important;font-size:10px!important}.combat-bottom-row{height:24px!important}.range-inline{height:21px!important}

  #huntModal .hunt-browser-modal{width:min(800px,calc(100vw - 70px))!important;height:min(448px,calc(100dvh - 105px))!important;transform:translateY(12px)!important}.hunt-browser-body{grid-template-rows:35px minmax(0,1fr) 36px!important}.hunt-mode-tabs{padding:3px 5px!important;gap:5px!important}.hunt-mode-tabs button{height:26px!important;font-size:10px!important}.hunt-browser-grid{grid-template-columns:minmax(170px,27%) minmax(270px,1fr) minmax(160px,25%)!important}.hunt-browser-list-pane,.hunt-browser-detail-pane,.hunt-browser-loot-pane{padding:5px 6px!important}.hunt-search{height:29px!important}.hunt-selector .hunt-choice{min-height:43px!important;grid-template-columns:34px minmax(0,1fr)!important;padding:3px 5px!important}.hunt-selector .hunt-choice>img{width:32px!important;height:32px!important}.hunt-selector .hunt-choice b{font-size:10px!important}.hunt-selector .hunt-choice small{font-size:7.5px!important}.hunt-record-card{height:43px!important;padding:5px!important}.hunt-pulls .pull{height:29px!important;padding:3px!important}.hunt-pulls strong{font-size:10px!important}.hunt-pulls small{font-size:7.5px!important}.hunt-preview-line{min-height:48px!important}.hunt-art{width:44px!important;height:44px!important;min-height:44px!important}.hunt-art>img{width:34px!important;height:34px!important}.hunt-description{font-size:8.75px!important;line-height:1.2!important}.hunt-composition{font-size:8.75px!important}.hunt-loot-entry{height:29px!important;grid-template-columns:25px minmax(0,1fr) 18px!important;padding:2px 4px!important}.hunt-loot-entry img{width:23px!important;height:23px!important}.hunt-loot-entry b{font-size:10px!important}.hunt-loot-entry small{font-size:7.5px!important}.hunt-browser-footer{min-height:36px!important;padding:3px 6px!important}.hunt-footer-actions button{height:27px!important;font-size:10px!important}

  #infoModal.character-mode .modal.compact{width:min(700px,calc(100vw - 80px))!important;height:min(455px,calc(100dvh - 112px))!important;transform:translateY(18px)!important}.character-sheet{padding:4px 6px!important;gap:4px!important;font-size:11.25px!important}.character-tabs{height:26px!important;gap:5px!important}.character-tabs button{font-size:10px!important}.character-summary{grid-template-columns:90px minmax(250px,1fr) 170px!important;gap:7px!important;padding:5px!important}.character-portrait{height:82px!important}.character-portrait img{height:72px!important}.character-main h2{font-size:16.25px!important}.character-main>span{font-size:10px!important}.char-bar-row{grid-template-columns:96px 1fr 82px!important;margin:2px 0!important;gap:4px!important;font-size:10px!important}.char-bar{height:9px!important}.char-bar-row>b{font-size:10px!important}.character-side-stats{gap:3px!important;font-size:10px!important}.character-passive{padding:3px 5px!important;margin:3px 0 0!important}.character-passive b{font-size:10px!important}.character-passive p{font-size:8.75px!important}.character-columns{gap:5px!important}.character-box{padding:5px!important}.character-box h3{font-size:10px!important;margin-bottom:3px!important;padding-bottom:3px!important}.character-box h4{font-size:8.75px!important;margin:3px 0!important}.character-training-compact .training-stat-row{height:19px!important;grid-template-columns:16px minmax(80px,1fr) 38px minmax(55px,.8fr) 26px!important;gap:3px!important;padding:2px 3px!important}.training-stat-copy b{font-size:8.75px!important}.training-stat-row strong,.training-stat-row em{font-size:8.75px!important}.training-stat-progress{height:6px!important}.training-footer{padding-top:4px!important;font-size:8.75px!important}.character-box p{font-size:10px!important;margin:3px 0!important}.char-big-progress{height:8px!important}.xp-bonus-breakdown{margin-top:3px!important}.char-bonus-row,.char-bonus-total{font-size:8.75px!important;padding:1px 0!important}.combat-details{padding:4px!important}.combat-detail-grid{grid-template-columns:repeat(5,1fr)!important;gap:3px!important}.combat-detail-grid>div{min-height:34px!important;padding:3px!important}.combat-detail-grid span{font-size:7.5px!important}.combat-detail-grid b{font-size:11.25px!important}.combat-detail-grid small{font-size:7.5px!important}

  .store-modal{width:min(780px,calc(100vw - 80px))!important;max-height:min(500px,calc(100dvh - 100px))!important}.store-modal .modal-head{height:30px!important}.store-tabs{padding:4px!important;gap:4px!important}.store-tabs button{height:25px!important;font-size:10px!important}.npc-shop-layout{height:min(350px,calc(100dvh - 145px))!important;grid-template-columns:112px minmax(310px,1fr) 180px!important}.npc-shop-categories{width:112px!important;padding:6px 5px 54px!important}.npc-shop-categories button{height:29px!important;font-size:10px!important;padding:0 7px!important}.npc-shop-title{font-size:10px!important}.npc-shop-head{height:42px!important;min-height:42px!important;padding:6px 8px!important}.npc-shop-head b{font-size:12.5px!important}.npc-shop-head span{font-size:8.75px!important}.npc-shop-grid{grid-template-columns:repeat(auto-fit,minmax(82px,1fr))!important;gap:4px!important;padding:6px!important}.npc-item-card{min-height:80px!important;grid-template-rows:39px auto auto!important;padding:4px!important}.npc-item-card img{width:36px!important;height:36px!important}.npc-item-card b{font-size:8.75px!important}.npc-item-card span{font-size:8.75px!important}.npc-shop-details{width:180px!important;padding:8px!important}.npc-detail h2{font-size:15px!important;margin:4px 0!important}.npc-detail-icon{width:62px!important;height:62px!important;margin-bottom:5px!important}.npc-detail-icon img{width:54px!important;height:54px!important}.npc-detail-stats{gap:2px!important;margin:2px 0 5px!important}.npc-detail-stats div{font-size:8.75px!important;padding:2px 0!important}.npc-detail-desc,.npc-detail-owned{font-size:8.75px!important}.npc-buy-price{font-size:12.5px!important;margin:3px 0!important}.npc-detail-actions button{height:27px!important;font-size:10px!important}

  .arena-modal,.action-modal{width:min(780px,calc(100vw - 80px))!important;max-height:min(500px,calc(100dvh - 100px))!important}#infoModal:not(.character-mode) .modal.compact{width:min(680px,calc(100vw - 80px))!important;max-height:min(500px,calc(100dvh - 100px))!important}
}

@media (max-width:1120px){
  .hunter-status{width:165px!important}.hunter-status .status-window{width:165px!important}.hunter-footer{width:min(540px,calc(100vw - 420px))!important;min-width:0!important}.hunter-chat{min-width:170px!important}.analyzer-window{min-width:190px!important}
  #huntModal .hunt-browser-modal{width:calc(100vw - 40px)!important}.hunt-browser-grid{grid-template-columns:minmax(155px,27%) minmax(250px,1fr) minmax(145px,24%)!important}
  #infoModal.character-mode .modal.compact,.store-modal,.arena-modal,.action-modal{width:calc(100vw - 50px)!important}
}


/* ===== R7.10.21 — Arena como aba real + loja comprável/rolável ===== */
.hunt-browser-grid[hidden],.hunt-browser-footer[hidden],.hunt-arena-view[hidden]{display:none!important}
.hunt-arena-view{grid-row:2/4;min-height:0;overflow-y:auto;padding:12px 14px;background:linear-gradient(180deg,#111722,#0d1119);scrollbar-width:thin;scrollbar-color:#52647e #0b0f16}
.hunt-arena-head{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #354158;background:#141b27;padding:12px 14px;margin-bottom:10px}.hunt-arena-head>div{display:grid;gap:2px}.hunt-arena-head small{font-size:8.75px;color:#d4a84e;font-weight:800;letter-spacing:.9px}.hunt-arena-head h2{margin:0;color:#8bb8f5;font:700 18px Georgia,serif}.hunt-arena-head p{margin:0;color:#7f90aa;font-size:11.25px}.hunt-arena-help{margin:0 0 10px!important}.hunt-arena-card{margin:0!important;min-height:150px!important}.hunt-arena-view .arena-help-btn{flex:0 0 auto;width:29px;height:29px}

.npc-shop-center{min-height:0!important;overflow:hidden!important}
.npc-shop-grid{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#52647e #0b0f16;padding-bottom:12px!important}
.npc-shop-details{min-height:0!important;overflow-y:auto!important;scrollbar-width:thin;scrollbar-color:#52647e #0b0f16}
.npc-item-card{grid-template-rows:48px auto auto 26px!important;gap:3px!important;cursor:pointer;transition:opacity .12s,filter .12s,border-color .12s;background:#171d2a}
.npc-item-card.unaffordable{opacity:.48;filter:saturate(.48) brightness(.86)}.npc-item-card.unaffordable:hover,.npc-item-card.unaffordable.active{opacity:.64;filter:saturate(.62) brightness(.94)}
.npc-item-card.purchase-blocked:not(.unaffordable){opacity:.7}
.npc-card-buy{width:100%;height:24px;border:1px solid #765b2d;background:linear-gradient(#4a3a22,#21190e);color:#f0d28f;font-size:8.75px;font-weight:800;cursor:pointer}.npc-card-buy:hover:not(:disabled){border-color:#d0a34f;background:linear-gradient(#604b29,#2d2111);color:#fff1c7}.npc-card-buy:disabled{border-color:#343a47;background:#171b22;color:#626d7e;cursor:not-allowed}
.npc-item-card:focus-visible{outline:1px solid #7eb5f1;outline-offset:1px}
@media (max-width:1440px) and (max-height:850px){.npc-item-card{grid-template-rows:36px auto auto 23px!important;min-height:103px!important}.npc-card-buy{height:21px!important;font-size:7.5px!important}.hunt-arena-view{padding:8px 10px}.hunt-arena-head{padding:8px 10px}.hunt-arena-card{min-height:115px!important}}
@media (max-width:900px){.npc-shop-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr))!important}.npc-item-card{min-height:98px!important}.hunt-arena-head h2{font-size:18.75px}.arena-help-grid{grid-template-columns:1fr!important}}
/* ===== END R7.10.21 ===== */

/* ===== R7.10.22 — NPC SHOP NO PADRÃO HUNTERA + SCROLL VISÍVEL ===== */
#shopModal .store-modal{
  height:min(610px,calc(100dvh - 76px))!important;
  max-height:calc(100dvh - 76px)!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#storeViewNpc.store-view.active{display:flex!important;flex:1 1 auto!important;min-height:0!important;overflow:hidden!important}
.huntera-shop-layout.npc-shop-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 270px!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  background:#10141f;
}
.huntera-shop-layout .npc-shop-center{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;overflow:hidden!important}
.huntera-shop-layout .npc-trade-tabs{flex:0 0 38px!important;height:38px!important;padding:0 10px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;border-bottom:1px solid #34405a!important;background:#11141e!important}
.huntera-shop-layout .npc-trade-tabs button{height:38px!important;border:0!important;border-bottom:2px solid transparent!important;background:transparent!important;color:#aab4c8!important;font-size:12.5px!important;font-weight:500!important}
.huntera-shop-layout .npc-trade-tabs button.active{color:#dce8ff!important;border-bottom-color:#6598ff!important;background:transparent!important;box-shadow:none!important}
.npc-shop-toolbar{flex:0 0 48px;display:flex;align-items:center;gap:7px;padding:6px 9px;border-bottom:1px solid #35405a;background:#111621;min-width:0}
.huntera-shop-layout .npc-shop-categories{position:static!important;width:auto!important;padding:0!important;border:0!important;background:transparent!important;display:flex!important;flex-direction:row!important;gap:4px!important;flex:0 0 auto!important}
.huntera-shop-layout .npc-shop-categories button{width:42px!important;height:36px!important;padding:0!important;text-align:center!important;border:1px solid #39445d!important;border-radius:3px!important;background:#171c28!important;color:#a9b5c9!important;font-size:15px!important}
.huntera-shop-layout .npc-shop-categories button:first-child{width:48px!important;font-size:11.25px!important}
.huntera-shop-layout .npc-shop-categories button.active{border-color:#6d9cff!important;background:#1a2841!important;color:#fff!important;box-shadow:inset 0 0 0 1px #274b84!important}
.npc-shop-search-wrap{flex:1 1 auto;min-width:90px}.npc-shop-search-wrap input{width:100%;height:36px;padding:0 10px;border:1px solid #3b465e;border-radius:3px;background:#0e141e;color:#dce6f7;font-size:12.5px;outline:none}.npc-shop-search-wrap input:focus{border-color:#5b82be}.npc-shop-search-wrap input::placeholder{color:#61708a}
.huntera-shop-layout .npc-wallet{position:static!important;margin:0!important;padding:0 8px!important;height:36px!important;min-width:105px!important;border:1px solid #39445d!important;border-radius:18px!important;background:#171c28!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-size:10px!important}.huntera-shop-layout .npc-wallet span{color:#8491a7!important}.huntera-shop-layout .npc-wallet b{font-size:12.5px!important;color:#f1ca62!important}
.huntera-shop-layout .npc-shop-head{flex:0 0 42px!important;height:42px!important;min-height:42px!important;padding:6px 10px!important}.huntera-shop-layout .npc-shop-head b{font-size:12.5px!important}.huntera-shop-layout .npc-shop-head span{font-size:8.75px!important}
.huntera-shop-layout .npc-shop-grid{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  max-height:none!important;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  scrollbar-gutter:stable!important;
  overscroll-behavior:contain!important;
  display:grid!important;
  grid-template-columns:repeat(auto-fill,52px)!important;
  grid-auto-rows:52px!important;
  align-content:start!important;
  justify-content:start!important;
  gap:6px!important;
  padding:10px 8px 18px 10px!important;
  background:#11151f!important;
}
.huntera-shop-layout .npc-shop-grid::-webkit-scrollbar,.huntera-shop-layout .npc-sell-grid::-webkit-scrollbar,.huntera-shop-layout .npc-shop-details::-webkit-scrollbar{width:10px}.huntera-shop-layout .npc-shop-grid::-webkit-scrollbar-track,.huntera-shop-layout .npc-sell-grid::-webkit-scrollbar-track,.huntera-shop-layout .npc-shop-details::-webkit-scrollbar-track{background:#0a0e15;border-left:1px solid #222b3a}.huntera-shop-layout .npc-shop-grid::-webkit-scrollbar-thumb,.huntera-shop-layout .npc-sell-grid::-webkit-scrollbar-thumb,.huntera-shop-layout .npc-shop-details::-webkit-scrollbar-thumb{background:#465974;border:2px solid #0a0e15;border-radius:6px}.huntera-shop-layout .npc-shop-grid::-webkit-scrollbar-thumb:hover,.huntera-shop-layout .npc-sell-grid::-webkit-scrollbar-thumb:hover,.huntera-shop-layout .npc-shop-details::-webkit-scrollbar-thumb:hover{background:#627796}
.huntera-shop-layout .npc-item-card{
  position:relative!important;
  width:52px!important;height:52px!important;min-height:52px!important;
  padding:3px!important;margin:0!important;
  display:grid!important;place-items:center!important;
  grid-template:1fr/1fr!important;
  border:1px solid #39445d!important;border-radius:3px!important;
  background:#171c28!important;cursor:pointer!important;
  overflow:hidden!important;opacity:1;filter:none;
}
.huntera-shop-layout .npc-item-card:hover{border-color:#647797!important;background:#1a2230!important}.huntera-shop-layout .npc-item-card.active{border-color:#6598ff!important;background:#1b2942!important;box-shadow:inset 0 0 0 1px #2e5b9e!important}.huntera-shop-layout .npc-item-card.unaffordable{opacity:.38!important;filter:grayscale(.55) saturate(.45) brightness(.8)!important}.huntera-shop-layout .npc-item-card.unaffordable:hover,.huntera-shop-layout .npc-item-card.unaffordable.active{opacity:.58!important;filter:grayscale(.3) saturate(.65) brightness(.9)!important}
.huntera-shop-layout .npc-item-card img{width:42px!important;height:42px!important;object-fit:contain!important;image-rendering:pixelated!important;grid-area:1/1!important}.huntera-shop-layout .npc-item-card>b,.huntera-shop-layout .npc-item-card>span,.huntera-shop-layout .npc-item-card>.npc-card-buy{display:none!important}.huntera-shop-layout .owned-badge{position:absolute!important;right:2px!important;bottom:1px!important;z-index:3!important;min-width:14px!important;height:13px!important;padding:0 2px!important;border-radius:2px!important;background:#121824dd!important;color:#e5edf9!important;font:700 7px Arial!important;display:grid!important;place-items:center!important}
.huntera-shop-layout .npc-shop-details{min-width:0!important;width:auto!important;height:100%!important;min-height:0!important;padding:12px 14px!important;border-left:1px solid #354054!important;overflow-y:auto!important;scrollbar-gutter:stable!important;background:#10131b!important}
.huntera-shop-layout .npc-detail{min-height:100%!important;height:auto!important}.huntera-shop-layout .npc-detail-icon{width:132px!important;height:132px!important;margin:8px auto 12px!important;border-radius:5px!important}.huntera-shop-layout .npc-detail-icon img{width:102px!important;height:102px!important}.huntera-shop-layout .npc-detail h2{font-size:20px!important;color:#78a9ff!important}.huntera-shop-layout .npc-detail-desc{font-size:10px!important}.huntera-shop-layout .npc-detail-owned{margin-top:auto!important}.huntera-shop-layout .npc-buy-price{font-size:16.25px!important}.huntera-shop-layout .npc-detail-actions{position:sticky!important;bottom:0!important;padding-top:7px!important;background:linear-gradient(transparent,#10131b 12px)!important}.huntera-shop-layout .npc-detail-actions button{height:34px!important}
.huntera-shop-layout .npc-sell-grid{flex:1 1 auto!important;min-height:0!important;overflow-y:scroll!important;scrollbar-gutter:stable!important;padding:10px!important;background:#11151f!important}
@media(max-width:900px){.huntera-shop-layout.npc-shop-layout{grid-template-columns:minmax(0,1fr) 215px!important}.huntera-shop-layout .npc-shop-grid{grid-template-columns:repeat(auto-fill,48px)!important;grid-auto-rows:48px!important}.huntera-shop-layout .npc-item-card{width:48px!important;height:48px!important;min-height:48px!important}.huntera-shop-layout .npc-item-card img{width:38px!important;height:38px!important}.huntera-shop-layout .npc-detail-icon{width:92px!important;height:92px!important}.huntera-shop-layout .npc-detail-icon img{width:76px!important;height:76px!important}}
@media(max-height:700px){#shopModal .store-modal{height:calc(100dvh - 66px)!important}.npc-shop-toolbar{flex-basis:42px!important;padding-top:3px!important;padding-bottom:3px!important}.huntera-shop-layout .npc-shop-categories button,.npc-shop-search-wrap input,.huntera-shop-layout .npc-wallet{height:32px!important}.huntera-shop-layout .npc-shop-head{display:none!important}.huntera-shop-layout .npc-detail-icon{width:84px!important;height:84px!important;margin:4px auto 6px!important}.huntera-shop-layout .npc-detail-icon img{width:70px!important;height:70px!important}.huntera-shop-layout .npc-detail-stats div{padding:2px 0!important}.huntera-shop-layout .npc-detail-desc{margin-bottom:5px!important}}
/* ===== END R7.10.22 ===== */
.npc-buy-state{display:block;min-height:12px;margin:0 0 4px;text-align:center;color:#8e98aa;font-size:8.75px}.npc-buy-state[hidden]{display:none!important}


/* ===== R7.10.23 — LOOT DA SESSÃO COMPACTO / ANALISADOR RECUPERÁVEL ===== */
/* Substitui totalmente o antigo painel lateral vertical de Extra Loot. */
#extraLootPanel.session-loot-window{position:fixed!important;left:12px;top:150px;right:auto!important;width:236px!important;height:146px!important;z-index:91!important;display:flex;flex-direction:column;overflow:hidden;border:1px solid #465674;background:rgba(10,14,21,.96);box-shadow:0 0 0 2px #05070a,0 5px 14px #000b;filter:none!important;transform:none!important;transition:none!important;resize:none!important}
#extraLootPanel.session-loot-window[hidden]{display:none!important}
#extraLootPanel.session-loot-window.collapsed{height:28px!important}
#extraLootPanel.session-loot-window.collapsed .session-loot-body{display:none!important}
.session-loot-title{height:28px;min-height:28px;display:flex;align-items:center;justify-content:space-between;padding:0 5px 0 8px;border-bottom:1px solid #39475f;background:linear-gradient(#1a263a,#101724);cursor:move;user-select:none;touch-action:none;color:#77a7ff;font-size:13.75px;font-weight:800}
.session-loot-window.dragging .session-loot-title{cursor:grabbing}.session-loot-actions{display:flex;align-items:center;gap:4px}.session-loot-actions small{font-size:8.75px;color:#d3ae58;font-weight:800}.session-loot-actions button{width:22px;height:20px;padding:0;border:1px solid #46546b;background:#111a28;color:#a9bad1;font-size:13.75px;cursor:pointer}.session-loot-actions button:hover{border-color:#8aa8cf;color:#fff}
.session-loot-body{display:grid;grid-template-rows:minmax(0,1fr) 21px;min-height:0;flex:1 1 auto;background:linear-gradient(rgba(15,20,29,.95),rgba(8,11,16,.98))}
#extraLootPanel .extra-loot-grid{min-height:0;max-height:none!important;overflow:auto!important;padding:8px!important;display:grid!important;grid-template-columns:repeat(4,42px)!important;grid-auto-rows:42px!important;justify-content:center!important;align-content:start!important;gap:5px!important;scrollbar-width:thin;scrollbar-color:#536782 #0b1018}
#extraLootPanel .extra-loot-grid::-webkit-scrollbar{width:8px;height:8px}#extraLootPanel .extra-loot-grid::-webkit-scrollbar-track{background:#0b1018}#extraLootPanel .extra-loot-grid::-webkit-scrollbar-thumb{background:#536782;border:2px solid #0b1018;border-radius:5px}
#extraLootPanel .extra-loot-slot{width:42px!important;height:42px!important;border:1px solid #3e4b62!important;border-radius:2px;background:#121824!important}#extraLootPanel .extra-loot-slot:hover{border-color:#d2a84e!important;background:#192335!important}#extraLootPanel .extra-loot-slot img{width:35px!important;height:35px!important}
#extraLootPanel .extra-loot-empty{grid-column:1/-1!important;grid-row:1/span 2!important;min-height:72px;padding:20px 7px 8px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#6c7890!important;font-size:10px!important}.extra-loot-empty em{font-family:Georgia,serif;font-size:15px;color:#737b91;margin-bottom:9px}.extra-loot-empty small{max-width:185px;font-size:8.75px;color:#6c7890}
#extraLootPanel .extra-loot-help{height:21px;display:flex;align-items:center;padding:0 7px!important;border-top:1px solid #344158!important;background:#121824;color:#71819c!important;font-size:8.75px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#extraLootPanel.has-loot{border-color:#6a7891}.session-loot-window.has-loot .session-loot-title{color:#8bb7ff}

/* O analisador deve estar acima do mapa/loot e nunca ficar sem dimensões quando a hunt o reabre. */
#huntAnalyzer.analyzer-window{z-index:92!important;visibility:visible;opacity:1}
#huntAnalyzer.analyzer-window.analyzer-mini{width:max(200px,var(--analyzer-mini-width,238px));height:max(108px,var(--analyzer-mini-height,126px))}
@media(max-width:900px){#extraLootPanel.session-loot-window{width:220px!important;height:138px!important}#extraLootPanel .extra-loot-grid{grid-template-columns:repeat(4,38px)!important;grid-auto-rows:38px!important}#extraLootPanel .extra-loot-slot{width:38px!important;height:38px!important}#extraLootPanel .extra-loot-slot img{width:32px!important;height:32px!important}}
/* ===== END R7.10.23 ====================================================== */


/* ===== R7.10.24 — escala adaptativa sem miniaturizar monitor desktop ===== */
body[data-ui-profile="desktop"]{--r71-top:78px;--r71-slot:45px}
body[data-ui-profile="large"]{--r71-top:86px;--r71-slot:50px}
body[data-ui-profile="large"] .hunter-footer{width:1010px;height:154px}
body[data-ui-profile="large"] .hunter-centerbar{grid-template-columns:1fr 205px;grid-template-rows:38px 116px}
body[data-ui-profile="large"] .hunter-quick button{height:32px;font-size:15px;min-width:138px}
body[data-ui-profile="large"] .hunter-status{width:360px;height:128px}
body[data-ui-profile="large"] .hunter-status .status-window{width:360px}
body[data-ui-profile="large"] .hunter-chat{width:390px;height:250px;grid-template-rows:32px 30px 1fr 32px}
body[data-ui-profile="large"] .hunter-right{width:310px}
body[data-ui-profile="large"] .analyzer-window{width:300px}
body[data-ui-profile="large"] #extraLootPanel.session-loot-window{width:260px!important;height:158px!important}
body[data-ui-profile="large"] .profile-card{min-width:245px;height:64px}
body[data-ui-profile="large"] .profile-avatar{width:48px;height:48px}
body[data-ui-profile="large"] .top-icons .top-btn,body[data-ui-profile="large"] .top-gear{width:58px;height:58px}
body[data-ui-profile="large"] .top-icons .top-btn img{width:44px;height:44px}
.range-inline button:disabled,.distance-control button:disabled{opacity:.32;cursor:not-allowed;filter:grayscale(1)}
/* ===== END R7.10.24 ===== */


/* ===== R7.10.24b — densidade visual por perfil (vence compactação global antiga) ===== */
/* Desktop: restaura proporções confortáveis. Regras de notebook continuam isoladas pelo AND largura+altura. */
body[data-ui-profile="desktop"]{--r73-top:74px!important;--r73-slot:44px!important;--r71018-top:68px!important}
body[data-ui-profile="desktop"] .hunter-brand{width:82px!important;height:61px!important}
body[data-ui-profile="desktop"] .hunter-brand .brand-main{font-size:31.25px!important}
body[data-ui-profile="desktop"] .profile-card{height:59px!important;min-width:222px!important;padding:4px 9px 4px 5px!important}
body[data-ui-profile="desktop"] .profile-avatar{width:49px!important;height:49px!important}
body[data-ui-profile="desktop"] .profile-copy{height:49px!important;grid-template-rows:17px 14px 17px!important}
body[data-ui-profile="desktop"] .profile-copy b{font-size:15px!important}body[data-ui-profile="desktop"] .profile-copy small{font-size:11.25px!important}body[data-ui-profile="desktop"] .profile-copy em{font-size:10px!important}
body[data-ui-profile="desktop"] .currency-pill{height:42px!important;min-width:106px!important}body[data-ui-profile="desktop"] .currency-pill img{width:21px!important;height:21px!important}body[data-ui-profile="desktop"] .currency-pill b{font-size:15px!important}
body[data-ui-profile="desktop"] .store-btn{height:57px!important;min-width:80px!important}body[data-ui-profile="desktop"] .store-btn img{width:32px!important;height:32px!important}body[data-ui-profile="desktop"] .store-btn span{font-size:13.75px!important}
body[data-ui-profile="desktop"] .top-icons .top-btn,body[data-ui-profile="desktop"] .top-gear{width:50px!important;height:50px!important}body[data-ui-profile="desktop"] .top-icons .top-btn img{width:39px!important;height:39px!important}
body[data-ui-profile="desktop"] .server-strip,body[data-ui-profile="desktop"] .server-strip b{font-size:12.5px!important}
body[data-ui-profile="desktop"] .hunter-status{width:235px!important;height:112px!important;left:9px!important;bottom:9px!important}
body[data-ui-profile="desktop"] .hunter-status .status-window{width:235px!important;height:112px!important}
body[data-ui-profile="desktop"] .hunter-status .window-body{padding:5px 6px!important}body[data-ui-profile="desktop"] .hunter-status .hud-meter-line{height:19px!important}body[data-ui-profile="desktop"] .hunter-status .meter{height:16px!important}body[data-ui-profile="desktop"] .hunter-status .meter span{font-size:11.25px!important}body[data-ui-profile="desktop"] .hunter-status .hud-row{height:15px!important;font-size:11.25px!important}body[data-ui-profile="desktop"] .hunter-status .xp-meter,body[data-ui-profile="desktop"] .hunter-status .stamina{height:8px!important}
body[data-ui-profile="desktop"] .hunter-footer{width:min(840px,calc(100vw - 560px))!important;height:125px!important;bottom:9px!important}
body[data-ui-profile="desktop"] .hunter-centerbar{height:125px!important;grid-template-columns:minmax(0,1fr) 184px!important;grid-template-rows:32px 93px!important}
body[data-ui-profile="desktop"] .hunter-quick button{height:27px!important;font-size:11.25px!important}body[data-ui-profile="desktop"] .hunter-centerbar .action-slot{width:42px!important;height:42px!important}body[data-ui-profile="desktop"] .hunter-centerbar .action-slot img{width:34px!important;height:34px!important}body[data-ui-profile="desktop"] .hunter-centerbar .combat-settings select,body[data-ui-profile="desktop"] .dropdown-trigger{height:24px!important;font-size:11.25px!important}body[data-ui-profile="desktop"] .combat-bottom-row{height:28px!important}body[data-ui-profile="desktop"] .range-inline{height:24px!important}
body[data-ui-profile="desktop"] .hunter-chat{width:338px;height:250px;grid-template-rows:29px 28px 1fr 30px!important}body[data-ui-profile="desktop"] .chat-head{height:29px!important;font-size:12.5px!important}body[data-ui-profile="desktop"] .chat-tabs{height:28px!important}body[data-ui-profile="desktop"] .chat-tabs span{font-size:10px!important}body[data-ui-profile="desktop"] .hunter-chat .chatlog{font-size:11.25px!important}body[data-ui-profile="desktop"] .chat-input input{font-size:11.25px!important}
body[data-ui-profile="desktop"] .analyzer-window{width:292px;height:156px}body[data-ui-profile="desktop"] .analyzer-window.analyzer-full{width:355px;height:min(540px,calc(100dvh - 90px))}body[data-ui-profile="desktop"] .analyzer-mini-grid span{font-size:8.75px}body[data-ui-profile="desktop"] .analyzer-mini-grid b{font-size:13.75px}
body[data-ui-profile="desktop"] #extraLootPanel.session-loot-window{width:254px!important;height:154px!important}

/* Large/QHD+: cresce novamente, sem alterar o canvas/mundo. */
body[data-ui-profile="large"]{--r73-top:82px!important;--r73-slot:48px!important;--r71018-top:76px!important}
body[data-ui-profile="large"] .hunter-brand{width:92px!important;height:68px!important}body[data-ui-profile="large"] .hunter-brand .brand-main{font-size:35px!important}
body[data-ui-profile="large"] .profile-card{height:66px!important;min-width:248px!important}body[data-ui-profile="large"] .profile-avatar{width:54px!important;height:54px!important}body[data-ui-profile="large"] .profile-copy{height:54px!important;grid-template-rows:19px 15px 19px!important}body[data-ui-profile="large"] .profile-copy b{font-size:16.25px!important}body[data-ui-profile="large"] .profile-copy small{font-size:12.5px!important}body[data-ui-profile="large"] .profile-copy em{font-size:11.25px!important}
body[data-ui-profile="large"] .currency-pill{height:46px!important;min-width:116px!important}body[data-ui-profile="large"] .store-btn{height:63px!important;min-width:88px!important}body[data-ui-profile="large"] .store-btn img{width:35px!important;height:35px!important}body[data-ui-profile="large"] .top-icons .top-btn,body[data-ui-profile="large"] .top-gear{width:55px!important;height:55px!important}body[data-ui-profile="large"] .top-icons .top-btn img{width:43px!important;height:43px!important}
body[data-ui-profile="large"] .hunter-status{width:270px!important;height:128px!important;left:10px!important;bottom:10px!important}body[data-ui-profile="large"] .hunter-status .status-window{width:270px!important;height:128px!important}body[data-ui-profile="large"] .hunter-status .hud-meter-line{height:21px!important}body[data-ui-profile="large"] .hunter-status .meter{height:18px!important}body[data-ui-profile="large"] .hunter-status .meter span{font-size:12.5px!important}body[data-ui-profile="large"] .hunter-status .hud-row{height:17px!important;font-size:12.5px!important}body[data-ui-profile="large"] .hunter-status .xp-meter,body[data-ui-profile="large"] .hunter-status .stamina{height:9px!important}
body[data-ui-profile="large"] .hunter-footer{width:960px!important;height:142px!important;bottom:10px!important}body[data-ui-profile="large"] .hunter-centerbar{height:142px!important;grid-template-columns:minmax(0,1fr) 205px!important;grid-template-rows:36px 106px!important}body[data-ui-profile="large"] .hunter-quick button{height:31px!important;font-size:12.5px!important}body[data-ui-profile="large"] .hunter-centerbar .action-slot{width:47px!important;height:47px!important}body[data-ui-profile="large"] .hunter-centerbar .action-slot img{width:39px!important;height:39px!important}
body[data-ui-profile="large"] .hunter-chat{width:380px;height:280px;grid-template-rows:32px 31px 1fr 33px!important}body[data-ui-profile="large"] .chat-head{height:32px!important;font-size:13.75px!important}body[data-ui-profile="large"] .chat-tabs{height:31px!important}body[data-ui-profile="large"] .hunter-chat .chatlog{font-size:12.5px!important}
body[data-ui-profile="large"] .analyzer-window{width:320px;height:170px}body[data-ui-profile="large"] .analyzer-window.analyzer-full{width:390px;height:min(620px,calc(100dvh - 100px))}body[data-ui-profile="large"] #extraLootPanel.session-loot-window{width:280px!important;height:168px!important}
/* ===== END R7.10.24b ===== */


/* ===== R7.10.25 — LOOT MINI/EXPANDIDO + HOTBAR SHIFT + NPC SELL ===== */
/* O modo recolhido do Loot da sessão NÃO vira somente uma barra de título.
   Ele permanece como a janela compacta da referência; o quadrado abre o painel grande. */
#extraLootPanel.session-loot-window,
body[data-ui-profile="desktop"] #extraLootPanel.session-loot-window,
body[data-ui-profile="large"] #extraLootPanel.session-loot-window{
  width:254px!important;
  height:116px!important;
  min-width:220px!important;
  min-height:104px!important;
  max-width:calc(100vw - 8px)!important;
  max-height:calc(100vh - 62px)!important;
}
#extraLootPanel.session-loot-window.collapsed,
body[data-ui-profile="desktop"] #extraLootPanel.session-loot-window.collapsed,
body[data-ui-profile="large"] #extraLootPanel.session-loot-window.collapsed{
  width:254px!important;
  height:116px!important;
}
#extraLootPanel.session-loot-window.collapsed .session-loot-body{display:grid!important}
#extraLootPanel.session-loot-window:not(.collapsed){
  width:min(560px,calc(100vw - 24px))!important;
  height:min(610px,calc(100vh - 82px))!important;
}
#extraLootPanel.session-loot-window:not(.collapsed) .extra-loot-grid{
  grid-template-columns:repeat(auto-fill,42px)!important;
  justify-content:start!important;
  align-content:start!important;
  padding:10px!important;
}
#extraLootPanel.session-loot-window.collapsed .extra-loot-grid{
  grid-template-columns:repeat(4,42px)!important;
  grid-auto-rows:42px!important;
  justify-content:center!important;
  padding:7px!important;
}
#extraLootPanel.session-loot-window.collapsed .extra-loot-empty{
  min-height:43px!important;
  padding:9px 5px 3px!important;
}
#extraLootPanel.session-loot-window.collapsed .extra-loot-empty em{font-size:13.75px!important;margin-bottom:3px!important}
#extraLootPanel.session-loot-window.collapsed .extra-loot-empty small{display:none!important}
#extraLootPanel.session-loot-window.collapsed .extra-loot-help{height:20px!important}
@media(max-width:900px){
  #extraLootPanel.session-loot-window,#extraLootPanel.session-loot-window.collapsed{width:220px!important;height:108px!important}
  #extraLootPanel.session-loot-window:not(.collapsed){width:min(470px,calc(100vw - 16px))!important;height:min(520px,calc(100vh - 72px))!important}
}

/* Skill desligada por Shift+clique deve ficar inequivocamente apagada. */
.hunter-centerbar .action-slot.disabled:not(.empty){opacity:.34!important;filter:grayscale(.92) brightness(.62)!important}
.hunter-centerbar .action-slot.disabled:not(.empty):hover{opacity:.52!important;filter:grayscale(.75) brightness(.76)!important}

/* Corrige a regressão do VENDER: o grid de Comprar tinha display:grid!important e ignorava hidden. */
.huntera-shop-layout .npc-shop-grid[hidden],
.huntera-shop-layout .npc-sell-grid[hidden]{display:none!important}
.huntera-shop-layout.sell-mode .npc-shop-grid{display:none!important}
.huntera-shop-layout.buy-mode .npc-sell-grid{display:none!important}
/* ===== END R7.10.25 ===================================================== */

/* R7.10.25b: perfis antigos tinham especificidade maior e impediam o Loot expandido. */
body[data-ui-profile] #extraLootPanel.session-loot-window:not(.collapsed){width:min(560px,calc(100vw - 24px))!important;height:min(610px,calc(100vh - 82px))!important}
@media(max-width:900px){body[data-ui-profile] #extraLootPanel.session-loot-window:not(.collapsed){width:min(470px,calc(100vw - 16px))!important;height:min(520px,calc(100vh - 72px))!important}}


/* ===== R7.10.31 — TIPOGRAFIA UI 125% =======================================
   Todos os font-size em px desta folha foram multiplicados por 1.25.
   O canvas/mapa não é ampliado: somente a tipografia da interface. */
:root{--dbo-ui-font-scale:1.25}
/* ===== END R7.10.31 ========================================================= */


/* ===== R7.10.45 · DARK REFERENCE HUD ===================================== */
:root{--r45-panel:#0a1018;--r45-panel2:#0e1722;--r45-line:#304157;--r45-gold:#b18a43;--r45-gold2:#d0ad68;--r45-text:#d6e0ec;--r45-muted:#7f90a6}
html,body,.game-shell{background:#05070b!important;color:var(--r45-text)!important}
.hunter-topbar{height:64px!important;min-height:64px!important;padding:6px 12px 6px 74px!important;gap:8px!important;background:linear-gradient(#101720,#070b10)!important;border-bottom:1px solid #29384b!important;box-shadow:0 3px 16px #000b!important}
.hunter-brand{color:#d1ad60!important;text-shadow:0 1px #1d1308!important;font-size:25px!important}.hunter-brand .brand-sub{color:#74869e!important;font-size:9px!important;letter-spacing:2px!important}
.profile-card{height:50px!important;min-width:220px!important;border:1px solid #314257!important;border-radius:4px!important;background:linear-gradient(#101824,#080e15)!important;box-shadow:inset 0 0 0 1px #05080c!important;padding:4px 9px 4px 5px!important}.profile-card:hover{border-color:#6d5b36!important}.profile-avatar{width:42px!important;height:42px!important;border-radius:50%!important;border:2px solid #6d592e!important;background:#04070b!important}.profile-copy b{color:#e0e6ef!important}.profile-copy small{color:#8798ae!important}.profile-copy em{color:#9f8754!important}.profile-copy em strong{color:#d0af68!important}
.currency-pill{height:40px!important;min-width:104px!important;border:1px solid #304157!important;border-radius:4px!important;background:#091019!important;box-shadow:inset 0 0 0 1px #04070b!important}.currency-pill b{color:#d1af63!important}.currency-pill img{filter:saturate(.8) brightness(.9)!important}.currency-pill button{background:#17130d!important;border-color:#62502b!important;color:#c8a65e!important}
.store-btn{height:48px!important;min-width:76px!important;border:1px solid #6c552a!important;border-radius:4px!important;background:linear-gradient(#2a2113,#13100a)!important;color:#d2b777!important;box-shadow:inset 0 0 0 1px #0b0805!important}.store-btn:hover{border-color:#93743b!important;color:#ecd39a!important}.store-btn img{filter:saturate(.75) brightness(.85)!important}
.server-strip{justify-content:center!important;color:#8394aa!important;font-size:11px!important}.online-dot{box-shadow:none!important}
.top-icons{position:fixed!important;left:10px!important;top:82px!important;right:auto!important;margin:0!important;z-index:96!important;display:flex!important;flex-direction:column!important;gap:7px!important;padding:6px!important;border:1px solid #29394d!important;border-radius:7px!important;background:rgba(7,11,17,.95)!important;box-shadow:0 8px 22px #000b!important}.top-icons .top-btn{width:46px!important;height:46px!important;min-width:46px!important;border:1px solid #34465d!important;border-radius:6px!important;background:linear-gradient(#111b28,#080e15)!important;box-shadow:inset 0 0 0 1px #05080d!important;padding:4px!important}.top-icons .top-btn:hover{border-color:#816a39!important;background:#151a20!important}.top-icons .top-btn img{width:36px!important;height:36px!important;filter:saturate(.86) brightness(.88)!important}.top-gear{position:fixed!important;left:16px!important;top:316px!important;z-index:97!important;width:46px!important;height:46px!important;border:1px solid #34465d!important;background:#0a111a!important;color:#899bb1!important;border-radius:6px!important}.top-gear:hover{border-color:#816a39!important;color:#ceb06d!important}
.main,.world-wrap{background:#04070b!important}.world-badge{background:#08101acc!important;border-color:#35465b!important;color:#aab7c8!important;box-shadow:none!important}.hint{background:#06090fcc!important;border-color:#303e51!important;color:#7f91a7!important}
.hunter-status{left:74px!important;top:76px!important;bottom:auto!important;width:248px!important;height:auto!important;z-index:67!important}.hunter-status .status-window{width:248px!important;height:auto!important;border:1px solid #33455b!important;background:rgba(8,13,20,.95)!important;box-shadow:0 7px 20px #000b!important;border-radius:5px!important;overflow:hidden!important}.hunter-status .window-body{padding:7px!important}.hunter-status .portrait{width:40px!important;height:40px!important;border-radius:4px!important;border-color:#5b6042!important}.hunter-status .name{color:#d6bb78!important;font-size:12px!important}.hunter-status .sub{color:#7e90a6!important;font-size:9px!important}.hunter-status .meter{border-color:#243247!important;background:#05080d!important}.hunter-status .hp i{background:linear-gradient(90deg,#1b6d3b,#319556)!important}.hunter-status .ki i{background:linear-gradient(90deg,#235b96,#317abb)!important}.hunter-status .xp-meter i,.hunter-status .stamina i{background:linear-gradient(90deg,#79591f,#ad8133)!important}
.window,.session-loot-window,.hunter-chat,.analyzer-window{border-color:#324258!important;background:rgba(8,13,20,.95)!important;box-shadow:0 7px 22px #000c!important}.window-title,.session-loot-title,.chat-head{background:linear-gradient(#111b28,#091019)!important;border-bottom-color:#2c3b4f!important;color:#9fb1c8!important}.analyzer-mini-grid>div{background:#080e16!important;border-color:#1d2a3b!important}.analyzer-mini-grid span{color:#687b94!important}
.hunter-footer{bottom:10px!important;height:112px!important;width:min(900px,calc(100vw - 520px))!important;border:1px solid #334258!important;border-radius:8px!important;background:rgba(7,11,17,.96)!important;box-shadow:0 9px 26px #000d!important;overflow:hidden!important}.hunter-centerbar{height:112px!important;grid-template-columns:minmax(0,1fr) 178px!important;grid-template-rows:30px 82px!important;background:#080d14!important}.hunter-quick{height:30px!important;padding:3px 5px!important;gap:4px!important;border-bottom:1px solid #2a394c!important;background:#0b1119!important}.hunter-quick button{height:24px!important;min-width:92px!important;border:1px solid #494939!important;background:linear-gradient(#171c22,#0b1016)!important;color:#acb8c8!important;font-size:9px!important}.hunter-quick button:hover{border-color:#886d38!important;color:#d7c088!important}.hunter-quick #quickSell{border-color:#705a2e!important;color:#c7a75d!important;background:linear-gradient(#251e12,#110e09)!important}.hunter-quick #leaveHunt{border-color:#68404a!important;color:#c7929c!important;background:#211218!important}
.hunter-centerbar .hotbar{padding:8px 6px!important;gap:5px!important;justify-content:flex-start!important;background:#070b11!important;overflow-x:auto!important}.hunter-centerbar .action-slot{width:46px!important;height:46px!important;min-width:46px!important;padding:2px!important;display:block!important;border:1px solid #3a4b61!important;border-radius:4px!important;background:linear-gradient(#111a26,#080d14)!important;box-shadow:inset 0 0 0 1px #04070b!important;overflow:hidden!important}.hunter-centerbar .action-slot:hover{border-color:#8a713e!important;box-shadow:inset 0 0 0 1px #594925!important}.hunter-centerbar .action-slot.empty{background:#070b10!important;border-color:#273448!important}.hunter-centerbar .action-slot img{width:40px!important;height:40px!important;object-fit:contain!important;image-rendering:pixelated!important;display:block!important;margin:0 auto!important;filter:saturate(.94) brightness(.92)!important}.hunter-centerbar .action-slot .slot-key{top:1px!important;right:3px!important;font-size:8px!important;color:#d0b775!important;text-shadow:0 1px 2px #000!important;z-index:3!important}.hunter-centerbar .action-slot .slot-count{font-size:8px!important;color:#ddcc97!important;z-index:3!important}.hunter-centerbar .action-slot .cooldown-mask{background:rgba(0,0,0,.66)!important;z-index:2!important}.hunter-centerbar .action-slot.disabled:not(.empty){opacity:.38!important;filter:grayscale(.65) brightness(.64)!important}
.combat-settings{border-left:1px solid #2d3c50!important;border-top:0!important;background:#091019!important;color:#7f91a8!important;padding:5px!important}.combat-settings select,.dropdown-trigger{background:#0b121c!important;border-color:#34465d!important;color:#aebdd0!important}.range-inline b{color:#c8aa67!important}.combat-mini-icons button{background:#08101a!important;border-color:#32445a!important}.combat-mini-icons button.active{border-color:#7d6737!important;box-shadow:none!important}
.hunter-chat{right:10px!important;bottom:10px!important;width:320px!important;height:220px!important;border-radius:7px!important;overflow:hidden!important;grid-template-rows:29px 27px 1fr 30px!important}.chat-head{height:29px!important;color:#a8b8cc!important}.chat-tabs{background:#080d14!important;border-bottom-color:#263549!important}.chat-tabs span{color:#71839b!important}.chat-tabs span.active{color:#d2b56f!important;border-bottom-color:#806633!important}.hunter-chat .chatlog{background:#070b11!important;color:#8ea0b7!important}.hunter-chat .chatlog .system{color:#c6a85f!important}.chat-input{background:#080d14!important;border-top-color:#263549!important}.chat-input input{background:#0a111a!important;border-color:#2e3e53!important;color:#b8c5d4!important}.chat-input button{background:#241c10!important;border-color:#6c562c!important;color:#cfb06f!important}
.modal{background:#0b1119!important;border-color:#3a4c63!important;box-shadow:0 24px 80px #000e!important}.modal-head{background:linear-gradient(#121c29,#0a1119)!important;border-bottom-color:#34465c!important;color:#c2aa70!important}.primary{border-color:#725a2d!important;background:linear-gradient(#2d2415,#15110b)!important;color:#dbc184!important}.secondary{border-color:#37495f!important;background:#0f1722!important;color:#aab8ca!important}
@media(max-width:1180px){.hunter-topbar{padding-left:64px!important}.top-icons{left:6px!important}.top-gear{left:12px!important}.hunter-status{left:66px!important;width:220px!important}.hunter-status .status-window{width:220px!important}.hunter-chat{width:280px!important}.hunter-footer{width:min(760px,calc(100vw - 430px))!important}}
/* ===== END R7.10.45 ======================================================== */


/* ===== R7.10.46 · REAL RANGE ICONS + REFINED DARK UI ====================== */
:root{--r46-bg:#06090d;--r46-panel:#09111a;--r46-panel2:#0d1621;--r46-line:#31445a;--r46-soft:#243345;--r46-gold:#b49455;--r46-gold2:#d5ba7e;--r46-text:#d6e0eb;--r46-muted:#7f91a8}
.hunter-topbar{background:linear-gradient(#0d1520,#070c12)!important;box-shadow:0 2px 12px #0008!important;border-bottom:1px solid #243446!important}
.profile-card,.currency-pill,.store-btn,.top-icons,.top-gear,.status-window,.window,.session-loot-window,.hunter-chat,.analyzer-window,.hunter-footer{box-shadow:0 4px 14px #0009!important}
.profile-card,.currency-pill,.top-icons .top-btn,.top-gear,.hunter-status .status-window,.window,.session-loot-window,.hunter-chat,.analyzer-window,.hunter-footer,.combat-settings{border-color:#2d4055!important}
.brand-main{letter-spacing:.5px!important}.brand-sub{opacity:.9!important}
.top-icons{background:rgba(7,11,17,.92)!important;padding:7px!important}.top-icons .top-btn{border-radius:5px!important}
.hunter-status .window-body{background:linear-gradient(180deg,rgba(9,17,26,.96),rgba(7,12,18,.96))!important}
.hunter-footer{background:rgba(7,11,17,.98)!important}
.hunter-centerbar{background:#070c12!important}.hunter-quick{background:#0a1017!important}
.hunter-centerbar .hotbar{padding:7px 6px 8px!important}
.hunter-centerbar .action-slot{position:relative!important}
.hunter-centerbar .action-slot::after{content:'';position:absolute;inset:1px;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);pointer-events:none}
.hunter-centerbar .action-slot img{filter:none!important}
.hunter-centerbar .action-slot .slot-key{background:rgba(7,11,17,.88)!important;border:1px solid #544422!important;padding:0 2px!important;border-radius:2px!important}
.hunter-centerbar .action-slot .slot-count{background:rgba(7,11,17,.88)!important;border:1px solid #32455b!important;padding:0 3px!important;border-radius:2px!important;bottom:1px!important;right:1px!important}
.hunter-chat{background:rgba(8,13,20,.98)!important}.chat-head,.session-loot-title,.window-title{font-weight:700!important;letter-spacing:.2px!important}
.chat-tabs span,.server-strip,.hint,.world-badge,.combat-settings, .analyzer-mini-grid span{font-size:11px!important}
.quick button,.chat-input button,.primary,.secondary{transition:none!important}
.modal{border-radius:8px!important}.modal-head{font-weight:700!important}
/* ===== END R7.10.46 ======================================================= */


/* ===== R7.10.48 · DBO DARK THEMED INTERFACE — FINAL OVERRIDE ============= */
:root{
  --r48-blue:#305d8a;--r48-blue2:#1a3550;--r48-blue3:#0d1a28;
  --r48-panel:#08111a;--r48-panel2:#0b1622;--r48-edge:#37536e;
  --r48-gold:#b58b3f;--r48-gold2:#d3ae68;--r48-red:#7f3740;
  --r48-text:#d7e0eb;--r48-muted:#8193a9;
}
html,body,.game-shell{background:#05080d!important;color:var(--r48-text)!important}
/* Keep world/camera geometry untouched; HUD overlays the world. */
.main{inset:64px 0 0 0!important;background:#04070b!important}.world-wrap{inset:0!important}

/* TOP BAR — reference composition, darkened */
.hunter-topbar{height:64px!important;min-height:64px!important;padding:5px 12px!important;display:flex!important;align-items:center!important;gap:10px!important;background:linear-gradient(180deg,#0e1926 0%,#071019 100%)!important;border:0!important;border-bottom:2px solid #243a50!important;box-shadow:0 4px 14px #000a!important}
.hunter-brand{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:center!important;width:132px!important;height:52px!important;padding:0 9px!important;border:0!important;background:transparent!important;transform:none!important}
.hunter-brand::before{content:'';position:absolute;inset:3px 1px;border-left:3px solid #8f6b2d;border-bottom:2px solid #294e70;clip-path:polygon(0 0,100% 0,100% 78%,88% 100%,0 100%)}
.hunter-brand .brand-main{font:900 italic 29px/25px Arial,sans-serif!important;letter-spacing:-2px!important;color:#e5a82e!important;text-shadow:2px 2px 0 #5d2b11,0 0 1px #000!important;z-index:1}.hunter-brand .brand-sub{font:800 10px/12px Arial,sans-serif!important;letter-spacing:4px!important;color:#6ea5cf!important;margin-left:31px!important;z-index:1}
.profile-card{height:52px!important;min-width:244px!important;padding:4px 12px 4px 5px!important;display:flex!important;align-items:center!important;gap:8px!important;border:1px solid #365978!important;border-radius:4px!important;background:linear-gradient(180deg,#0d1b29,#08121c)!important;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)!important;box-shadow:inset 0 0 0 1px #050a0f!important}.profile-avatar{width:43px!important;height:43px!important;border-radius:2px!important;border:1px solid #9b752f!important;background:#05090d!important;image-rendering:pixelated!important}.profile-copy{display:grid!important;grid-template-rows:auto auto auto!important;line-height:1.05!important}.profile-copy b{font-size:14px!important;color:#d8bc74!important;letter-spacing:.4px!important}.profile-copy small{font-size:10px!important;color:#a0b0c3!important}.profile-copy em{font-size:9px!important;color:#6f88a3!important}.profile-copy em strong{color:#d4b768!important}
.currency-pill{height:43px!important;min-width:120px!important;padding:0 12px!important;border:1px solid #314b65!important;border-radius:4px!important;background:linear-gradient(#0d1824,#08111a)!important;clip-path:polygon(7px 0,100% 0,100% 100%,0 100%,0 7px)!important}.currency-pill b{font-size:15px!important;color:#d4b469!important}.currency-pill img{width:25px!important;height:25px!important;image-rendering:pixelated!important;filter:saturate(.8) brightness(.92)!important}.secondary-currency .orb{color:#6e91b1!important}.currency-pill button{background:#3a2d16!important;border:1px solid #6d5526!important;color:#d1ad63!important}
.store-btn{height:48px!important;min-width:116px!important;border:1px solid #8b642b!important;border-radius:4px!important;background:linear-gradient(#6b4819,#2a1d0d)!important;clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)!important;color:#ead18b!important;text-transform:uppercase!important;font-weight:800!important;box-shadow:inset 0 0 0 1px #181007!important}.store-btn img{width:25px!important;height:25px!important;filter:saturate(.75) brightness(.9)!important}.server-strip{flex:1!important;min-width:130px!important;color:#8295aa!important;font-size:11px!important}.online-dot{width:7px!important;height:7px!important;background:#71b956!important;box-shadow:0 0 3px #71b956!important}
/* top-right square icons, not the old vertical rail */
.top-icons{position:static!important;display:flex!important;flex-direction:row!important;gap:5px!important;margin-left:auto!important;padding:4px!important;border:1px solid #2d4b66!important;border-radius:5px!important;background:#07111b!important;box-shadow:inset 0 0 0 1px #03070b!important}.top-icons .top-btn{width:45px!important;height:45px!important;min-width:45px!important;padding:4px!important;border:1px solid #31516e!important;border-radius:3px!important;background:linear-gradient(#0e1b29,#08121c)!important}.top-icons .top-btn:hover{border-color:#7f6331!important;background:#111a23!important}.top-icons .top-btn img{width:35px!important;height:35px!important;object-fit:contain!important;image-rendering:pixelated!important;filter:saturate(.85) brightness(.9)!important}.top-gear{position:static!important;width:45px!important;height:45px!important;min-width:45px!important;border:1px solid #31516e!important;border-radius:3px!important;background:#0a1520!important;color:#a6b4c4!important;font-size:22px!important}

/* SESSION LOOT + ANALYZER — left column like reference */
.session-loot-window{left:12px!important;top:82px!important;width:300px!important;border:1px solid #315a7b!important;border-radius:5px!important;background:rgba(7,15,24,.96)!important;box-shadow:0 4px 15px #000b!important}.session-loot-title{height:32px!important;padding:5px 8px!important;background:linear-gradient(#12253a,#0b1826)!important;border-bottom:1px solid #31516c!important;color:#c5d6e8!important;text-transform:uppercase!important;font-size:12px!important}.session-loot-help{color:#71859d!important}
.analyzer-window{border:1px solid #315a7b!important;border-radius:5px!important;background:rgba(7,15,24,.96)!important;box-shadow:0 4px 15px #000b!important}.analyzer-window .window-title{height:32px!important;background:linear-gradient(#12253a,#0b1826)!important;color:#c5d6e8!important;text-transform:uppercase!important}.analyzer-mini-grid>div{background:#09131e!important;border-color:#1d3449!important}.analyzer-mini-grid span{color:#71859d!important}.analyzer-mini-grid b{color:#9fca74!important}

/* STATUS HUD — bottom-left, compact, reference-like */
.hunter-status{position:fixed!important;left:10px!important;top:auto!important;bottom:10px!important;width:315px!important;height:158px!important;z-index:64!important;transform:none!important}.hunter-status .status-window{position:absolute!important;inset:0!important;width:315px!important;height:158px!important;border:1px solid #315a7b!important;border-radius:7px!important;background:linear-gradient(180deg,rgba(8,17,27,.97),rgba(5,11,18,.97))!important;clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px)!important;box-shadow:0 5px 18px #000c!important}.hunter-status .window-body{height:100%!important;padding:8px 9px!important;display:grid!important;grid-template-columns:58px 1fr!important;grid-template-rows:45px 24px 24px 19px 13px!important;column-gap:8px!important;row-gap:2px!important;background:transparent!important}.hunter-status .charline{display:flex!important;grid-column:1/3!important;grid-row:1!important;align-items:center!important;gap:8px!important}.hunter-status .portrait{display:block!important;width:48px!important;height:48px!important;border:1px solid #8b6d36!important;border-radius:4px!important;background:#04080d!important;image-rendering:pixelated!important}.hunter-status .name{font-size:13px!important;color:#d5b970!important}.hunter-status .sub{font-size:10px!important;color:#7d91a9!important}.hunter-status .hud-meter-line{grid-column:1/3!important;height:22px!important}.hunter-status .hp-line{grid-row:2!important}.hunter-status .ki-line{grid-row:3!important}.hunter-status .meter{height:20px!important;margin:0!important;border:1px solid #34465b!important;border-radius:2px!important;background:#03070b!important;box-shadow:inset 0 0 0 1px #111a24!important}.hunter-status .hp i{background:linear-gradient(90deg,#b54b26,#d36a32)!important}.hunter-status .ki i{background:linear-gradient(90deg,#1f5c9c,#3380c3)!important}.hunter-status .meter span{font-size:11px!important}.hunter-status .hud-row{grid-column:1/3!important;grid-row:4!important;height:18px!important;font-size:10px!important;color:#9aaabe!important}.hunter-status .hud-row b{color:#d3b568!important}.hunter-status .xp-meter{grid-column:1/3!important;grid-row:5!important;height:9px!important}.hunter-status .xp-meter i{background:linear-gradient(90deg,#c59a2d,#e0b547)!important}.hunter-status .stamina-row,.hunter-status .stamina{display:none!important}.hunter-status .status-badges{right:7px!important;top:7px!important;bottom:auto!important}

/* ACTION BAR — bottom center; tab row + real skill icons */
.hunter-footer{position:fixed!important;left:50%!important;right:auto!important;bottom:10px!important;transform:translateX(-50%)!important;width:min(840px,calc(100vw - 700px))!important;height:142px!important;border:0!important;border-radius:7px!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;z-index:65!important}.hunter-centerbar{position:absolute!important;inset:0!important;height:142px!important;display:grid!important;grid-template-columns:minmax(0,1fr) 180px!important;grid-template-rows:33px 109px!important;border:1px solid #315a7b!important;border-radius:7px!important;background:rgba(6,13,21,.98)!important;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)!important;box-shadow:0 5px 18px #000d!important;overflow:hidden!important}.hunter-quick{grid-column:1!important;grid-row:1!important;height:33px!important;padding:4px!important;gap:4px!important;background:#091522!important;border-bottom:1px solid #29465f!important}.hunter-quick button{height:25px!important;min-width:105px!important;flex:1 1 auto!important;padding:0 9px!important;border:1px solid #3d536a!important;background:linear-gradient(#132130,#0a131d)!important;color:#b8c6d6!important;font:700 9px Arial,sans-serif!important;letter-spacing:.25px!important;text-transform:uppercase!important}.hunter-quick #quickSell{border-color:#7b5d2c!important;background:linear-gradient(#4a3518,#20170b)!important;color:#dcc179!important}.hunter-quick #leaveHunt{border-color:#70414a!important;background:#241218!important;color:#cf969e!important}
.hunter-centerbar .hotbar{grid-column:1!important;grid-row:2!important;height:109px!important;padding:7px!important;display:grid!important;grid-template-columns:repeat(10,48px)!important;grid-template-rows:repeat(2,48px)!important;gap:5px!important;align-content:center!important;justify-content:start!important;overflow:auto!important;background:#071019!important}.hunter-centerbar .action-slot{width:48px!important;height:48px!important;min-width:48px!important;padding:2px!important;border:1px solid #354b61!important;border-radius:3px!important;background:linear-gradient(#0e1925,#080f17)!important;box-shadow:inset 0 0 0 1px #03070a!important;overflow:hidden!important}.hunter-centerbar .action-slot:hover{border-color:#8a6933!important}.hunter-centerbar .action-slot img{width:42px!important;height:42px!important;display:block!important;margin:auto!important;object-fit:contain!important;image-rendering:pixelated!important;filter:none!important}.hunter-centerbar .action-slot .slot-key{top:1px!important;right:2px!important;padding:0 2px!important;background:#07101bdd!important;border:1px solid #6b5229!important;color:#e0c27d!important;font-size:8px!important}.hunter-centerbar .action-slot .slot-count{bottom:1px!important;right:1px!important;background:#07101bdd!important;color:#d4e0ec!important;font-size:8px!important}.combat-settings{grid-column:2!important;grid-row:1/3!important;padding:7px!important;border-left:1px solid #29465f!important;background:#091522!important;color:#8395aa!important}.combat-settings select,.dropdown-trigger{background:#08121c!important;border:1px solid #334d66!important;color:#bac7d5!important}.combat-mini-icons button{background:#08131e!important;border-color:#334d66!important}.range-inline b{color:#d0ae68!important}

/* CHAT — bottom-right like reference */
.hunter-chat{position:fixed!important;right:10px!important;left:auto!important;top:auto!important;bottom:10px!important;width:360px!important;height:250px!important;border:1px solid #315a7b!important;border-radius:7px!important;background:rgba(6,13,21,.98)!important;box-shadow:0 5px 18px #000d!important;grid-template-rows:31px 28px 1fr 31px!important;overflow:hidden!important;z-index:68!important;resize:both!important}.chat-head{height:31px!important;padding:5px 8px!important;background:linear-gradient(#12253a,#0b1826)!important;border-bottom:1px solid #31516c!important;color:#c5d6e8!important;text-transform:uppercase!important;font-size:12px!important}.chat-tabs{height:28px!important;background:#08131e!important;border-bottom:1px solid #243d54!important}.chat-tabs span{padding:7px 10px 5px!important;color:#7c8fa6!important;font-size:9px!important;text-transform:uppercase!important}.chat-tabs span.active{color:#d0b36d!important;border-bottom:2px solid #8c6c34!important}.hunter-chat .chatlog{padding:7px 8px!important;background:#060d15!important;color:#a5b3c4!important;font-size:10px!important;line-height:1.45!important}.hunter-chat .chatlog .system{color:#d4b568!important}.chat-input{height:31px!important;background:#08131e!important;border-top:1px solid #243d54!important}.chat-input input{background:#07111a!important;border:1px solid #2c455e!important;color:#c6d1de!important}.chat-input button{background:#3e2d14!important;border-left:1px solid #775a2a!important;color:#dbc17d!important;text-transform:uppercase!important;font-weight:700!important}

/* Modal / browser theme */
.modal{background:#08121c!important;border:1px solid #315a7b!important;border-radius:7px!important;box-shadow:0 20px 70px #000e!important}.modal-head{min-height:36px!important;background:linear-gradient(#12253a,#0b1826)!important;border-bottom:1px solid #31516c!important;color:#d0b66f!important;text-transform:uppercase!important;font-weight:800!important}.modal .primary{background:linear-gradient(#5a401c,#2a1d0c)!important;border-color:#8a682d!important;color:#ead190!important}.modal .secondary{background:#0d1b29!important;border-color:#35536d!important;color:#b6c5d5!important}

/* keep older responsive rules from undoing this desktop layout */
@media (min-width:1181px){.hunter-status{display:block!important}.hunter-chat{display:grid!important}.top-icons{display:flex!important}.store-btn,.server-strip,.hunter-brand,.secondary-currency{display:flex!important}}
/* ===== END R7.10.48 ======================================================= */


/* ===== V40 ACTION MODAL + QUICK SELL REFINEMENT ===== */
html body[data-ui-profile] .hunter-centerbar .hunter-quick:not(.hunt-mode) #quickSell{
  border-color:#98703a!important;
  background:linear-gradient(180deg,#4f3818 0%,#2b1e0c 58%,#1d1409 100%)!important;
  color:#f2d08b!important;
  box-shadow:inset 0 1px 0 rgba(255,220,130,.10),0 0 0 1px rgba(6,12,20,.45)!important;
}
html body[data-ui-profile] .hunter-centerbar .hunter-quick:not(.hunt-mode) #quickSell:hover{
  background:linear-gradient(180deg,#62451e 0%,#32220d 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,220,130,.18),0 0 8px rgba(248,189,63,.16)!important;
}
#actionModal .action-modal{width:min(1020px,calc(100vw - 24px))!important;max-height:min(calc(100dvh - 64px),760px)!important;border:1px solid #446184!important;background:linear-gradient(180deg,#0f1827 0%,#0a1320 100%)!important;box-shadow:0 18px 40px rgba(0,0,0,.58),inset 0 1px 0 rgba(163,214,255,.05)!important}
#actionModal .modal-head{color:#8fc0ff!important;background:linear-gradient(180deg,#18273c 0%,#101827 100%)!important;border-bottom:1px solid #385777!important;letter-spacing:.03em}
#actionModal .action-body{display:flex;flex-direction:column;padding:0!important;background:transparent!important}
#actionModal .action-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:14px 14px 10px!important;background:transparent!important}
#actionModal .action-tab{height:38px!important;border:1px solid #536987!important;background:linear-gradient(180deg,#142238 0%,#0f1928 100%)!important;color:#cad8ef!important;font:700 14px/1 Arial,sans-serif!important;text-transform:uppercase!important;letter-spacing:.03em!important}
#actionModal .action-tab.active{border-color:#58a7ff!important;background:linear-gradient(180deg,#173456 0%,#10233a 100%)!important;box-shadow:inset 0 0 0 1px rgba(84,177,255,.38)!important;color:#f1f7ff!important}
#actionModal .action-picker{display:grid!important;grid-template-columns:minmax(330px,40%) minmax(0,1fr)!important;gap:14px!important;height:min(360px,40vh)!important;min-height:320px!important;padding:0 14px 12px!important;border-bottom:1px solid #2a3f59!important}
#actionModal .action-list{height:100%!important;overflow:auto!important;padding-right:6px!important}
#actionModal .action-list-item{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-height:60px!important;margin:0 0 7px!important;padding:8px 10px!important;border:1px solid #314760!important;border-radius:6px!important;background:linear-gradient(180deg,#0c1624 0%,#0a1220 100%)!important;cursor:pointer!important;transition:border-color .12s ease,background .12s ease,transform .12s ease!important}
#actionModal .action-list-item:hover{border-color:#4f80b1!important;background:linear-gradient(180deg,#0f1a2b 0%,#0c1726 100%)!important}
#actionModal .action-list-item.active{border-color:#5caeff!important;background:linear-gradient(180deg,#14263e 0%,#102134 100%)!important;box-shadow:inset 0 0 0 1px rgba(86,175,255,.25)!important}
#actionModal .action-list-item.locked{opacity:.72!important;filter:saturate(.5)!important}
#actionModal .action-list-item.locked img{filter:grayscale(.45) brightness(.9)!important}
#actionModal .action-list-item img{width:38px!important;height:38px!important;border:1px solid #41536f!important;background:#09101a!important;padding:2px!important}
#actionModal .action-list-copy{min-width:0!important}
#actionModal .action-list-copy strong{display:block!important;font-size:15px!important;line-height:1.1!important;color:#edf4ff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#actionModal .action-list-copy span{display:block!important;margin-top:4px!important;font-size:12px!important;color:#8ea5c5!important;line-height:1.2!important}
#actionModal .action-req-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:22px!important;padding:0 8px!important;border:1px solid #64573b!important;border-radius:999px!important;background:linear-gradient(180deg,#2c2313 0%,#1a140b 100%)!important;color:#e6c783!important;font:800 10px/1 Arial,sans-serif!important;white-space:nowrap!important}
#actionModal .action-list-item.locked .action-req-pill{border-color:#6a4a44!important;background:linear-gradient(180deg,#2c1918 0%,#181011 100%)!important;color:#f0b1a8!important}
#actionModal .action-details{display:flex!important;flex-direction:column!important;min-height:0!important;border:1px solid #314760!important;border-radius:6px!important;background:linear-gradient(180deg,#09111c 0%,#08101a 100%)!important;padding:14px!important;overflow:auto!important}
#actionModal .action-title-line{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:12px!important;align-items:center!important}
#actionModal .action-title-line img{width:52px!important;height:52px!important;border:1px solid #41536f!important;background:#09111b!important}
#actionModal .action-title-line h2{margin:0!important;font-size:18px!important;line-height:1.15!important;color:#f1f6ff!important}
#actionModal .type-pill{margin-top:4px!important;border:1px solid #44648a!important;background:#102235!important;color:#9dc6ff!important;font:800 10px/1 Arial,sans-serif!important;letter-spacing:.05em!important}
#actionModal #actionDescription{margin:12px 0 0!important;color:#b8c8db!important;font-size:14px!important;line-height:1.45!important}
#actionModal .detail-grid{grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:12px!important}
#actionModal .detail-grid div{padding:9px 10px!important;border:1px solid #283d55!important;border-radius:5px!important;background:#0d1826!important}
#actionModal .detail-grid .sub{font-size:11px!important;color:#87a0c1!important;text-transform:uppercase!important;letter-spacing:.04em!important}
#actionModal .detail-grid b{font-size:14px!important;color:#f4f7ff!important}
#actionModal .action-live{margin-top:12px!important;border:1px solid #334d68!important;border-radius:6px!important;padding:10px 12px!important;background:#0e1825!important;font-size:12.5px!important}
#actionModal .action-live.ready{border-color:#3d7f59!important;background:#102016!important;color:#c8f0d2!important}
#actionModal .action-live.blocked{border-color:#7a4e4e!important;background:#241618!important;color:#f0c1bc!important}
#actionModal .action-ignore-panel{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;padding:12px 14px 10px!important;border-bottom:1px solid #25384f!important}
#actionModal .ignore-copy h3{margin:0!important;color:#dfe9f8!important;font-size:15px!important}
#actionModal .ignore-copy p{margin:6px 0 4px!important;color:#8ca2c0!important;font-size:12.5px!important;line-height:1.35!important}
#actionModal .ignore-copy small{color:#6e87a9!important;font-size:11.5px!important}
#actionModal .conditions-head{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:14px!important;padding:12px 14px 8px!important}
#actionModal .conditions-head h3{margin:0!important;color:#dfe9f8!important;font-size:15px!important}
#actionModal .conditions-head p{margin:6px 0 0!important;color:#8ca2c0!important;font-size:12.5px!important;line-height:1.35!important}
#actionModal #conditionList{display:flex!important;flex-direction:column!important;gap:6px!important;max-height:190px!important;overflow:auto!important;padding:0 0 2px!important}
#actionModal .condition-row{display:grid!important;grid-template-columns:1fr .9fr 1.35fr 132px 108px 34px!important;gap:8px!important;align-items:center!important;padding:0 14px!important}
#actionModal .condition-row select,#actionModal .condition-row input{height:34px!important;border:1px solid #3d5572!important;border-radius:4px!important;background:#111a29!important;color:#edf4ff!important;padding:6px 8px!important}
#actionModal .value-stepper{display:grid!important;grid-template-columns:32px 1fr 32px!important;height:34px!important}
#actionModal .value-stepper button{border:1px solid #3d5572!important;background:#152435!important;color:#eef5ff!important;cursor:pointer!important}
#actionModal .condition-current{font-size:12px!important;color:#8ea7ca!important;text-align:center!important}
#actionModal .condition-current b{display:block!important;color:#eff5ff!important;font-size:13px!important;margin-top:2px!important}
#actionModal .remove-condition{height:34px!important;border:1px solid #743d46!important;background:#30171b!important;color:#ffb4bb!important;border-radius:4px!important}
#actionModal .action-footer{display:flex!important;align-items:center!important;gap:14px!important;padding:12px 14px 14px!important;border-top:1px solid #25384f!important;margin-top:10px!important}
#actionModal .action-footer-spacer{margin-right:auto!important}
#actionModal .secondary,#actionModal .primary{height:36px!important;padding:0 16px!important;border-radius:4px!important;font:700 14px/1 Arial,sans-serif!important}
#actionModal .secondary{border:1px solid #425975!important;background:linear-gradient(180deg,#132130 0%,#0b131d 100%)!important;color:#d4e4f8!important}
#actionModal .primary{border:1px solid #8d6c31!important;background:linear-gradient(180deg,#4b3817 0%,#271c0d 100%)!important;color:#f1d28c!important}
#actionModal .primary:disabled,#actionModal .secondary:disabled{opacity:.52!important;cursor:not-allowed!important;filter:grayscale(.15)!important}
#actionModal label{color:#dfe9f8!important}
@media (max-width:940px){#actionModal .action-picker{grid-template-columns:1fr!important;height:auto!important;min-height:0!important}#actionModal .action-list{max-height:230px!important}#actionModal .condition-row{grid-template-columns:1fr 1fr!important}#actionModal .condition-row>*:nth-child(n+3){grid-column:1 / -1}#actionModal .action-ignore-panel{flex-direction:column!important;align-items:stretch!important}}


/* V48 — chat fixo na coluna esquerda, arrastável, e abas clicáveis. */
.hunter-chat{
  left:12px!important;
  right:auto!important;
  bottom:176px!important;
  top:auto!important;
  width:360px!important;
  height:250px!important;
  z-index:68!important;
}
.hunter-chat.dragging{opacity:.97!important;box-shadow:0 10px 26px rgba(0,0,0,.48)!important}
.chat-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  cursor:grab!important;
  user-select:none!important;
}
.hunter-chat.dragging .chat-head{cursor:grabbing!important}
.chat-head-actions{display:flex!important;align-items:center!important;gap:6px!important}
.chat-head-actions button{
  min-width:22px!important;
  height:20px!important;
  padding:0!important;
  border:1px solid #35536d!important;
  background:#0c1824!important;
  color:#d7e6f8!important;
  font:700 12px/1 Arial,sans-serif!important;
}
.chat-tabs{
  display:flex!important;
  align-items:stretch!important;
  gap:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scrollbar-width:thin!important;
}
.chat-tabs button{
  appearance:none!important;
  border:0!important;
  border-right:1px solid #203548!important;
  background:transparent!important;
  color:#7c8fa6!important;
  font-size:9px!important;
  font-weight:700!important;
  text-transform:uppercase!important;
  letter-spacing:.02em!important;
  padding:7px 10px 5px!important;
  cursor:pointer!important;
  flex:0 0 auto!important;
}
.chat-tabs button:hover{color:#b5c8dd!important;background:rgba(255,255,255,.03)!important}
.chat-tabs button.active{color:#d0b36d!important;border-bottom:2px solid #8c6c34!important;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,0))!important}
.hunter-chat .chatlog{overflow:auto!important}
.chat-input{display:grid!important;grid-template-columns:minmax(0,1fr) 82px!important;gap:6px!important;padding:4px!important;align-items:center!important}
.chat-input input{width:100%!important;height:23px!important;padding:0 8px!important}
.chat-input button{height:23px!important;border:1px solid #775a2a!important}

/* V49 — chat com visual Zenkai/DBO. */
.hunter-chat{
  border:1px solid #2f74bb!important;
  border-radius:0!important;
  clip-path:polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px)!important;
  background:linear-gradient(180deg,rgba(7,22,39,.985) 0%,rgba(5,15,28,.99) 48%,rgba(3,11,21,.99) 100%)!important;
  box-shadow:0 10px 26px rgba(0,0,0,.48), inset 0 0 0 1px rgba(33,134,244,.34), inset 0 1px 0 rgba(136,218,255,.08)!important;
}
.hunter-chat::before{
  content:'';
  position:absolute;
  inset:4px;
  border:1px solid rgba(46,103,168,.55);
  pointer-events:none;
  clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px);
}
.hunter-chat::after{
  content:'';
  position:absolute;
  left:10px; right:10px; top:58px; height:1px;
  background:linear-gradient(90deg,rgba(255,191,79,0),rgba(255,191,79,.35),rgba(255,191,79,0));
  pointer-events:none;
}
.hunter-chat.minimized{height:31px!important;min-height:31px!important;max-height:31px!important}
.chat-head{
  height:33px!important;
  padding:5px 9px!important;
  background:linear-gradient(180deg,#0f58a8 0%,#0a3f7e 32%,#082f62 58%,#071f46 100%)!important;
  border-bottom:1px solid #1d5a99!important;
  box-shadow:inset 0 1px 0 rgba(153,228,255,.18), inset 0 -1px 0 rgba(1,9,17,.55)!important;
}
.chat-head b{
  color:#f4cb74!important;
  font:800 12px/1 Arial,sans-serif!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  text-shadow:0 1px 1px rgba(0,0,0,.6)!important;
}
.chat-head-actions button{
  border:1px solid #7a5f28!important;
  background:linear-gradient(180deg,#5e451b 0%,#33230d 100%)!important;
  color:#ffe09f!important;
  box-shadow:inset 0 1px 0 rgba(255,232,170,.12)!important;
}
.chat-tabs{
  height:31px!important;
  padding:0 6px!important;
  background:linear-gradient(180deg,#091e35 0%,#071729 100%)!important;
  border-bottom:1px solid #1a4677!important;
  gap:4px!important;
  align-items:center!important;
}
.chat-tabs button{
  min-width:44px!important;
  height:22px!important;
  padding:0 8px!important;
  border:1px solid transparent!important;
  border-radius:0!important;
  clip-path:polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px)!important;
  background:linear-gradient(180deg,rgba(16,45,77,.9) 0%,rgba(8,27,48,.95) 100%)!important;
  color:#83baf3!important;
  box-shadow:inset 0 1px 0 rgba(137,214,255,.05)!important;
}
.chat-tabs button:hover{
  color:#dff2ff!important;
  border-color:#2e75b7!important;
  background:linear-gradient(180deg,rgba(18,60,101,.94) 0%,rgba(10,33,59,.98) 100%)!important;
}
.chat-tabs button.active{
  color:#ffe7ad!important;
  border-color:#b98735!important;
  border-bottom:1px solid #b98735!important;
  background:linear-gradient(180deg,#6c4a1c 0%,#4b3414 38%,#2f210d 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,228,162,.18),0 0 10px rgba(244,189,80,.10)!important;
}
.hunter-chat .chatlog{
  padding:8px 9px!important;
  background:
    linear-gradient(180deg,rgba(6,17,30,.96) 0%,rgba(4,12,22,.98) 100%),
    repeating-linear-gradient(0deg,rgba(102,170,255,.025) 0 1px,transparent 1px 20px)!important;
  color:#c7d7eb!important;
  font-size:10.5px!important;
  line-height:1.5!important;
}
.hunter-chat .chatlog > div{
  margin:0 0 4px!important;
  text-shadow:0 1px 1px rgba(0,0,0,.45)!important;
}
.hunter-chat .chatlog .system{color:#f2cb78!important}
.hunter-chat .chatlog .player{color:#8fd0ff!important}
.chat-input{
  height:35px!important;
  padding:5px 6px!important;
  gap:6px!important;
  background:linear-gradient(180deg,#081a2e 0%,#06111f 100%)!important;
  border-top:1px solid #184b7d!important;
}
.chat-input input{
  height:24px!important;
  border:1px solid #255f9b!important;
  border-radius:0!important;
  clip-path:polygon(4px 0,100% 0,100% calc(100% - 4px),calc(100% - 4px) 100%,0 100%,0 4px)!important;
  background:linear-gradient(180deg,#061220 0%,#091624 100%)!important;
  color:#e5f0ff!important;
  box-shadow:inset 0 1px 0 rgba(125,215,255,.06)!important;
}
.chat-input input::placeholder{color:#6e95bf!important}
.chat-input button{
  height:24px!important;
  border:1px solid #98703a!important;
  border-radius:0!important;
  clip-path:polygon(4px 0,100% 0,100% calc(100% - 4px),calc(100% - 4px) 100%,0 100%,0 4px)!important;
  background:linear-gradient(180deg,#6b4a1b 0%,#443011 42%,#2e200c 100%)!important;
  color:#ffe4a5!important;
  font:800 10px/1 Arial,sans-serif!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
  box-shadow:inset 0 1px 0 rgba(255,228,159,.12)!important;
}
.chat-input button:hover{filter:brightness(1.08)!important}


/* R306A · starter weapon onboarding */
.starter-weapon-choice{margin:14px 0 4px;padding:12px;border:1px solid rgba(232,199,101,.28);background:rgba(8,13,20,.72);border-radius:8px}
.starter-weapon-choice h3{margin:0 0 4px;color:#e8c765;font-size:13px;letter-spacing:.08em}
.starter-weapon-choice p{margin:0 0 10px;color:#9faaba;font-size:12px}
.starter-weapon-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}
.starter-weapon-card{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:9px;width:100%;min-height:58px;padding:7px 9px;border:1px solid #283340;border-radius:7px;background:#0c1219;color:#dfe8f1;text-align:left;cursor:pointer}
.starter-weapon-card:hover{border-color:#7c6a34;background:#111923}
.starter-weapon-card.active{border-color:#d1ad49;box-shadow:inset 0 0 0 1px rgba(232,199,101,.22);background:#17170f}
.starter-weapon-card img{width:38px;height:38px;object-fit:contain;image-rendering:auto}
.starter-weapon-card span{display:flex;min-width:0;flex-direction:column;gap:3px}
.starter-weapon-card b{font-size:12px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.starter-weapon-card small{font-size:10px;color:#8fa0b1;text-transform:uppercase;letter-spacing:.05em}
.starter-weapon-card em{font-style:normal;font-size:9px;color:#8fa0b1;letter-spacing:.06em}
.starter-weapon-card.active em{color:#f2d36f}

/* R306D · explicit starter weapon selection at first-character creation */
.starter-weapon-choice{position:relative;margin:16px 0 8px;padding:13px;border:1px solid #42556f;background:linear-gradient(180deg,#0d1927,#09121d);border-radius:8px}
.starter-weapon-choice.required{border-color:#8b612f;box-shadow:inset 0 0 0 1px rgba(232,199,101,.08)}
.starter-weapon-choice.selected{border-color:#6d813e}
.starter-weapon-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}
.starter-weapon-head h3{margin:0 0 4px;color:#f1cb65;font-size:13px;letter-spacing:.09em}
.starter-weapon-head p{margin:0;color:#9fb0c5;font-size:11.5px;line-height:1.4}
.starter-weapon-head p b{color:#dce7f4}
.starter-weapon-head>strong{flex:none;border:1px solid #5a6e86;background:#0a1420;color:#8fa7c4;padding:5px 7px;font-size:9px;letter-spacing:.08em}
.starter-weapon-choice.required .starter-weapon-head>strong{border-color:#8b612f;color:#e3b85c;background:#241b0c}
.starter-weapon-choice.selected .starter-weapon-head>strong{border-color:#587744;color:#b9df9e;background:#10200f}
.starter-weapon-card{grid-template-columns:18px 42px minmax(0,1fr) auto!important;min-height:64px!important}
.starter-radio{font-style:normal;color:#66788e;font-size:16px;text-align:center}
.starter-weapon-card.active .starter-radio{color:#f2d36f;text-shadow:0 0 8px rgba(242,211,111,.35)}
.starter-weapon-card small{text-transform:none!important;letter-spacing:.02em!important;white-space:normal;line-height:1.25}
.starter-weapon-required{margin-top:9px;padding:7px 9px;border:1px solid #704d28;background:#21170b;color:#e8bd62;font-size:10.5px}
.starter-weapon-required b{color:#fff1bf}

/* R306D: technical connectivity strip is intentionally hidden from players. */
.server-strip{display:none!important}

/* R306F — internal diagnostics never surface in the player UI. */
/* compatibility-test-ref only: #testBtn,#debugBtn,#testModal,#logModal,.log-window,.server-strip{display:none!important} ; R307K13 intentionally excludes #logModal so F9 remains available. */

#testBtn,#debugBtn,#testModal,.log-window,.server-strip{display:none!important}
#logModal.show{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}

/* R307K10 F9 full-trace observability */
#logModal .modal.log-modal{width:min(1320px,97vw);max-height:94vh}
#logModal .modal-body{max-height:calc(94vh - 44px)}
#debugText{height:70vh;font:11px/1.42 Consolas,"Cascadia Mono",monospace;tab-size:2}
.r307k10-trace-badge{margin-left:auto;margin-right:10px;padding:3px 8px;border:1px solid #31567d;background:#0a1726;color:#9ed3ff;font:11px Consolas,monospace;font-weight:500;border-radius:3px}
