/* Installed Resurrected artwork supplies every native control state. */
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.full-panel {
  overflow-x: hidden;
}
.masthead .brand {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.brand-art {
  width: 255px;
  height: 105px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px #000);
  pointer-events: none;
}
.splash-identity {
  position: absolute;
  inset: 6% 0 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: splash-logo-in 0.7s ease both;
}
.splash-head {
  width: min(45vh, 390px);
  height: min(45vh, 390px);
  object-fit: contain;
  filter: drop-shadow(0 0 32px #74211966);
}
.splash-identity .splash-logo {
  position: static;
  transform: none;
  width: min(68vw, 510px);
  height: auto;
  max-height: 24vh;
  object-fit: contain;
  animation: none;
  margin-top: -32px;
}
.splash-loader {
  z-index: 1;
}
:is(
  .subtle-button,
  .enter-button,
  .page-controls button,
  .stock-pager button,
  .storage-tabs button,
  .armory-storage-tabs button
) {
  --control-art: var(--hd-button-0);
  background-image: var(--control-art);
  border: 0;
  box-shadow: none;
  background-size: 100% 100%;
  image-rendering: auto;
}
:is(
  .subtle-button,
  .enter-button,
  .page-controls button,
  .stock-pager button,
  .storage-tabs button,
  .armory-storage-tabs button
):hover {
  --control-art: var(--hd-button-1);
  filter: none;
}
:is(
  .subtle-button,
  .enter-button,
  .page-controls button,
  .stock-pager button,
  .storage-tabs button,
  .armory-storage-tabs button
):active {
  --control-art: var(--hd-button-3);
  transform: translateY(1px);
}
:is(
  .subtle-button,
  .enter-button,
  .page-controls button,
  .stock-pager button,
  .storage-tabs button,
  .armory-storage-tabs button
):disabled {
  --control-art: var(--hd-button-2);
  filter: none;
  opacity: 0.72;
}
.select-trigger {
  --left: var(--hd-dropdown-left-0);
  --center: var(--hd-dropdown-center-0);
  --right: var(--hd-dropdown-right-0);
  background-image: var(--left), var(--right), var(--center);
  background-position:
    left center,
    right center,
    center;
  background-size:
    22px 100%,
    84px 100%,
    calc(100% - 40px) 100%;
  background-repeat: no-repeat;
  border: 0;
  padding: 5px 39px 5px 12px;
  min-height: 36px;
  position: relative;
  isolation: isolate;
  image-rendering: auto;
}
.select-trigger:hover,
.select-trigger[aria-expanded="true"] {
  --left: var(--hd-dropdown-left-1);
  --center: var(--hd-dropdown-center-1);
  --right: var(--hd-dropdown-right-1);
}
.select-trigger:active {
  --left: var(--hd-dropdown-left-3);
  --center: var(--hd-dropdown-center-3);
  --right: var(--hd-dropdown-right-3);
}
.select-trigger:disabled {
  --left: var(--hd-dropdown-left-2);
  --center: var(--hd-dropdown-center-2);
  --right: var(--hd-dropdown-right-2);
}
.select-trigger > i {
  display: none;
}
.select-trigger > img,
.select-options img,
.class-icon {
  image-rendering: auto;
}
.select-options button:disabled {
  color: #70695b;
  opacity: 0.65;
}
.select-options button[aria-selected="true"] {
  box-shadow: inset 0 0 0 1px #8a744e;
}
.class-option,
.class-option:last-child {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
  grid-column: auto;
  margin: 0;
  width: 100%;
}
.class-option > span {
  flex: 1;
  min-width: 0;
  align-self: center;
  margin: 0;
  transform: none;
}
.class-option strong {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 22px;
  line-height: 22px;
  margin: 0;
}
.class-option small {
  display: block;
  margin: 1px 0 0;
  line-height: 1.2;
}
.class-option .class-icon {
  width: 19px;
  height: 22px;
  flex: 0 0 19px;
}
.nav-tab {
  position: relative;
  min-height: 35px;
}
.talent-upgrade-icon {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: 15px;
  height: 20px;
  pointer-events: none;
}
.view-header > .diablo-select {
  width: 205px;
  max-width: 205px;
  flex: 0 0 205px;
}
.talent-experience > .talent-points {
  height: auto;
  border: 0;
  background: none;
  margin: 0 0 9px;
  font: 14px var(--body);
  color: #d2bf8d;
}
.talent-experience > div[role="progressbar"] {
  height: 10px;
  margin: 6px 0;
}
.talent-node {
  position: relative;
}
.paper-slot img,
.grid-item img,
.belt-cell img,
.vendor-offer img,
.upgrade-card img,
.item-inspector.compact > img {
  image-rendering: auto;
}
.paper-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.grid-item {
  padding: 1px;
}
.grid-item img {
  width: 100%;
  height: 100%;
}
.weapon-set-tabs,
.weapon-set-tabs.offhand-tabs {
  left: 17px;
  top: 23px;
  display: flex;
  gap: 0;
  width: 63px;
  height: 20px;
  background-image: var(--hd-weapon-tab-0);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  isolation: isolate;
}
.weapon-set-tabs:has(button[data-set="1"].active) {
  background-image: var(--hd-weapon-tab-1);
}
.weapon-set-tabs.offhand-tabs {
  left: 247px;
}
.weapon-set-tabs button {
  position: relative;
  width: 31px;
  min-width: 0;
  height: 18px;
  padding: 0;
  line-height: 15px;
  font: 10px var(--heading);
  background: none !important;
  box-shadow: none !important;
  border: 0;
  top: 1px;
  color: #8d836d;
}
.weapon-set-tabs button.active {
  color: #f4dca6;
  top: -1px;
  z-index: 2;
  text-shadow: 0 1px 2px #000;
}
.weapon-set-tabs button:hover {
  color: #fff3c6;
  filter: brightness(1.3);
}
.inventory-gold {
  left: 17px;
  top: 386px;
  width: 144px;
  height: 30px;
}
.inventory-belt {
  left: 176px;
  top: 385px;
}
.belt-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.storage-footer {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 17px;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 32px;
}
.stash-gold {
  flex: 1;
  min-width: 0;
  height: 30px;
  padding: 2px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px ridge #7a6c4f;
  background: #080705;
  color: #d1bc7a;
  font-size: 14px;
}
.stash-gold img {
  width: 24px;
  height: 23px;
  object-fit: contain;
}
.storage-footer button {
  width: 31px;
  height: 29px;
  font-size: 17px;
  background-image: var(--hd-button-small-0);
  background-size: 100% 100%;
  border: 0;
}
.storage-footer button:hover {
  background-image: var(--hd-button-small-1);
}
.storage-footer button:disabled {
  background-image: var(--hd-button-small-2);
}
.stash-help {
  bottom: 59px;
  right: 18px;
}
.vendor-native .storage-footer {
  bottom: 17px;
  justify-content: center;
  color: #8c8069;
  font-size: 11px;
}
.vendor-footer {
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a38e63;
  font: 15px var(--heading);
}
.vendor-native .stash-help {
  display: none;
}
.info-monster-preview {
  display: block;
  margin: 0 auto 12px;
  max-width: 100%;
  object-fit: contain;
}
.gold-amount-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}
.gold-amount-label input {
  width: 180px;
}
.belt-hotspots {
  left: 52.875%;
  top: 61.538%;
  height: 30.77%;
}
.belt-hotspots button {
  height: 100%;
}
#buff-hud {
  gap: 9px;
  align-items: flex-start;
}
#buff-hud .buff-clock {
  display: block;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #ad9967;
  border-radius: 50%;
  background: #080805;
  box-shadow: 0 2px 8px #000;
  overflow: visible;
}
.buff-clock img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.buff-clock i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    transparent 0deg var(--angle),
    #000b var(--angle) 360deg
  );
  box-shadow: inset 0 0 0 2px #ba9c5a44;
}
.buff-clock b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  text-align: center;
  color: #eadcb2;
  font: 11px var(--body);
  text-shadow:
    0 1px 3px #000,
    0 0 3px #000;
}
.lobby-dialog {
  width: min(940px, 96vw);
  max-height: 88vh;
  padding: 28px;
  overflow: auto;
}
.lobby-dialog .full-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}
.lobby-dialog .full-panel:before,
.lobby-dialog .full-panel:after {
  display: none;
}
.lobby-dialog .view-header {
  padding-right: 25px;
  gap: 15px;
}
.lobby-dialog .title-with-help {
  flex-wrap: wrap;
  gap: 8px 14px;
}
.lobby-location {
  color: #a9915d;
  font: 14px var(--body);
}
.lobby-actions {
  align-items: center;
  flex-wrap: wrap;
}
.lobby-actions label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.solo-lobby-action {
  display: flex;
  justify-content: center;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #5b4b2e;
}
.solo-lobby-action button {
  min-width: 240px;
}
.enemy-info {
  width: min(820px, 94vw);
  max-height: 88vh;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #8a724b #15130e;
}
.enemy-info-main {
  display: flex;
  align-items: center;
  gap: 25px;
}
.enemy-info-main canvas {
  width: 230px;
  height: 260px;
  flex: 0 0 230px;
  max-width: 40vw;
  object-fit: contain;
}
.enemy-variants {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.enemy-variants article {
  padding: 7px;
  border: 1px solid #55452b;
  background: #08090688;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.enemy-variants canvas {
  width: 100%;
  height: 160px;
  object-fit: contain;
}
.enemy-variants strong {
  font-size: 12px;
  color: #c9b383;
}
.enemy-variants small {
  display: block;
  color: #877e68;
  font-size: 10px;
}
.page-controls button {
  min-width: 34px;
  height: 28px;
  padding: 2px 9px;
}
.page-controls button:disabled {
  opacity: 0.5;
}
@media (max-width: 713px) {
  .brand-art {
    width: 205px;
    height: 82px;
  }
  .lobby-dialog {
    padding: 21px 14px;
  }
  .view-header > .diablo-select {
    width: 160px;
    max-width: 160px;
    flex: 0 0 160px;
  }
  .enemy-info-main {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .enemy-info-main canvas {
    max-width: 65vw;
  }
  .splash-head {
    width: 42vh;
    height: 42vh;
  }
  .class-option strong {
    min-height: 18px;
    line-height: 18px;
  }
  .class-option .class-icon {
    width: 15px;
    height: 18px;
    flex-basis: 15px;
  }
  .nav-tab .talent-upgrade-icon {
    right: -7px;
    width: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .splash-identity {
    animation-duration: 0.01s;
  }
}
@media (max-height: 780px) and (min-width: 801px) {
  .masthead .brand {
    height: 56px;
  }
  .brand-art {
    width: 245px;
    height: 68px;
  }
}
