.account-shortcut,
.online-shortcut {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  white-space: nowrap;
}
.account-shortcut {
  padding: 8px;
  border: 1px solid #715a8c77;
  background: #6c3fa319;
  border-radius: 3px;
  max-width: 145px;
}
.account-shortcut span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-shortcut > .icon {
  width: 15px;
  height: 15px;
  color: var(--purple);
}
.online-shortcut {
  color: #9fd9c1;
}
.online-shortcut i,
.online-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #57dba8;
  box-shadow: 0 0 8px #57dba866;
}
.resources {
  gap: 12px;
}
.topbar {
  gap: 12px;
}
.brand small {
  font-size: 0.55rem;
}
.world-nav {
  min-width: 0;
}
.nav-item {
  padding-inline: 8px;
  font-size: 0.69rem;
}
.inventory-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.character-tabs {
  display: flex;
  gap: 4px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid #70608e44;
}
.character-tabs button {
  flex: 1;
  border: 1px solid #67517e44;
  padding: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.07rem;
  text-transform: uppercase;
  color: var(--muted);
  background: #0a0b1499;
}
.character-tabs button.active {
  border-color: #bc8bfa88;
  background: linear-gradient(110deg, #8543d22b, #6c40980c);
  color: #e4c5ff;
  box-shadow: inset 0 -2px #a26ae1;
}
.attributes-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
}
.attributes-panel,
.attribute-builds,
.combat-stat-panel {
  padding: 20px;
}
.attributes-panel .panel-heading {
  align-items: start;
  gap: 12px;
}
.attributes-panel .panel-heading h2 {
  font-size: 1rem;
  margin: 5px 0;
}
.attributes-panel .panel-heading p {
  font-size: 0.75rem;
}
.points-badge {
  white-space: nowrap;
  padding: 6px 9px;
  border: 1px solid #896aa266;
  color: #d2b3fa;
  font-size: 0.68rem;
}
.attribute-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.attribute-row {
  border: 1px solid #64516e55;
  background: linear-gradient(125deg, #100c1c, #080c14);
  padding: 16px 12px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
}
.attribute-icon {
  width: 40px;
  height: 44px;
  display: grid;
  place-items: center;
  background: radial-gradient(#7641a632, #17101d);
  border: 1px solid #815aaa77;
  color: #c3a3ff;
}
.attribute-icon .icon {
  width: 24px;
  height: 24px;
}
.attribute-copy h3 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 650;
}
.attribute-copy h3 small {
  font-size: 0.6rem;
  letter-spacing: 0.08rem;
  color: #bda1d6;
  margin-right: 7px;
}
.attribute-copy p {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 10px;
}
.attribute-value {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.attribute-value > strong {
  font-size: 1.3rem;
  line-height: 1;
  color: #fff;
}
.attribute-value > small {
  font-size: 0.62rem;
  color: #c6aed7;
}
.attribute-value > div {
  display: flex;
  gap: 6px;
}
.attribute-value button {
  font-size: 0.7rem;
  padding: 5px 12px;
  min-height: 30px;
}
.attribute-reset {
  border-top: 1px solid #70608b44;
  padding-top: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.attribute-reset p:not(.eyebrow) {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 6px;
}
.attribute-reset button {
  font-size: 0.7rem;
  flex-shrink: 0;
}
.attribute-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
}
.combat-stat-panel dl,
.helper-summary dl {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
}
.combat-stat-panel dl > div,
.helper-summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.8rem;
}
.combat-stat-panel dt,
.helper-summary dt {
  color: var(--muted);
}
.combat-stat-panel dd,
.helper-summary dd {
  margin: 0;
  font-weight: 650;
  color: #e5d6fa;
}
.attribute-builds > article {
  border: 1px solid #70608a55;
  padding: 15px;
  margin-top: 14px;
  background: #080b12a6;
}
.attribute-builds h3 {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 0.87rem;
}
.attribute-builds article > p {
  font-size: 0.73rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 8px 0;
}
.build-weights {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0;
}
.build-weights span {
  padding: 3px 5px;
  font-size: 0.55rem;
  border: 1px solid #655a7b66;
  color: #c1b1d4;
}
.attribute-builds button {
  width: 100%;
  font-size: 0.65rem;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
}
.helper-layout {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(340px, 460px);
  gap: 22px;
  max-width: 900px;
  margin: auto;
}
.helper-summary {
  padding: 25px;
  align-self: start;
  position: sticky;
  top: 0;
  border-color: #8d65b577;
  background:
    radial-gradient(ellipse at 10% 0, #69369927, transparent 60%), #0d0c18ed;
}
.helper-orb {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  background: radial-gradient(#9864e138, #1c1229);
  color: #d2b2ff;
  border: 1px solid #b38aef88;
  box-shadow:
    0 0 28px #7932b521,
    inset 0 0 25px #9541db11;
  margin-bottom: 25px;
}
.helper-orb .icon {
  width: 37px;
  height: 37px;
}
.helper-summary h2 {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06rem;
  margin: 8px 0;
}
.helper-summary > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
}
.helper-count {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  color: #d5c587;
  margin: 20px 0;
}
.helper-count i {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #61edb2;
  box-shadow: 0 0 10px #61edb288;
}
.helper-summary dl {
  border-block: 1px solid #76628033;
  padding: 20px 0;
  margin-bottom: 15px;
}
.helper-options {
  display: grid;
  gap: 14px;
}
.helper-section {
  padding: 15px;
  border: 1px solid #8f6cba77;
  border-left: 2px solid #a678dc;
  background: linear-gradient(125deg, #141021f7, #080c15f7);
}
.helper-section.loot-settings {
  border-left-color: #58ddb1;
  border-color: #429f8555;
}
.helper-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 3px 16px;
}
.helper-section-title > .icon {
  width: 32px;
  height: 32px;
  color: #d2b584;
  filter: drop-shadow(0 0 8px #c5a26733);
}
.helper-section-title h2 {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.6;
}
.helper-section-title .eyebrow {
  font-size: 0.55rem;
}
.helper-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  padding: 15px 0;
  border-top: 1px solid #75548e33;
}
.helper-toggle-icon {
  width: 38px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #0d1420;
  border: 1px solid #63667b55;
  color: #b9a5d9;
}
.helper-toggle.enabled .helper-toggle-icon {
  border-color: #4fb99c88;
  color: #78e2bb;
  box-shadow: inset 0 0 12px #46c6a20d;
}
.helper-toggle-icon > .icon {
  width: 24px;
  height: 24px;
}
.helper-toggle > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.helper-toggle strong {
  display: block;
  font-size: 0.82rem;
}
.helper-toggle small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
  margin-top: 4px;
}
.switch {
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  border: 1px solid #77738888;
  background: #292b39;
  border-radius: 20px;
  padding: 3px;
  display: block;
}
.switch b {
  display: block;
  width: 14px;
  height: 14px;
  background: #9298ad;
  border-radius: 50%;
  transition: transform 0.2s;
}
.enabled .switch {
  background: #21645055;
  border-color: #58d4b088;
}
.enabled .switch b {
  transform: translateX(17px);
  background: #65e2b9;
  box-shadow: 0 0 7px #65e2b955;
}
.full-width {
  width: 100%;
  font-size: 0.73rem;
}
.helper-rule-note {
  font-size: 0.66rem;
  color: #8cdac0;
  line-height: 1.7;
  background: #369b7a0e;
  border: 1px solid #3b9b7a55;
  padding: 10px;
  margin: 5px 0 15px;
  display: flex;
  align-items: start;
  gap: 7px;
}
.helper-rule-note .icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-top: 3px;
}
.rarity-rules {
  display: grid;
  gap: 9px;
}
.rarity-rule {
  border: 1px solid #6b5c7844;
  border-left: 2px solid var(--rarity-color);
  padding: 10px;
  background: #070b14bb;
}
.rarity-rule h3 {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 0.75rem;
  color: var(--rarity-color);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 9px;
}
.rarity-rule h3 i {
  height: 6px;
  width: 6px;
  background: var(--rarity-color);
  transform: rotate(45deg);
  box-shadow: 0 0 7px var(--rarity-color);
}
.rarity-rule > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.rarity-rule button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid #76758966;
  background: #151924aa;
  border-radius: 2px;
  color: #b9becf;
  font-size: 0.7rem;
}
.rarity-rule button .icon {
  width: 18px;
  height: 18px;
  color: #cfb17c;
}
.rarity-rule button.selected {
  border-color: #77d9ff;
  background: linear-gradient(140deg, #4eabd625, #06121e);
  box-shadow:
    inset 0 0 12px #62bbfb15,
    0 0 5px #83d5ff22;
  color: #dbf6ff;
}
.potion-threshold {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.75rem;
  margin: 14px 0;
}
.potion-threshold select {
  padding: 7px 12px;
  background: #0e1420;
  border: 1px solid #75658e77;
  color: var(--text);
}
.account-modal {
  max-width: 460px;
  padding: 30px;
}
.account-title {
  text-align: center;
}
.account-title .eyebrow {
  font-size: 0.57rem;
  margin: 10px 0;
}
.account-title h2 {
  font-size: 1.6rem;
}
.account-title p:last-child {
  margin: 14px 0 20px;
  font-size: 0.82rem;
}
.account-modal form {
  display: grid;
  gap: 14px;
}
.account-modal label {
  display: grid;
  gap: 7px;
  font-size: 0.75rem;
  color: #d1c4e2;
}
.account-modal input {
  width: 100%;
  min-width: 0;
  border: 1px solid #6c527f88;
  padding: 12px;
  background: #080d16;
  border-radius: 3px;
  color: var(--text);
  font-size: 0.8rem;
}
.account-modal input::placeholder {
  font-size: 0.7rem;
}
.account-modal .form-error {
  color: #f5a4aa;
  font-size: 0.75rem;
  line-height: 1.6;
  min-height: 5px;
}
.account-modal form > .primary-button {
  width: 100%;
  font-size: 0.8rem;
}
.account-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 20px;
}
.account-links button {
  font-size: 0.72rem;
}
.account-modal .modal-symbol {
  margin-inline: auto;
}
.account-modal .helper-text {
  font-size: 0.66rem;
  line-height: 1.7;
}
.recovery-code {
  display: block;
  padding: 16px 8px;
  margin: 20px 0;
  border: 1px solid #57bf9c77;
  background: #429a750c;
  color: #a0f2cd;
  text-align: center;
  font-family: monospace;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
  user-select: all;
}
.cloud-state {
  padding: 14px;
  background: #56378018;
  border: 1px solid #7e659933;
  font-size: 0.8rem;
  color: #c5b0db;
}
.account-overview {
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.account-emblem {
  width: 60px;
  height: 60px;
  color: #c4a1ef;
  display: grid;
  place-items: center;
  border: 1px solid #a685c655;
  background: #8751b411;
  flex-shrink: 0;
}
.account-emblem > .icon {
  width: 32px;
  height: 32px;
}
.account-overview > div {
  flex: 1;
}
.account-overview p:last-child {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 7px;
}
.online-panel {
  padding: 24px;
}
.online-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.online-list article {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #67617c44;
  background: #0b101c;
  padding: 14px;
}
.online-list article > .icon {
  width: 25px;
  height: 25px;
  color: #b6a4d2;
}
.online-list article > div {
  flex: 1;
}
.online-list strong {
  font-size: 0.85rem;
}
.online-list small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 4px;
}
.online-list article > span {
  text-align: right;
  font-size: 0.75rem;
  color: #c9b9dd;
}
.empty-online {
  padding: 25px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.onboarding-login {
  display: block;
  margin: 17px auto 0;
  font-size: 0.8rem;
}
.item-row.uncommon .rarity,
.equipment-slot.uncommon h3 {
  color: #62d99b;
}
.item-row.monarch .rarity,
.equipment-slot.monarch h3 {
  color: #f28fb9;
}
.item-row.absolute .rarity,
.equipment-slot.absolute h3 {
  color: #79e7ee;
}
.actor-nameplate {
  pointer-events: none;
}
.enemy-nameplate {
  color: #c5b4dc;
}
.attribute-row,
.rarity-rule,
.helper-section {
  animation: panel-arrive 0.2s ease-out;
}
@keyframes panel-arrive {
  from {
    opacity: 0.6;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 761px) and (max-width: 1250px) {
  .brand small,
  .online-shortcut {
    display: none;
  }
  .brand-mark {
    display: none;
  }
  .nav-item {
    padding-inline: 5px;
    font-size: 0.61rem;
  }
  .resources {
    gap: 7px;
    padding-left: 7px;
  }
  .account-shortcut {
    max-width: 100px;
    font-size: 0.64rem;
  }
  .topbar {
    gap: 8px;
  }
  .attributes-layout {
    grid-template-columns: 1.2fr 1fr;
  }
}
@media (max-width: 760px) {
  .account-shortcut {
    padding: 5px;
    font-size: 0.65rem;
    max-width: 84px;
  }
  .account-shortcut > .icon {
    width: 12px;
    height: 12px;
  }
  .online-shortcut {
    display: none;
  }
  .resources {
    gap: 7px;
  }
  .brand small {
    display: none;
  }
  .attributes-layout {
    grid-template-columns: 1fr;
  }
  .attributes-panel,
  .attribute-builds,
  .combat-stat-panel {
    padding: 14px;
  }
  .attribute-row {
    padding: 13px 10px;
    gap: 10px;
    grid-template-columns: 34px 1fr;
  }
  .attribute-icon {
    width: 34px;
    height: 38px;
  }
  .attribute-value > small {
    font-size: 0.57rem;
  }
  .attribute-value > div {
    margin-left: auto;
  }
  .attributes-panel .panel-heading {
    flex-direction: column;
  }
  .attribute-reset {
    align-items: start;
    flex-direction: column;
  }
  .character-tabs button {
    padding: 10px 5px;
    font-size: 0.59rem;
    letter-spacing: 0;
  }
  .helper-layout {
    grid-template-columns: 1fr;
  }
  .helper-summary {
    position: static;
    padding: 18px;
  }
  .helper-orb {
    width: 40px;
    height: 40px;
    float: left;
    margin: 0 14px 10px 0;
  }
  .helper-orb .icon {
    width: 25px;
    height: 25px;
  }
  .helper-summary h2 {
    font-size: 1.2rem;
  }
  .helper-summary > .eyebrow {
    font-size: 0.55rem;
  }
  .helper-summary > p:not(.eyebrow) {
    font-size: 0.75rem;
  }
  .helper-summary dl {
    display: none;
  }
  .helper-summary .helper-text {
    margin-top: 10px;
  }
  .helper-count {
    margin: 13px 0 0;
  }
  .helper-section {
    padding: 12px;
  }
  .helper-toggle small {
    font-size: 0.67rem;
  }
  .helper-toggle strong {
    font-size: 0.77rem;
  }
  .account-modal {
    padding: 24px 18px;
    max-width: calc(100vw - 24px);
  }
  .account-overview {
    flex-wrap: wrap;
    padding: 17px;
    gap: 13px;
  }
  .account-overview > button {
    width: 100%;
  }
  .account-overview > div {
    min-width: 140px;
  }
  .online-panel {
    padding: 16px;
  }
  .online-panel .panel-heading {
    gap: 10px;
  }
  .online-panel .panel-heading h2 {
    font-size: 1rem;
  }
  .online-list article {
    padding: 10px;
    gap: 8px;
  }
  .online-list article > span {
    max-width: 85px;
  }
  .account-emblem {
    width: 43px;
    height: 43px;
  }
  .recovery-code {
    font-size: 0.8rem;
  }
  .inventory-tools button {
    width: 100%;
  }
  .character-tabs {
    margin-bottom: 16px;
  }
}
@media (max-width: 360px) {
  .account-shortcut > span {
    display: none;
  }
  .account-shortcut {
    width: 25px;
    justify-content: center;
  }
  .brand {
    font-size: 0.9rem;
  }
  .brand-mark {
    width: 23px;
    height: 26px;
  }
  .attribute-value > small {
    flex-basis: 100%;
    order: 2;
  }
  .attribute-copy h3 {
    font-size: 0.78rem;
  }
  .character-tabs button {
    font-size: 0.55rem;
  }
  .helper-rule-note {
    font-size: 0.6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .attribute-row,
  .rarity-rule,
  .helper-section {
    animation: none;
  }
  .switch b {
    transition: none;
  }
}

.helper-tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #10121f;
  padding-block: 4px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.helper-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 6px;
  border: 1px solid #70538c66;
  background: #13101e;
  color: #ada1bd;
  font-size: 0.75rem;
}
.helper-tabs button.active {
  border-color: #d3b26e;
  background: linear-gradient(120deg, #ad833a1b, #171020);
  color: #f1d59d;
  box-shadow: inset 0 -2px #dab57844;
}
.helper-tabs .icon {
  width: 17px;
  height: 17px;
}
.helper-options[data-tab="hunt"]
  [data-helper-section]:not([data-helper-section="hunt"]),
.helper-options[data-tab="items"]
  [data-helper-section]:not([data-helper-section="items"]),
.helper-options[data-tab="support"]
  [data-helper-section]:not([data-helper-section="support"]) {
  display: none;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .topbar {
    gap: 6px;
    padding-inline: 10px;
  }
  .brand {
    max-width: 90px;
  }
  .world-nav {
    gap: 0;
  }
  .nav-item {
    padding: 6px;
    min-width: 30px;
  }
  .nav-item > span {
    display: none;
  }
  .resources {
    flex-shrink: 0;
    gap: 5px;
  }
  .account-shortcut {
    max-width: 90px;
  }
}
