/* Phase 11 | 20260925-uv-hud-png-4e2a
 * Screenshot regression: nested generic 8–12px border-image and padding
 * consumed all of the right rail's inner space (especially .chat-log and
 * .chat-messages). One real PNG frame per panel; inner UI gets appropriately
 * thin PNG/UV slices. Existing ui/login/mesh.json is the UV authority.
 * Do not change the minimap stage's computed left/top/size/transform, marker,
 * image source, chat focus/scroll handlers or semantic mission state.
 */
#game .premium-right-rail{
  box-sizing:border-box;
  min-width:0;min-height:0;
  overflow:hidden;
  gap:8px!important;
  /* Keep minimap stable; show three compact missions while giving chat the freed height. */
  grid-template-rows:minmax(180px,1.04fr) minmax(205px,.82fr) minmax(245px,1.18fr)!important;
  align-content:stretch;
}
#game .premium-right-rail > :is(.hud-minimap-panel,.hud-missions-panel,.premium-chat-panel){
  box-sizing:border-box;
  width:100%;height:100%;
  min-width:0!important;min-height:0!important;
  margin:0!important;padding:0!important;
  display:flex!important;flex-direction:column;
  overflow:hidden!important;
  border:8px solid transparent!important;
  border-image:url("../login/frame.png?v=cabare-uv-1") 24 fill / 8px / 0 stretch!important;
  border-radius:0!important;background-color:#17121a!important;
  box-shadow:none!important;
}
#game .premium-right-rail > .premium-panel::after{
  content:none!important;display:none!important;
}
#game .premium-right-rail :is(.premium-panel-heading,.premium-chat-panel .chat-header){
  box-sizing:border-box;flex:0 0 42px;
  width:100%;height:42px;min-height:42px;
  min-width:0;overflow:hidden;
  display:flex;align-items:center;gap:7px;
  margin:0!important;padding:4px 8px!important;
  border:6px solid transparent!important;
  border-image:url("../login/frame-active.png?v=cabare-uv-1") 24 fill / 6px / 0 stretch!important;
  background-color:#291a25!important;background-image:none!important;
  border-radius:0!important;box-shadow:none!important;
}
#game .premium-right-rail :is(.premium-panel-heading,.chat-header) :is(strong,.chat-title){
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#ffe1ae!important;
}
#game .premium-right-rail #hud-minimap-region{
  flex:0 1 auto;min-width:0;max-width:50%;
  margin-left:auto!important;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  color:#e9c6a1!important;font-size:12px!important;
}

/* Minimap: the map is a true aspect-ratio stage laid out by app.js.
 * The old 8px borders of map, tool rail and label stacked on top of it. */
#game .premium-right-rail #hud-minimap{
  box-sizing:border-box;position:relative;
  flex:1 1 auto;width:auto;height:auto!important;
  min-height:0!important;min-width:0;
  margin:4px 6px 6px!important;padding:0!important;
  overflow:hidden!important;
  border:5px solid transparent!important;
  border-image:url("../login/slot.png?v=cabare-uv-1") 24 fill / 5px / 0 stretch!important;
  background-color:#100d14!important;background-image:none!important;
  border-radius:0!important;box-shadow:none!important;
}
#game .premium-right-rail #hud-minimap::after{
  box-shadow:none!important;
  border:0!important;pointer-events:none!important;
}
#game .premium-right-rail #hud-minimap-stage{
  /* Keep app.js-owned left, top, width, height and transform untouched. */
  min-width:0;min-height:0;
  border:0!important;border-image:none!important;
  background:transparent!important;
}
#game .premium-right-rail #hud-minimap-image{
  border:0!important;border-image:none!important;
  background:transparent!important;
  object-fit:fill!important;image-rendering:pixelated!important;
  opacity:1!important;
}
#game .premium-right-rail .hud-minimap-tools{
  position:absolute;z-index:5;top:7px;right:7px;
  box-sizing:border-box;display:flex;flex-direction:column;gap:3px;
  width:30px;height:auto;
  margin:0!important;padding:0!important;
  border:0!important;border-image:none!important;
  background:transparent!important;box-shadow:none!important;
}
#game .premium-right-rail .hud-minimap-tools button{
  box-sizing:border-box;flex:0 0 27px;
  width:30px;height:27px;min-width:0;min-height:0;
  display:grid;place-items:center;
  margin:0!important;padding:0!important;
  border:5px solid transparent!important;
  border-image:url("../login/button.png?v=cabare-uv-1") 24 fill / 5px / 0 stretch!important;
  border-radius:0!important;background-color:#211822!important;
  box-shadow:none!important;color:#f6e4cf!important;
}
#game .premium-right-rail .hud-minimap-tools button:is(:hover:not(:disabled),:focus-visible){
  border-image-source:url("../login/button-active.png?v=cabare-uv-1")!important;
  background-color:#512831!important;
}
#game .premium-right-rail .hud-minimap-label{
  box-sizing:border-box;position:absolute;z-index:5;
  left:50%;bottom:7px;max-width:calc(100% - 72px);
  transform:translateX(-50%);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  margin:0!important;padding:2px 9px!important;
  border:5px solid transparent!important;
  border-image:url("../login/frame-active.png?v=cabare-uv-1") 24 fill / 5px / 0 stretch!important;
  border-radius:0!important;background-color:#342027!important;
  color:#ffe4ad!important;pointer-events:none;
}

/* Missions: one textured row per goal, rather than an outer 8px list plus
 * multiple full-size button borders eating the title and READY label. */
#game .premium-right-rail #hud-missions-open{
  box-sizing:border-box;flex:0 0 auto;
  min-width:67px;max-width:42%;height:28px;min-height:0;
  margin-left:auto!important;padding:1px 7px!important;
  border:5px solid transparent!important;
  border-image:url("../login/button.png?v=cabare-uv-1") 24 fill / 5px / 0 stretch!important;
  background-color:#211823!important;color:#ffe2ae!important;
}
#game .premium-right-rail #hud-missions-open:is(:hover:not(:disabled),:focus-visible){
  border-image-source:url("../login/button-active.png?v=cabare-uv-1")!important;
}
#game .premium-right-rail #hud-missions-list{
  box-sizing:border-box;flex:1 1 auto;
  min-width:0!important;min-height:0!important;width:auto;
  margin:4px 6px 6px!important;padding:4px!important;
  display:flex;flex-direction:column;gap:4px;
  overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior:contain;
  border:5px solid transparent!important;
  border-image:url("../login/slot.png?v=cabare-uv-1") 24 fill / 5px / 0 stretch!important;
  background-color:#120e17!important;box-shadow:none!important;
}
#game .premium-right-rail .hud-mission-row{
  box-sizing:border-box;
  flex:0 0 auto;min-width:0;width:100%;min-height:48px;
  display:grid;grid-template-columns:24px minmax(0,1fr) auto;
  align-items:center;gap:8px;
  margin:0!important;padding:3px 7px!important;
  border:5px solid transparent!important;
  border-image:url("../login/slot.png?v=cabare-uv-1") 24 fill / 5px / 0 stretch!important;
  background-color:#211722!important;background-image:none!important;
  border-radius:0!important;box-shadow:none!important;
}
#game .premium-right-rail .hud-mission-row:first-child{margin-top:0!important}
#game .premium-right-rail .hud-mission-row.complete{
  border-image-source:url("../login/frame-active.png?v=cabare-uv-1")!important;
  background-color:#32212a!important;
}
#game .premium-right-rail .hud-mission-symbol{
  flex:0 0 22px;width:22px;height:22px;
  display:grid;place-items:center;
  border:0!important;border-image:none!important;
  background-color:#342027!important;
}
#game .premium-right-rail .hud-mission-row.complete .hud-mission-symbol{
  background-color:#143a29!important;
}
#game .premium-right-rail .hud-mission-copy{
  min-width:0;overflow:hidden;
}
#game .premium-right-rail .hud-mission-copy :is(strong,span){
  display:block;min-width:0;max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
#game .premium-right-rail .hud-mission-copy strong{
  font:700 12px/16px Arial,sans-serif!important;color:#fff0d7!important;
}
#game .premium-right-rail .hud-mission-copy span{
  font:400 12px/15px Arial,sans-serif!important;color:#d4c1b1!important;
}
#game .premium-right-rail .hud-mission-progress{
  min-width:0;max-width:78px;white-space:nowrap;
  font:700 12px/16px Arial,sans-serif!important;
  color:#efd09a!important;
}
#game .premium-right-rail .hud-mission-row.complete .hud-mission-progress{color:#a7efbf!important}
#game .premium-right-rail .hud-empty-copy{color:#dac9b7!important}

/* Chat: root + header + tabs + ONE inset for messages. Do not use the
 * generic window nine-slice on both .chat-log and .chat-messages: that was
 * responsible for the apparently blank horizontal block in the screenshot. */
#game .premium-right-rail .premium-chat-panel .chat-header{
  flex:0 0 39px;height:39px;min-height:39px;
}
#game .premium-right-rail .premium-chat-panel .chat-title{
  flex:0 0 auto;color:#ffe1ae!important;font-size:12px!important;
  letter-spacing:.07em!important;
}
#game .premium-right-rail .premium-chat-panel .chat-caption{
  flex:1 1 auto;min-width:0;overflow:hidden;
  color:#d8c3b1!important;font-size:12px!important;
  white-space:nowrap;text-overflow:ellipsis;
}
#game .premium-right-rail .premium-chat-panel .chat-toggle{
  box-sizing:border-box;flex:0 0 26px;
  width:26px;height:26px;min-height:0;min-width:0;
  padding:0!important;
  border:4px solid transparent!important;
  border-image:url("../login/button.png?v=cabare-uv-1") 24 fill / 4px / 0 stretch!important;
  background-color:#201820!important;box-shadow:none!important;
}
#game .premium-right-rail .premium-chat-panel .chat-toggle:is(:hover:not(:disabled),:focus-visible,[aria-pressed="true"]){
  border-image-source:url("../login/button-active.png?v=cabare-uv-1")!important;
}
#game .premium-right-rail .premium-chat-panel .chat-body{
  box-sizing:border-box;display:flex;flex-direction:column;
  flex:1 1 auto;min-height:0!important;min-width:0;
  overflow:hidden!important;
}
#game .premium-right-rail .premium-chat-panel .chat-tabs{
  box-sizing:border-box;flex:0 0 36px;
  width:100%;height:36px;min-width:0;min-height:0;
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px!important;
  padding:3px 5px!important;margin:0!important;
  border:0!important;border-image:none!important;
  background-color:#171019!important;background-image:none!important;
  box-shadow:none!important;
}
#game .premium-right-rail .premium-chat-panel .chat-tabs .chat-tab{
  box-sizing:border-box;min-width:0;width:100%;min-height:0;height:30px;
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
  padding:1px 2px!important;margin:0!important;
  border:4px solid transparent!important;
  border-image:url("../login/button.png?v=cabare-uv-1") 24 fill / 4px / 0 stretch!important;
  background-color:#231821!important;box-shadow:none!important;
  color:#e6d2be!important;font:700 12px/17px Arial,sans-serif!important;
  letter-spacing:0!important;
}
#game .premium-right-rail .premium-chat-panel .chat-tabs .chat-tab:is(.selected,[aria-selected="true"],:focus-visible){
  border-image-source:url("../login/button-active.png?v=cabare-uv-1")!important;
  background-color:#4a2630!important;color:#fff0d9!important;
}
#game .premium-right-rail .premium-chat-panel .chat-log{
  box-sizing:border-box;position:relative;
  display:flex;flex:1 1 auto;
  min-width:0!important;min-height:0!important;
  overflow:hidden!important;
  margin:0 5px!important;padding:0!important;
  border:0!important;border-image:none!important;
  background-color:#100e15!important;background-image:none!important;
  box-shadow:none!important;
}
#game .premium-right-rail .premium-chat-panel #chat-messages{
  box-sizing:border-box;flex:1 1 auto;
  min-width:0!important;min-height:0!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior:contain;
  margin:0!important;padding:6px 7px!important;
  border:0!important;border-image:none!important;
  background-color:#110e17!important;background-image:none!important;
  box-shadow:none!important;
  font:400 12px/1.45 Arial,sans-serif!important;color:#f4e4d4!important;
}
#game .premium-right-rail .premium-chat-panel .chat-scroll{
  box-sizing:border-box;flex:0 0 25px;
  display:flex;flex-direction:column;justify-content:space-between;gap:3px;
  min-width:0!important;width:25px;
  margin:0!important;padding:3px!important;
  border:0!important;border-image:none!important;
  background-color:#1d1520!important;box-shadow:none!important;
}
#game .premium-right-rail .premium-chat-panel .chat-scroll button{
  box-sizing:border-box;flex:0 0 20px;width:19px;height:20px;min-height:0;
  display:grid;place-items:center;padding:0!important;
  border:3px solid transparent!important;
  border-image:url("../login/button.png?v=cabare-uv-1") 24 fill / 3px / 0 stretch!important;
  background-color:#291d28!important;color:#ffe4c1!important;
}
#game .premium-right-rail .premium-chat-panel .chat-scroll button:is(:hover:not(:disabled),:focus-visible){
  border-image-source:url("../login/button-active.png?v=cabare-uv-1")!important;
}
#game .premium-right-rail .premium-chat-panel :is(.chat-popover,.chat-whisper-row):not([hidden]){
  box-sizing:border-box;flex:0 1 auto;
  min-height:0;max-height:min(124px,36%);
  overflow-y:auto;overflow-x:hidden;
  margin:0 5px!important;padding:5px!important;
  border:5px solid transparent!important;
  border-image:url("../login/slot.png?v=cabare-uv-1") 24 fill / 5px / 0 stretch!important;
  background-color:#211724!important;
}
#game .premium-right-rail .premium-chat-panel :is(.chat-popover,.chat-whisper-row)[hidden]{
  display:none!important;
}
#game .premium-right-rail .premium-chat-panel #chat-form{
  box-sizing:border-box;flex:0 0 43px;
  display:grid!important;
  grid-template-columns:25px 25px minmax(0,1fr) 29px!important;
  align-items:center;gap:4px!important;
  min-width:0;width:100%;height:43px;min-height:0;
  margin:0!important;padding:4px 5px!important;
  border:5px solid transparent!important;
  border-image:url("../login/slot.png?v=cabare-uv-1") 24 fill / 5px / 0 stretch!important;
  background-color:#21151f!important;background-image:none!important;
}
#game .premium-right-rail .premium-chat-panel #chat-form :is(.chat-tool,.hud-chat-send){
  box-sizing:border-box;
  width:25px;height:27px;min-width:0;min-height:0;
  display:grid;place-items:center;padding:0!important;
  border:4px solid transparent!important;
  border-image:url("../login/button.png?v=cabare-uv-1") 24 fill / 4px / 0 stretch!important;
  background-color:#241a25!important;box-shadow:none!important;
  color:#ffe2ba!important;
}
#game .premium-right-rail .premium-chat-panel #chat-form .hud-chat-send{
  width:29px;border-image-source:url("../login/button-active.png?v=cabare-uv-1")!important;
}
#game .premium-right-rail .premium-chat-panel #chat-form :is(.chat-tool,.hud-chat-send):is(:hover:not(:disabled),:focus-visible,[aria-expanded="true"]){
  border-image-source:url("../login/button-active.png?v=cabare-uv-1")!important;
}
#game .premium-right-rail .premium-chat-panel #chat-form #chat-input{
  box-sizing:border-box;width:100%;height:27px;min-width:0;min-height:0;
  margin:0!important;padding:3px 6px!important;
  border:4px solid transparent!important;
  border-image:url("../login/slot.png?v=cabare-uv-1") 24 fill / 4px / 0 stretch!important;
  border-radius:0!important;
  background-color:#100e16!important;background-image:none!important;
  color:#fff0da!important;
  font:400 12px/17px Arial,sans-serif!important;
}
#game .premium-right-rail .premium-chat-panel #chat-form #chat-input:focus-visible{
  outline:2px solid #eeca8e!important;outline-offset:0!important;
}


/* Live chat item picker: use the current ShutDown PNG/UV art and float above
 * the composer. Older tooltip/list frames and flex sizing used to collapse
 * the message log or clip item entries when the picker opened. */
#game .premium-right-rail .premium-chat-panel .chat-body{
  position:relative;
}
#game .premium-right-rail .premium-chat-panel :is(#chat-link-panel,#chat-settings-panel):not([hidden]){
  box-sizing:border-box;position:absolute!important;z-index:8;
  inset:auto 5px 45px!important;
  width:auto!important;max-height:min(300px,calc(100% - 86px))!important;
  min-width:0!important;min-height:0!important;
  display:flex!important;flex-direction:column;gap:4px!important;
  margin:0!important;padding:5px!important;overflow:hidden!important;
  border:6px solid transparent!important;
  border-image:url("../login/frame.png?v=cabare-uv-1") 24 fill / 6px / 0 stretch!important;
  border-radius:0!important;background-color:#17121a!important;
  background-image:none!important;box-shadow:none!important;
}
#game .premium-right-rail .premium-chat-panel :is(#chat-link-panel,#chat-settings-panel) .chat-popover-title{
  box-sizing:border-box;flex:0 0 27px;
  display:flex;align-items:center;min-width:0;height:27px;
  padding:1px 8px!important;margin:0!important;
  border:4px solid transparent!important;
  border-image:url("../login/frame-active.png?v=cabare-uv-1") 24 fill / 4px / 0 stretch!important;
  color:#ffe1ae!important;font:700 12px/16px Arial,sans-serif!important;
  letter-spacing:0!important;
}
#game .premium-right-rail .premium-chat-panel #chat-link-panel .chat-link-list{
  box-sizing:border-box;display:grid!important;flex:1 1 auto;
  grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:39px;
  align-content:start;gap:4px!important;
  width:100%;min-width:0!important;min-height:0!important;max-height:none!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior:contain;
  margin:0!important;padding:3px!important;
  border:0!important;border-image:none!important;
  border-radius:0!important;background:transparent!important;
  background-image:none!important;box-shadow:none!important;
}
#game .premium-right-rail .premium-chat-panel #chat-link-panel .chat-link-item{
  box-sizing:border-box;display:flex!important;align-items:center;
  gap:5px!important;width:100%;height:39px;min-width:0;min-height:0;
  margin:0!important;padding:3px 5px!important;
  border:4px solid transparent!important;
  border-image:url("../login/button.png?v=cabare-uv-1") 24 fill / 4px / 0 stretch!important;
  border-radius:0!important;background-color:#241a25!important;
  background-image:none!important;box-shadow:none!important;
  color:#fff0d7!important;text-align:left;
  font:400 12px/17px Arial,sans-serif!important;
  overflow:hidden;cursor:pointer;
}
#game .premium-right-rail .premium-chat-panel #chat-link-panel .chat-link-item:is(:hover:not(:disabled),:focus-visible,:active){
  border-image-source:url("../login/button-active.png?v=cabare-uv-1")!important;
  background-color:#482b31!important;
  color:#fff4df!important;
}
#game .premium-right-rail .premium-chat-panel #chat-link-panel .chat-link-item:focus-visible{
  outline:1px solid #eeca8e!important;outline-offset:-1px!important;
}
#game .premium-right-rail .premium-chat-panel #chat-link-panel .chat-link-item .bag-icon{
  box-sizing:border-box;flex:0 0 25px;
  display:grid;place-items:center;width:25px!important;height:25px!important;
  min-width:0;min-height:0;margin:0!important;padding:0!important;
  border:0!important;border-image:none!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
  color:#efd09a!important;font:700 12px/1 Arial,sans-serif!important;
}
#game .premium-right-rail .premium-chat-panel #chat-link-panel .chat-link-item .bag-icon img{
  display:block;width:100%!important;height:100%!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;image-rendering:pixelated!important;
}
#game .premium-right-rail .premium-chat-panel #chat-link-panel .chat-link-item > span:last-child{
  display:block;flex:1 1 auto;min-width:0;max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:inherit!important;
}
#game .premium-right-rail .premium-chat-panel #chat-link-panel .mini-note{
  flex:0 0 auto;margin:0!important;padding:5px!important;
  border:0!important;border-image:none!important;background:transparent!important;
  color:#dac9b7!important;font:400 12px/16px Arial,sans-serif!important;
}
#game .premium-right-rail .premium-chat-panel #chat-settings-panel .chat-option{
  display:flex;align-items:center;min-height:25px;gap:7px;
  margin:0!important;color:#eee0cf!important;
  font:400 12px/17px Arial,sans-serif!important;
}
#game .premium-right-rail .premium-chat-panel #chat-settings-panel .chat-popover-label{
  margin:2px 0 0!important;color:#e6c89b!important;
  font:700 12px/16px Arial,sans-serif!important;letter-spacing:0!important;
}
#game .premium-right-rail .premium-chat-panel #chat-settings-panel .chat-muted-list{
  box-sizing:border-box;display:flex;flex-wrap:wrap;gap:4px;
  margin:0!important;padding:0!important;min-height:0;
  overflow-y:auto!important;overflow-x:hidden!important;
  border:0!important;border-image:none!important;background:transparent!important;
}
#game .premium-right-rail .premium-chat-panel #chat-settings-panel button{
  box-sizing:border-box;min-height:27px;margin:0!important;padding:2px 8px!important;
  border:4px solid transparent!important;
  border-image:url("../login/button.png?v=cabare-uv-1") 24 fill / 4px / 0 stretch!important;
  border-radius:0!important;background-color:#241a25!important;
  color:#ffe1ae!important;font:400 12px/16px Arial,sans-serif!important;
}
#game .premium-right-rail .premium-chat-panel #chat-settings-panel button:is(:hover:not(:disabled),:focus-visible){
  border-image-source:url("../login/button-active.png?v=cabare-uv-1")!important;
}
#game .premium-right-rail .premium-chat-panel #chat-messages .chat-item-chip{
  box-sizing:border-box;display:inline-flex;align-items:center;gap:3px;
  max-width:100%;height:23px;min-height:0;margin:0 2px!important;
  padding:0 6px 0 2px!important;
  border:4px solid transparent!important;
  border-image:url("../login/slot.png?v=cabare-uv-1") 24 fill / 4px / 0 stretch!important;
  border-radius:0!important;background-color:#211724!important;
  background-image:none!important;box-shadow:none!important;
  color:#f5dba7!important;font:700 12px/15px Arial,sans-serif!important;
  vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#game .premium-right-rail .premium-chat-panel #chat-messages .chat-item-chip .bag-icon{
  flex:0 0 17px;display:grid;place-items:center;
  width:17px!important;height:17px!important;
  border:0!important;border-image:none!important;
  background:transparent!important;box-shadow:none!important;
}
#game .premium-right-rail .premium-chat-panel #chat-messages .chat-item-chip .bag-icon img{
  width:100%!important;height:100%!important;object-fit:contain!important;
  image-rendering:pixelated!important;
}

/* Do not allow the media layout's display:block!important to resurrect
 * minimap/missions while chat is collapsed or explicitly expanded. */
#game .premium-world-layout.chat-collapsed .premium-right-rail,
#game .premium-world-layout.chat-expanded:not(.chat-collapsed) .premium-right-rail{
  grid-template-rows:minmax(0,1fr)!important;
}
#game .premium-world-layout:is(.chat-collapsed,.chat-expanded) .premium-right-rail > :is(.hud-minimap-panel,.hud-missions-panel){
  display:none!important;
}
#game .premium-world-layout.chat-collapsed .premium-right-rail > .premium-chat-panel{
  display:flex!important;
}
#game .premium-world-layout.chat-collapsed .premium-chat-panel > :is(.chat-header,.chat-body){
  display:none!important;
}
#game .premium-world-layout.chat-collapsed .premium-chat-panel .chat-rail:not([hidden]){
  display:flex!important;
}
#game .premium-world-layout.chat-collapsed .premium-right-rail .chat-rail{
  box-sizing:border-box;min-width:0;min-height:0;
  border:0!important;border-image:none!important;
  background:transparent!important;
}

/* Only viewport responsiveness changes the authored rail geometry. */
@media (min-width:901px) and (max-height:710px){
  #game .premium-world-layout:not(.chat-collapsed):not(.chat-expanded) .premium-right-rail{
    grid-template-rows:minmax(135px,.94fr) minmax(135px,.72fr) minmax(210px,1.22fr)!important;
  }
}
@media (min-width:901px) and (max-height:540px){
  #game .premium-world-layout:not(.chat-collapsed):not(.chat-expanded) .premium-right-rail{
    overflow-y:auto!important;
    grid-template-rows:155px 140px 215px!important;
  }
}
@media (max-width:900px){
  #game .premium-world-layout:not(.chat-collapsed):not(.chat-expanded) .premium-right-rail{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-rows:minmax(220px,auto) minmax(270px,auto)!important;
    overflow:visible!important;
  }
  #game .premium-right-rail > .premium-chat-panel{
    grid-column:1/-1;
  }
  #game .premium-world-layout:is(.chat-collapsed,.chat-expanded) .premium-right-rail{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:minmax(240px,auto)!important;
  }
}
@media (max-width:620px){
  #game .premium-world-layout:not(.chat-collapsed):not(.chat-expanded) .premium-right-rail{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:230px 235px 270px!important;
  }
  #game .premium-world-layout:is(.chat-collapsed,.chat-expanded) .premium-right-rail{
    grid-template-rows:240px!important;
  }
}
