.online-hotbar{position:fixed;right:12px;bottom:12px;z-index:7;width:min(520px,calc(100vw - 24px));pointer-events:none}.online-hotbar[hidden]{display:none}.online-hotbar-pages{display:flex;justify-content:flex-end;gap:4px;margin-bottom:5px;pointer-events:auto}.online-hotbar-pages button{padding:2px 10px;margin:0;background:#18241d99;border-color:#8f8059}.online-hotbar-pages button[aria-pressed=true]{background:#7a6940;color:#fff0c4}.online-hotbar-cells{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;pointer-events:auto}.online-hotkey{position:relative;height:57px;min-width:0;margin:0;padding:3px;background:#13201870;border:1px solid #af9c6b;border-radius:2px}.online-hotkey kbd{position:absolute;left:3px;top:2px;font:11px Georgia;color:#f0ddb3}.online-hotkey img{width:34px;height:34px;object-fit:contain;image-rendering:pixelated;opacity:1}.online-hotkey small{position:absolute;bottom:2px;right:3px;font:14px Georgia;color:#fff0bf;text-shadow:1px 1px #000}.online-hotkey-name{font-size:11px;display:block;padding-top:12px}.online-shortcut-picker{position:fixed;z-index:13;left:20px;top:120px;width:290px;background:#17231ef2;border:2px ridge #b49f6d;padding:12px}.online-shortcut-picker[hidden]{display:none}.online-shortcut-picker>div:first-child{display:flex;justify-content:space-between;align-items:center}.online-shortcut-picker p{font-size:12px}.online-shortcut-slots{display:grid;grid-template-columns:repeat(4,1fr)}.online-shortcut-slots button{min-width:0}#chat{width:min(700px,calc(100vw - 560px));height:240px;display:flex;flex-direction:column}#chat[hidden]{display:none}#messages{height:auto;flex:1;min-height:0}#chatForm{flex:none}.online-bag-row{display:flex;align-items:center;gap:3px}.online-bag-row>button:first-child{flex:1}.online-bag-row>button:last-child{width:auto!important;font-size:11px;padding:5px;white-space:nowrap}.gold-icon{width:17px;height:17px;object-fit:contain;vertical-align:middle;image-rendering:pixelated}

.online-minimap{position:fixed;right:14px;top:65px;width:224px;height:138px;z-index:6;background:#26291f;border:2px ridge #9c8c63}.online-minimap canvas{width:220px;height:110px;display:block}.online-minimap span{display:block;text-align:center;color:#ddce9e;font-size:12px;padding:3px}#social{top:218px;bottom:92px}#onlineMinimap{image-rendering:auto}

.online-hotbar{right:55px}.online-hotbar-pages{position:absolute;right:auto;left:-38px;bottom:0;margin:0;flex-direction:column;gap:2px}.online-hotbar-pages button{height:18px;min-height:18px;padding:0 7px}.online-hotbar{width:min(520px,calc(100vw - 72px))}header #characters{order:100;margin-left:auto}

.online-hotbar-cells{padding-right:12px}.online-hotbar-cells .online-hotkey:nth-child(n+5){transform:translateX(12px)}

.online-classic .online-hotbar-cells{grid-template-columns:repeat(9,minmax(0,1fr));padding-right:0}.online-classic .online-hotbar-cells .online-hotkey:nth-child(n+5){transform:none}.online-classic .online-hotbar-cells .online-hotkey:nth-child(5){grid-column:6}.online-hotbar-pages button[aria-pressed="true"]{color:#fff5c9!important;background:#796839!important;border:2px solid #e4cd7d!important;box-shadow:0 0 6px #d3ad4a88;font-weight:700}

#onlineHotbarCells>button.shortcut-selected{outline:2px solid #f8d36b!important;outline-offset:-3px!important;box-shadow:inset 0 0 0 1px #5f4119,0 0 9px #e9bc484d!important;z-index:1}#onlineHotbarCells>button.shortcut-selected:after{content:"";position:absolute;inset:4px;border:1px solid #ffe7a529;pointer-events:none}
