[hidden] {
  display: none !important;
}
.game-header {
  height: 48px;
  padding: 0 12px;
  gap: 12px;
}
.game-header .brand span {
  font-size: 15px;
}
.game-header button,
.game-header .button {
  padding: 6px 9px;
  font-size: 11px;
}
.dock-toolbar {
  height: 30px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  background: #16211d;
  border-bottom: 1px solid #756a4a66;
}
.dock-toolbar button {
  font:
    11px Barlow,
    sans-serif;
  padding: 3px 11px;
  border-radius: 2px;
  min-height: 23px;
  color: #bbc6ae;
}
.dock-toolbar button.active {
  color: #f0d59a;
  background: #3e4933;
  border-color: #aa925b;
}
.dock-toolbar .dock-reset {
  margin-left: auto;
}
.dock-mobile-close {
  display: none;
}
.game-layout {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr) 230px;
  grid-template-areas: "character world inventory";
  gap: 0;
  overflow: hidden;
}
.dock-column {
  min-height: 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #141f1b;
  overflow: hidden;
  border: 1px solid #5c644044;
}
.dock-left {
  grid-area: character;
}
.dock-right {
  grid-area: inventory;
}
.dock-column.empty:after {
  content: "Przeciągnij tutaj panel";
  font-size: 11px;
  text-align: center;
  color: #738471;
  padding: 30px 10px;
}
.dock-column.dock-drop {
  outline: 2px solid #d3bc78;
  outline-offset: -3px;
  background: #3c4e32;
}
.dock-panel {
  flex: none;
  position: relative;
  min-height: 27px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(110deg, #1d2b23, #202e25);
  border-bottom: 1px solid #79815a77;
  overflow: hidden;
}
.dock-heading {
  height: 26px;
  min-height: 26px;
  display: flex;
  align-items: center;
  padding: 0 4px 0 9px;
  background: linear-gradient(#354234, #263428);
  border-bottom: 1px solid #101c17;
  cursor: grab;
  user-select: none;
  gap: 3px;
}
.dock-heading:active {
  cursor: grabbing;
}
.dock-heading strong {
  font-size: 11px;
  letter-spacing: 0.5px;
  font-weight: 500;
  color: #d6c69d;
  flex: 1;
}
.dock-heading button {
  border: 0;
  background: transparent;
  width: 20px;
  height: 22px;
  min-height: 0;
  padding: 0;
  color: #aebc9f;
  font-size: 14px;
  border-radius: 2px;
}
.dock-heading button:hover {
  background: #92a46c33;
  color: #ffe6ae;
}
.dock-content {
  min-height: 0;
  flex: 1;
  overflow: auto;
  padding: 7px 8px 9px;
  scrollbar-width: thin;
  scrollbar-color: #6a7753 #19261f;
}
.dock-panel.collapsed .dock-content,
.dock-panel.collapsed .dock-resize {
  display: none;
}
.dock-resize {
  height: 5px;
  flex: none;
  cursor: row-resize;
  background: linear-gradient(
    90deg,
    transparent 38%,
    #a0a47d55 38%,
    #a0a47d55 62%,
    transparent 62%
  );
  touch-action: none;
}
.dock-content .section-title {
  font-size: 9px;
  margin: 0 0 7px;
  letter-spacing: 0.5px;
}
.dock-content .small,
.dock-content .muted {
  font-size: 11px;
  line-height: 1.45;
}
.dock-content p {
  margin: 7px 0;
}
.dock-content .stat-line {
  padding: 3px 0;
  font-size: 11px;
}
.dock-content .stat-line button,
.dock-content .skill-line button {
  padding: 0;
  min-height: 22px;
  width: 22px;
}
.dock-content .skill-line {
  font-size: 10px;
  gap: 4px;
  margin: 3px 0;
}
.dock-content .quest-title {
  font-size: 16px;
  margin: 9px 0 4px;
}
.dock-content .quest-text {
  font-size: 12px;
}
#panel-equipment {
  padding: 0 5px;
}
.equipment-content {
  background: none;
  border: 0;
  overflow: visible;
  position: static;
  width: auto;
  height: auto;
}
.equipment-content .player-card {
  padding: 5px 5px 3px;
}
.equipment-content .player-heading {
  height: 24px;
  gap: 5px;
  margin-bottom: 3px;
}
.equipment-content .player-heading canvas {
  width: 23px;
  height: 23px;
}
.equipment-content .player-heading h2 {
  font-size: 17px;
  line-height: 18px;
  max-width: 125px;
}
.equipment-content #player-profession {
  display: none;
}
.equipment-content .level-circle {
  height: 21px;
  min-width: 23px;
  width: 23px;
  font-size: 11px;
}
.equipment-content .meter {
  height: 12px;
  margin: 3px 0;
}
.equipment-content .meter > span {
  line-height: 11px;
  font-size: 9px;
}
.equipment-content .experience {
  height: 3px;
  margin: 5px 0 3px;
}
.equipment-content .player-meta {
  font-size: 9px;
  margin: 0;
  line-height: 12px;
}
.equipment-content .paperdoll-heading {
  padding: 4px 6px;
  font-size: 8px;
}
.equipment-content .paperdoll {
  height: 148px;
  margin: 0 8px;
}
.equipment-content #character-portrait {
  width: 78px;
  height: 104px;
  top: 26px;
}
.equipment-content .gear-slot {
  width: 31px;
  height: 31px;
  padding: 2px;
}
.equipment-content .gear-slot small {
  display: none;
}
.equipment-content .slot-symbol {
  font-size: 19px;
  line-height: 23px;
}
.equipment-content .gear-head {
  top: 0;
  left: calc(50% - 16px);
}
.equipment-content .gear-neck,
.equipment-content .gear-offhand {
  top: 0;
}
.equipment-content .gear-weapon,
.equipment-content .gear-armor {
  top: 38px;
}
.equipment-content .gear-ring,
.equipment-content .gear-legs {
  top: 76px;
}
.equipment-content .gear-backpack {
  top: 114px;
}
.equipment-content .gear-feet {
  top: 114px;
  left: calc(50% - 16px);
}
.equipment-content #combat-controls {
  padding: 3px 3px 0;
}
.equipment-content .combat-stances button {
  padding: 2px 0;
  font-size: 7px;
  gap: 1px;
}
.equipment-content .combat-stances svg {
  width: 16px;
  height: 16px;
}
.equipment-content .combat-toggles {
  gap: 3px;
  margin-top: 3px;
}
.equipment-content .combat-toggles button {
  font-size: 8px;
  min-height: 24px;
  padding: 3px 1px;
}
.equipment-content .ammo-slot {
  height: 25px;
  min-height: 25px;
  margin: 4px 3px 0;
  width: calc(100% - 6px);
  padding: 1px 5px;
  font-size: 9px;
}
.ammo-slot .physical-item {
  width: 24px;
  height: 24px;
}
.equipment-content .team-members,
.equipment-content .character-footer,
.equipment-content .equip-help {
  display: none;
}
#team-button {
  margin: 0;
  width: auto;
  display: block;
  text-align: center;
  white-space: nowrap;
  font-size: 10px;
  padding: 3px 9px;
  background: transparent;
}
#team-button #team-count {
  padding-left: 5px;
}
.trained-skill {
  margin: 0;
  padding: 5px 0 3px;
  border: 0;
}
.trained-skill > div {
  font-size: 11px;
}
.trained-skill progress {
  height: 6px;
  margin: 4px 0 0;
}
.trained-skill progress:focus {
  outline: 1px solid #ddc98f;
  outline-offset: 2px;
}
.trained-skill small {
  display: none;
}
.dock-content .inventory-grid {
  gap: 3px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.dock-content .item-slot {
  height: auto;
  min-height: 32px;
  aspect-ratio: 1;
  padding: 2px;
}
.dock-content .item-slot canvas {
  width: 100%;
  height: 100%;
}
.dock-content .item-slot .qty {
  font-size: 9px;
}
.bag-help {
  display: none;
}
.physical-item {
  display: inline-block;
  flex: none;
  width: 36px;
  height: 36px;
  vertical-align: middle;
  background-image: url("/assets/hd/items.png");
  background-size: 600% 600%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 2px 2px #0008);
  pointer-events: none;
}
.hotkey .physical-item {
  height: 34px;
  width: 34px;
}
.corpse-items .physical-item {
  width: 27px;
  height: 27px;
}
.depot-grid .physical-item {
  width: 38px;
  height: 38px;
}
.battle-auto {
  padding: 3px;
  min-height: 23px;
  font-size: 9px;
}
.battle-auto svg {
  height: 18px;
  width: 18px;
}
.battle-row {
  padding: 4px 3px;
  margin: 3px 0;
  gap: 4px;
}
.battle-row .action-icon {
  width: 22px;
  height: 22px;
}
.battle-row strong {
  font-size: 11px;
}
.battle-row small {
  font-size: 9px;
  margin: 1px 0;
}
.battle-list {
  margin-top: 5px;
}
.battle-list + p {
  display: none;
}
#friends-form {
  display: flex;
  gap: 4px;
  align-items: end;
}
#friends-form label {
  font-size: 9px;
  min-width: 0;
  flex: 1;
}
#friends-form input {
  font-size: 11px;
  padding: 4px;
  margin: 2px 0 0;
}
#friends-form button {
  width: auto;
  font-size: 9px;
  padding: 5px;
  max-width: 57px;
}
.friend-row {
  padding: 7px 0;
}
.friends-list + p {
  display: none;
}
#panel-map {
  padding: 3px 5px;
}
.dock-content .minimap-card {
  height: 100%;
  padding: 0;
  background: none;
  border: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.minimap-card .section-title,
.minimap-card .map-legend {
  display: none;
}
#minimap {
  display: block;
  width: 100%;
  height: 0;
  flex: 1;
  min-height: 30px;
  max-height: none;
  cursor: crosshair;
  touch-action: none;
}
.minimap-controls {
  height: 23px;
  flex: none;
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  font-size: 9px;
}
.minimap-controls button {
  height: 21px;
  min-height: 0;
  padding: 1px 5px;
  font-size: 13px;
}
.minimap-controls output {
  width: 28px;
  text-align: center;
}
.minimap-controls #mini-floor {
  width: 12px;
  text-align: center;
}
@media (min-width: 801px) {
  .game-bottom {
    height: 164px;
  }
  .action-title {
    margin-bottom: 4px;
  }
  .hotkey {
    height: 52px;
  }
  .hotkey .glyph {
    height: 36px;
    padding-top: 5px;
  }
  .hotkey .glyph svg {
    height: 25px;
    width: 25px;
  }
  .hotkey .ability-name {
    font-size: 8px;
  }
  .action-area {
    padding: 6px 10px;
  }
  .hotbar {
    gap: 4px;
  }
  .key-help {
    font-size: 8px;
    margin-top: 3px;
  }
  .world-panel {
    border-width: 3px;
  }
  .chat-tabs {
    height: 25px;
  }
}
@media (max-width: 800px) {
  .game-header {
    height: 46px;
    gap: 6px;
    padding: 0 8px;
  }
  .dock-toolbar {
    height: auto;
    min-height: 47px;
    max-height: 74px;
    flex-wrap: wrap;
    padding: 3px 5px;
    gap: 2px;
  }
  .dock-toolbar button {
    padding: 2px 8px;
    font-size: 10px;
    min-height: 20px;
  }
  .dock-toolbar .dock-mobile-close {
    display: block;
    font-size: 9px;
  }
  .game-layout {
    display: block;
    position: relative;
    overflow: hidden;
  }
  .world-panel {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    border-width: 2px;
  }
  .dock-column {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(265px, 85vw);
    height: 100%;
    z-index: 12;
    box-shadow: 0 5px 20px #0009;
  }
  .dock-left {
    left: 0;
  }
  .dock-right {
    right: 0;
  }
  .dock-column.mobile-open {
    display: flex;
  }
  .game-header .mobile-panel-toggle {
    display: none;
  }
  .game-bottom {
    height: 252px;
  }
  .action-area {
    height: 139px;
  }
  .chat {
    height: 113px;
  }
  .dock-content .minimap-card {
    max-height: none;
  }
  .dock-content .inventory-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.equipment-content .paperdoll-heading {
  display: none;
}
.dock-toolbar #team-button {
  font-size: 10px;
  min-height: 23px;
  margin-left: 5px;
}

#panel-skills > .section-title {
  display: none;
}

.equipment-content .player-card {
  padding-top: 3px;
  padding-bottom: 1px;
}
.equipment-content .meter {
  margin: 2px 0;
}
.trained-skill {
  padding-top: 4px;
}
#panel-skills {
  padding-bottom: 7px;
}
