
body.r2-landscape-compact{margin:0!important;padding:0!important;background:#080f19!important;overflow:hidden!important}
body.r2-landscape-compact .layout{display:block!important;padding:0!important;margin:0!important;width:100%!important;height:100dvh!important;max-width:none!important}
body.r2-landscape-compact #locationsSidePanel,body.r2-landscape-compact .top-bar,body.r2-landscape-compact #locLandscapeLeftHead,body.r2-landscape-compact #locMobileQuickActions,body.r2-landscape-compact #monstersSidePanel{display:none!important}
body.r2-landscape-compact #locMainPanel{position:fixed!important;inset:4px!important;display:grid!important;grid-template-columns:minmax(0,1fr) clamp(280px,39vw,350px)!important;gap:6px!important;width:auto!important;height:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:hidden!important}
body.r2-landscape-compact #locMainPanel>.loc-map-head,body.r2-landscape-compact #locPlaceHint{display:none!important}
.lr-field,.lr-rail{min-width:0;min-height:0;overflow:hidden;background:#0c1825;border:1px solid #35475a;border-radius:10px;box-sizing:border-box}
.lr-field{display:flex;flex-direction:column;grid-column:1;grid-row:1}
.lr-rail{display:flex;flex-direction:column;gap:5px;padding:5px;grid-column:2;grid-row:1}
body.r2-landscape-compact #locMainPanel .location-map-stage{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:1!important;min-height:0!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important}
body.r2-landscape-compact #locationMapWrap{max-width:100%!important;max-height:100%!important;margin:auto!important}
.lr-nav{display:flex;align-items:center;justify-content:space-between;gap:6px;flex:none;height:40px;padding:0 4px;background:#111e2c}
body.r2-landscape-compact .lr-nav #locFieldPrev,body.r2-landscape-compact .lr-nav #locFieldNext{position:static!important;display:block!important;transform:none!important;width:44px!important;height:36px!important;min-height:36px!important;flex:none!important;margin:0!important;border-radius:7px!important}
body.r2-landscape-compact .lr-nav #locationFieldLabel{position:static!important;display:block!important;flex:1!important;font-size:12px!important;text-align:center!important;margin:0!important;color:#d5dfeb!important}
.lr-actions{display:flex;gap:4px;flex:none;min-height:40px}
body.r2-landscape-compact .lr-actions>button{position:static!important;inset:auto!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:1!important;width:auto!important;min-width:0!important;height:40px!important;min-height:40px!important;margin:0!important;padding:2px!important;font-size:11px!important;border:1px solid #495b6e!important;border-radius:7px!important;background:#152438!important;color:#e3eaf4!important}
body.r2-landscape-compact .lr-actions>button[hidden]{display:none!important}
body.r2-landscape-compact #locMainPanel #historySection{position:relative!important;display:flex!important;flex-direction:column!important;flex:1!important;min-height:0!important;max-height:none!important;height:auto!important;width:100%!important;margin:0!important;padding:0!important;background:#08121f!important;border:0!important;overflow:hidden!important}
body.r2-landscape-compact #historySection .loc-social-links,body.r2-landscape-compact #historySection .mobile-chat-tools{display:none!important}
body.r2-landscape-compact #historySection .loc-chat-head{position:static!important;display:flex!important;gap:3px!important;flex:none!important;height:32px!important;min-height:32px!important;margin:0!important}
body.r2-landscape-compact #historySection .loc-chat-tabs{display:flex!important;flex:1!important;gap:2px!important;margin:0!important}
body.r2-landscape-compact #historySection .loc-chat-tab{flex:1!important;padding:2px!important;font-size:10px!important;min-height:30px!important}
.lr-chat-toggle{font-size:10px;background:#152438;color:#dce7f4;border:1px solid #495b6e;border-radius:6px;padding:3px}
body.r2-landscape-compact #historySection .loc-chat-panels{flex:1!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:hidden!important}
body.r2-landscape-compact #historySection .loc-chat-panel.is-active{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important}
body.r2-landscape-compact #chatWindow,body.r2-landscape-compact .loc-global-chat,body.r2-landscape-compact .loc-private-chat{position:relative!important;flex:1!important;min-height:0!important;height:100%!important;max-height:none!important;width:100%!important;border:1px solid #35475a!important;border-radius:7px!important;box-sizing:border-box!important;background:#050d18!important;overflow:hidden!important}
body.r2-landscape-compact #chatWindow .chat-window-bg{display:none!important}
body.r2-landscape-compact #chatWindowOverlay{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
body.r2-landscape-compact #historyList{position:absolute!important;inset:7px!important;width:auto!important;height:auto!important;margin:0!important;font-size:12px!important;line-height:1.4!important;overflow:auto!important}
body.r2-landscape-compact .global-chat-messages{flex:1!important;min-height:0!important;max-height:none!important;overflow:auto!important}
body.r2-landscape-compact .global-chat-input{font-size:16px!important}
body.r2-landscape-compact #locMainPanel .loc-stack-side{position:static!important;display:flex!important;flex-direction:column!important;flex:none!important;gap:4px!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important}
body.r2-landscape-compact .loc-vital-bars{display:flex!important;flex-direction:column!important;gap:3px!important;width:100%!important;margin:0!important;padding:0!important}
body.r2-landscape-compact .loc-hotbar-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
body.r2-landscape-compact #locHotbar{position:relative!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:8/2!important;margin:0!important}
body.r2-landscape-compact #locHotbarGrid{inset:0!important;width:100%!important;height:100%!important}
.lr-chat-modal[hidden]{display:none!important}
body.r2-landscape-compact .lr-chat-modal{position:fixed;inset:4px;z-index:2147483100;background:#0b1726;border:1px solid #52667b;border-radius:10px;padding:8px;display:flex}
body.r2-landscape-compact .lr-chat-modal #historySection{display:flex!important;flex-direction:column!important;position:static!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important}

body.r2-landscape-compact #locMainPanel{grid-template-rows:minmax(0,1fr)!important;grid-auto-rows:0!important;align-items:stretch!important;align-content:stretch!important}
body.r2-landscape-compact #historySection .loc-chat-head h2{display:none!important}
body.r2-landscape-compact .lr-field,body.r2-landscape-compact .lr-rail{height:100%!important;align-self:stretch!important}

body.r2-landscape-compact #locMainPanel{display:flex!important}
body.r2-landscape-compact .lr-field{flex:1!important}
body.r2-landscape-compact .lr-rail{flex:0 0 clamp(280px,39vw,350px)!important}
body.r2-landscape-compact #locMainPanel>.mobile-buff-line{display:none!important}

body.r2-landscape-compact:not(.r2-trade-picking) #locInventoryOverlay #locInventoryHub.loc-inventory-overlay__panel{max-height:calc(100dvh - 8px)!important;overflow-y:auto!important}
.lr-loot{order:2;min-height:36px;padding:4px 8px;background:#152438;color:#dae6f5;border:1px solid #495b6e;border-radius:7px;font-size:11px}
body.r2-landscape-compact .lr-nav #locFieldNext{order:3}
.lr-loot-modal[hidden]{display:none!important}
.lr-loot-modal{position:fixed;inset:6px;z-index:2147483100;background:#0b1726;border:1px solid #52667b;border-radius:10px;padding:8px;overflow:auto;color:#dce6f4}
.lr-loot-modal>button{position:sticky;top:0;float:right;z-index:2;min-height:40px;padding:6px 14px;background:#152438;color:#dce6f4;border:1px solid #52667b;border-radius:7px}
body.r2-landscape-compact .lr-loot-modal #monstersSidePanel{display:block!important;position:static!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;box-sizing:border-box}
body.r2-landscape-compact .lr-chat-modal #historySection{background:#08121f!important}

body.r2-landscape-compact #locMainPanel{flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important}

body.r2-landscape-compact .lr-loot-modal #monstersSidePanel{display:grid!important;grid-template-columns:minmax(170px,35%) minmax(0,1fr)!important;gap:8px!important;padding:8px!important}
body.r2-landscape-compact .lr-loot-modal #monstersSidePanel>:not(#monstersList):not(#monsterDetail){grid-column:1/-1}
body.r2-landscape-compact .lr-loot-modal #monstersList{grid-column:1;grid-row:3;max-height:calc(100dvh - 110px);overflow:auto}
body.r2-landscape-compact .lr-loot-modal #monsterDetail{grid-column:2;grid-row:3;min-width:0;max-height:calc(100dvh - 110px);overflow:auto;margin:0!important}
body.r2-landscape-compact .lr-loot-modal .monster-card{min-height:44px!important;margin-bottom:4px!important;padding:8px!important}

body.r2-landscape-compact #locationMapMarkers .loc-marker{transform:translate(-50%,-92%) scale(var(--lr-marker-fit,1))!important;transform-origin:50% 100%!important}

body.r2-landscape-compact .lr-loot-modal #monsterSprite{height:80px!important;max-height:80px!important;width:auto!important;max-width:100%!important;object-fit:contain!important}

/* The scene occupies the available field; only its background is cropped. */
body.r2-landscape-compact #locMainPanel .lr-field .location-map-stage #locationMapWrap{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;flex:1!important;margin:0!important;box-sizing:border-box!important;border:0!important;border-radius:9px 9px 0 0!important;overflow:hidden!important}
body.r2-landscape-compact #locMainPanel #locationMapImage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;max-width:none!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important;margin:0!important}
body.r2-landscape-compact #locMainPanel .loc-stack-side{max-width:none!important;min-width:0!important;align-self:stretch!important;box-sizing:border-box!important}

.lr-chat-toggle{display:none}body.r2-landscape-compact .lr-chat-toggle{display:block}

/* Default anchor must not inherit vertical centering; dragging owns its coordinates. */
body.r2-landscape-compact:not(.r2-trade-picking) #locInventoryOverlay #locInventoryHub.loc-inventory-overlay__panel:not(.is-drag-positioned){top:4px!important;bottom:auto!important;right:4px!important;left:auto!important;transform:none!important}
