html body.rustic-desktop>main{grid-template-rows:34px 36px 467px 333px!important;height:auto!important;min-height:888px!important}
html body.rustic-desktop .reference-divider-left{height:811.5px!important}
html body.rustic-desktop .reference-divider-right{height:890.3px!important}
html body.rustic-desktop #cityLower>.panel:last-child{position:relative!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;height:398px!important;min-height:398px!important;padding:14px 14px 52px!important;overflow:hidden!important;gap:5px!important}
html body.rustic-desktop #cityLower>.panel:last-child .chat-tabs{flex:0 0 30px!important;height:30px!important;margin:0!important}
html body.rustic-desktop #cityLower>.panel:last-child #chatlog{flex:1 1 0!important;min-height:0!important;height:0!important;max-height:none!important;margin:0!important;padding:0 2px!important;overflow-y:auto!important}
html body.rustic-desktop #cityLower>.panel:last-child .chat-input{position:absolute!important;left:14px!important;right:14px!important;bottom:15px!important;height:29px!important;min-height:29px!important;display:flex!important;gap:5px!important;margin:0!important;z-index:81!important}
html body.rustic-desktop #cityLower>.panel:last-child #chattext{height:29px!important;min-height:29px!important;padding:4px 7px!important;font-size:12px!important}
html body.rustic-desktop #cityLower>.panel:last-child #sendchat{height:29px!important;min-height:29px!important;font-size:13px!important}
html body.rustic-desktop #cityLower>.panel:last-child>.small-note,html body.rustic-desktop #cityLower>.panel:last-child>.chat-status:empty{display:none!important}
html body.rustic-desktop #chatlog .chat-message{gap:1px 4px!important;padding:4px 0!important;margin:0!important;font-size:12px!important;line-height:1.25!important}
html body.rustic-desktop #chatlog .chat-message b,html body.rustic-desktop #chatlog .chat-message p{font-size:12px!important;line-height:1.25!important;margin:0!important}
html body.rustic-desktop #chatlog .chat-message time{font-size:10px!important;line-height:12px!important;margin:0!important}
html body.rustic-desktop #chatlog .chat-channel-badge{font-size:10px!important;padding:0 3px!important;line-height:14px!important}
html body.rustic-desktop #cityLower :is(#innerInfoDetails,#outerInfoUpgrades,#mapLowerDetail){max-height:274px!important}
/* Extend the complete queue panel to the shared bottom baseline. */
html body.rustic-desktop #cityLower>.panel:first-child{height:333px!important;min-height:333px!important;max-height:none!important;box-sizing:border-box!important;align-self:stretch!important;margin:0!important;overflow:hidden!important}
html body.rustic-desktop #cityLower>.panel:first-child>.ref-frame-lower{height:100%!important;min-height:100%!important;inset:0!important;box-sizing:border-box!important}
html body.rustic-desktop #cityLower>.panel:first-child :is(#innerInfoDetails,#outerInfoUpgrades,#mapLowerDetail){height:calc(100% - 32px)!important;max-height:none!important;box-sizing:border-box!important;min-height:0!important}
/* Channel, player ID and timestamp share one compact header line. */
html body.rustic-desktop #chatlog .chat-message{grid-template-columns:26px minmax(0,1fr) 64px!important;column-gap:3px!important;row-gap:2px!important}
html body.rustic-desktop #chatlog .chat-message .chat-channel-badge{grid-column:1!important;grid-row:1!important;align-self:center!important}
html body.rustic-desktop #chatlog .chat-message b{grid-column:2!important;grid-row:1!important;white-space:nowrap!important;font-size:12px!important;min-width:0!important}
html body.rustic-desktop #chatlog .chat-message time{grid-column:3!important;grid-row:1!important;white-space:nowrap!important;align-self:center!important;font-size:9px!important;line-height:14px!important}
html body.rustic-desktop #chatlog .chat-message p{grid-column:2/4!important;grid-row:2!important}