#overlay.bag-open{pointer-events:none!important;background:transparent!important;backdrop-filter:none!important;align-items:start!important;justify-items:end!important;padding:0!important}
#overlay.bag-open #journeyBag{pointer-events:auto;position:fixed;right:14px;top:88px;bottom:auto;left:auto;transform:none!important;width:min(410px,calc(100vw - 24px))!important;max-width:410px!important;max-height:calc(100dvh - 245px)!important;min-height:0!important;padding:15px!important;overflow:auto;box-sizing:border-box;border-radius:12px!important}
#journeyBag .sl-brand{display:none!important}#journeyBag .panel-heading{margin:0 0 10px!important;min-height:30px;padding:0!important}#journeyBag .panel-heading h2{font-size:25px!important;margin:0!important}#journeyBag #bagClose{position:static!important;width:34px!important;height:34px!important;min-width:34px!important;font-size:21px!important;padding:0!important}
#journeyBag .bag-tabs{display:flex;gap:6px;margin:0 0 10px}#journeyBag .bag-tabs button{width:auto!important;min-width:0!important;padding:6px 12px!important;font-size:15px!important;border:1px solid #b6a777;border-radius:5px;background:#1d4255;color:#f3e5b6;cursor:pointer}#journeyBag .bag-tabs button[aria-pressed=true]{background:#516d49}
#journeyBag .bag-columns{display:block!important}#journeyBag[data-tab=inventory] .hero-pane,#journeyBag[data-tab=hero] .inventory-pane{display:none!important}#journeyBag .inventory-pane,#journeyBag .hero-pane{padding:10px!important;min-height:0!important;border-width:2px!important;border-radius:8px!important}#journeyBag .pane-heading{margin-bottom:6px!important}#journeyBag .pane-heading h3{font-size:17px!important;margin:0!important}#journeyBag #bagCapacity{font-size:12px!important}
#journeyBag #inventoryGrid{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:5px!important;height:auto!important;max-height:310px!important;min-height:0!important;overflow-y:auto!important;align-content:start!important;padding-right:5px!important}#journeyBag .inventory-item,#journeyBag .inventory-empty{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1!important;padding:4px!important;box-sizing:border-box;border-width:2px!important;border-radius:6px!important;overflow:hidden}#journeyBag .inventory-item>.game-icon{width:100%!important;height:100%!important;object-fit:contain}#journeyBag .inventory-item small{font-size:11px!important;bottom:1px!important;right:2px!important}
#journeyBag #bagStatus{display:block!important;min-height:0!important;margin:7px 0 0!important;font-size:13px!important;line-height:1.3!important}#journeyBag #bagStatus:empty{display:none!important}#journeyBag #bagHero{max-width:190px!important;width:190px!important;height:145px!important;margin:0 auto!important}#journeyBag #bagHeroName{font-size:22px!important;margin:0!important}#journeyBag #bagHeroClass{font-size:13px!important}#journeyBag #equipmentSlots{grid-template-columns:1fr 1fr!important;gap:6px!important}#journeyBag .equip-slot{min-height:60px!important;padding:4px!important}#journeyBag .equip-slot .game-icon{width:38px!important;height:38px!important}#journeyBag .equip-slot small{font-size:12px!important;margin:0!important}
#journeyBag .bag-stat-columns{margin-top:8px!important;padding-top:8px!important;gap:6px!important;grid-template-columns:1fr 1.6fr!important}#journeyBag .stat-group h4{font-size:15px!important;margin:0 0 5px!important}#journeyBag .stat-line{padding:4px 6px!important;min-height:25px!important;margin-bottom:4px!important;gap:5px!important}#journeyBag .stat-line small{font-size:11px!important;letter-spacing:0!important}#journeyBag .stat-line b{font-size:16px!important}
.action-dock .assign-potion{outline:2px solid #f9dc84!important;box-shadow:0 0 10px #e3bb5a!important;cursor:copy}.action-dock .action-cell>.skill>.game-icon{width:85%!important;height:85%!important;object-fit:contain;display:block;margin:auto}.action-dock .potion-count{position:absolute;right:3px;bottom:1px;font-size:11px;color:#fff6cb;text-shadow:1px 1px #000}
@media(max-width:600px){#overlay.bag-open #journeyBag{top:75px;right:8px;max-height:calc(100dvh - 225px)!important;width:min(360px,calc(100vw - 16px))!important}#journeyBag #inventoryGrid{max-height:210px!important}}
/* Icons have a fixed inset inside their own square, independent of image dimensions. */
#journeyBag #inventoryGrid{grid-auto-rows:max-content!important;align-items:start!important;scroll-padding-top:0!important}
#journeyBag .inventory-item,#journeyBag .inventory-empty{position:relative!important;display:block!important;aspect-ratio:1/1!important;padding:0!important;align-self:start!important;line-height:0!important}
#journeyBag .inventory-item>.game-icon{position:absolute!important;inset:6px!important;width:calc(100% - 12px)!important;height:calc(100% - 12px)!important;margin:0!important;max-width:none!important;max-height:none!important;object-fit:contain!important;transform:none!important;box-sizing:border-box!important}
#journeyBag .inventory-item small,#journeyBag .inventory-item b,#journeyBag .inventory-item em{line-height:1.15!important;z-index:2}
#overlay.skills-open{pointer-events:none!important;background:transparent!important;backdrop-filter:none!important;align-items:start!important;justify-items:end!important;padding:0!important}
#overlay.skills-open #journeyFeature[data-view=skills]{pointer-events:auto;position:fixed!important;right:14px;top:88px;width:min(450px,calc(100vw - 24px))!important;max-height:calc(100dvh - 245px)!important;overflow:auto;padding:18px!important;min-height:0!important}
#overlay.skills-open .sl-brand{display:none!important}#overlay.skills-open .skillbook-compact{min-height:210px!important;gap:12px}#overlay.skills-open .skillbook-detail p{font-size:15px!important}#overlay.skills-open .skillbook-detail h3{font-size:18px!important}#overlay.skills-open .skillbook-list{max-height:245px}#overlay.skills-open .skillbook-choice{width:44px;height:44px;flex-basis:44px}
.action-dock .action-cell>.skill>.skill-atlas-icon{position:absolute;inset:3px;width:calc(100% - 6px)!important;height:calc(100% - 6px)!important;border-radius:4px}
.action-dock .dock-cooldown{position:absolute;bottom:0;left:0;width:100%;height:0;pointer-events:none;background:#07101ecc;z-index:2}

.action-dock .action-cell{touch-action:none;user-select:none}.action-dock.dragging-slot .action-cell>.skill{pointer-events:none}.action-dock .drag-source{opacity:.45}.action-dock .drag-target>.skill{box-shadow:0 0 0 2px #ffe28a,0 0 12px #ffe28a99!important}
