.page-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(12, 9, 9, 0.96), rgba(10, 8, 8, 0.98));
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.page-card__hero {
  padding: 24px 24px 0;
}

.page-card__body {
  padding: 0 24px 24px;
}

.page-meta__eyebrow {
  display: inline-block;
  color: var(--accent-strong);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.page-meta__title {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-meta__description {
  margin: 0 0 10px;
  max-width: 60ch;
  color: var(--text-soft);
}

.block-stack {
  display: grid;
  gap: 16px;
}

.content-block {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
}

.content-block__header {
  padding: 18px 20px 0;
}

.content-block__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.content-block__body {
  padding: 18px 20px 20px;
}

.prose {
  color: var(--text-soft);
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  margin: 1.1em 0 0.55em;
  color: var(--text);
  font-family: var(--font-display);
}

.prose p,
.prose ul,
.prose ol,
.prose table,
.prose figure,
.prose details,
.prose blockquote {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.32rem;
}

.prose a {
  color: #ff9c86;
}

.prose img {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.prose iframe {
  display: block;
  width: min(100%, 760px);
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 14px auto;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
}

.legacy-html table {
  background: rgba(19, 10, 10, 0.96) !important;
  color: var(--text) !important;
}

.legacy-html thead,
.legacy-html thead tr,
.legacy-html th {
  background: rgba(92, 18, 18, 0.94) !important;
  color: var(--text) !important;
}

.legacy-html tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02) !important;
}

.legacy-html td {
  background: transparent !important;
  color: var(--text-soft) !important;
}

.legacy-html img[style*="background:#ffa500"] {
  background: #2a0f10 !important;
  border: 1px solid rgba(196, 59, 43, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(196, 59, 43, 0.18), 0 10px 22px rgba(0, 0, 0, 0.38) !important;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: rgba(214, 61, 44, 0.12);
  color: var(--text);
}

.prose details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
}

.prose summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}

.callout {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(214, 61, 44, 0.13), rgba(255, 255, 255, 0.02));
}

.callout__title {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.callout__text {
  margin: 0;
  color: var(--text-soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.gallery figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.steps__number {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(214, 61, 44, 0.22);
  color: var(--text);
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.mini-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.mini-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.mini-card__description {
  margin: 0;
  color: var(--text-soft);
}

.downloads-list {
  display: grid;
  gap: 12px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.download-item__meta h4,
.download-item__meta p {
  margin: 0;
}

.download-item__meta p {
  color: var(--muted);
}

.page-related {
  margin-top: 16px;
}

.page-related a {
  display: block;
  padding: 12px 0;
  color: var(--text-soft);
}

.page-related a:hover {
  color: var(--accent-strong);
}

.faq-block__intro {
  margin: 0 0 14px;
  color: var(--text-soft);
}

.faq-accordion {
  display: grid;
  gap: 12px;
}

.faq-entry {
  border-radius: 10px;
  border: 1px solid rgba(214, 61, 44, 0.22);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.faq-entry:hover,
.faq-entry.is-open {
  border-color: rgba(214, 61, 44, 0.42);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.faq-entry__question {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

.faq-entry__question:hover {
  background: rgba(214, 61, 44, 0.08);
}

.faq-entry__chevron {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-right: 2px solid var(--accent-strong);
  border-bottom: 2px solid var(--accent-strong);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  flex: 0 0 10px;
}

.faq-entry.is-open .faq-entry__chevron {
  transform: rotate(225deg);
}

.faq-entry__answer {
  padding: 0 18px 18px;
  color: var(--text-soft);
}

.faq-entry__answer > :first-child {
  margin-top: 0;
}

.faq-entry__answer > :last-child {
  margin-bottom: 0;
}

.legacy-html .voc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 14px auto 18px;
}

.legacy-html .voc-btn {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(15, 15, 18, 0.98), rgba(6, 6, 7, 0.96));
  color: var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.legacy-html .voc-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(180deg, rgba(34, 34, 38, 1), rgba(12, 12, 14, 0.98));
}

.legacy-html .voc-btn.is-active {
  border-color: rgba(214, 61, 44, 0.6);
  background: linear-gradient(180deg, rgba(214, 61, 44, 0.2), rgba(12, 10, 10, 0.96));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(214, 61, 44, 0.18);
}

.legacy-html .voc-btn[data-voc="druid"]::before {
  content: "🌿";
}

.legacy-html .voc-btn[data-voc="paladin"]::before {
  content: "🏹";
}

.legacy-html .voc-btn[data-voc="knight"]::before {
  content: "🛡️";
}

.legacy-html .voc-btn[data-voc="sorcerer"]::before {
  content: "🔥";
}

.legacy-html .voc-btn[data-voc="monk"]::before {
  content: "🥋";
}

.legacy-html .voc-set,
.legacy-html .elem-set {
  display: none;
}

.legacy-html .voc-set.is-active,
.legacy-html .elem-set.is-active {
  display: block;
  animation: legacyFadeIn 0.2s ease-out;
}

.legacy-html .zumbi-loot {
  margin: 18px 0;
}

.legacy-html .zumbi-loot .zumbi-grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, 52px);
  grid-auto-columns: 52px;
  gap: 10px 12px;
  justify-content: start;
  overflow-x: auto;
  padding-bottom: 8px;
}

.legacy-html .zumbi-loot .item-slot {
  width: 52px;
  height: 52px;
  background: #bdb4a4;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 3px 8px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.legacy-html .zumbi-loot .item-slot img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  image-rendering: pixelated;
}

.legacy-html .zumbi-loot .item-slot:hover {
  transform: scale(1.08);
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 6px 14px rgba(0, 0, 0, 0.42);
  z-index: 3;
}

.legacy-html .zumbi-loot .tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  padding: 8px 10px;
  background: #151515;
  color: #f5f5f5;
  font-size: 12px;
  line-height: 1.35;
  border: 1px solid rgba(0, 0, 0, 0.7);
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  white-space: nowrap;
  z-index: 20;
}

.legacy-html .zumbi-loot .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #151515 transparent transparent transparent;
}

.legacy-html .zumbi-loot .has-tip:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.legacy-html .trinket-tabs {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legacy-html .trinket-btn {
  background: #101a26;
  color: #dcc78d;
  border: 1px solid #a88b3d;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  border-radius: 8px;
}

.legacy-html .trinket-btn:hover {
  background: #16263a;
}

.legacy-html .trinket-btn.active {
  background: #a88b3d;
  color: #111;
}

.legacy-html .table-wrapper {
  width: 100%;
  background: #101722;
  border: 1px solid rgba(214, 61, 44, 0.4);
  border-radius: 12px;
  padding: 14px;
  margin-top: 10px;
  overflow-x: auto;
}

.legacy-html .item-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 100%;
}

.legacy-html .item-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  image-rendering: pixelated;
  border: 0;
}

.legacy-html .item-name {
  color: #ffb5a1;
  font-weight: 700;
  line-height: 1.2;
  display: inline-block;
}

.legacy-html .price {
  color: #ffd36b !important;
  font-weight: 700;
}

.legacy-html .vip-category td {
  background: rgba(92, 18, 18, 0.94) !important;
  color: var(--text) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 12px;
  text-align: left !important;
  border-top: 1px solid rgba(214, 61, 44, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legacy-html .battlepass-carousel-wrapper {
  position: relative;
  padding: 0 38px;
  max-width: 100%;
  margin: 0 auto;
}

.legacy-html .battlepass-carousel-viewport {
  overflow: hidden;
  border-radius: 8px;
}

.legacy-html .bp-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 52px;
  border: 1px solid rgba(214, 61, 44, 0.5);
  border-radius: 8px;
  background: linear-gradient(160deg, #1a202b, #0f141a);
  color: var(--accent-strong);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.legacy-html .bp-prev {
  left: 0;
}

.legacy-html .bp-next {
  right: 0;
}

.legacy-html .bp-nav:hover:not(:disabled) {
  background: linear-gradient(160deg, #252d3d, #161c28);
  box-shadow: 0 0 0 1px rgba(214, 61, 44, 0.4), 0 0 12px rgba(214, 61, 44, 0.2);
}

.legacy-html .bp-nav:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.legacy-html .bp-progress {
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
  color: var(--accent-strong);
  font-weight: 600;
}

.legacy-html .battlepass-days {
  --bp-visible: 3;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 4px 2px;
}

.legacy-html .battlepass-days::-webkit-scrollbar {
  display: none;
}

.legacy-html .battlepass-day-card {
  flex: 0 0 calc((100% - (var(--bp-visible) - 1) * 8px) / var(--bp-visible));
  min-width: 0;
  border: 1px solid rgba(214, 61, 44, 0.3);
  border-radius: 8px;
  padding: 8px;
  scroll-snap-align: start;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.42);
}

.legacy-html .battlepass-day-title {
  margin: 0 0 7px;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.legacy-html .battlepass-tracks {
  display: grid;
  gap: 3px;
}

.legacy-html .battlepass-track {
  min-width: 0;
  border-radius: 6px;
  padding: 5px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legacy-html .battlepass-track.free {
  border-color: rgba(168, 196, 224, 0.25);
}

.legacy-html .battlepass-track.premium {
  border-color: rgba(214, 61, 44, 0.35);
  background: rgba(214, 61, 44, 0.08);
}

.legacy-html .battlepass-track.accelerator {
  border-color: rgba(105, 176, 127, 0.3);
  background: rgba(105, 176, 127, 0.06);
}

.legacy-html .battlepass-track-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0 0 4px;
  text-align: center;
  text-transform: uppercase;
}

.legacy-html .battlepass-track-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.legacy-html .battlepass-reward-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 5px 4px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.legacy-html .battlepass-item-img,
.legacy-html .battlepass-item-fallback {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  background: transparent;
  object-fit: contain;
  image-rendering: pixelated;
}

.legacy-html .battlepass-item-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-strong);
}

.legacy-html .battlepass-item-info {
  min-width: 0;
  display: grid;
  gap: 0;
  justify-items: center;
}

.legacy-html .battlepass-item-info strong,
.legacy-html .battlepass-item-info span {
  font-size: 10px;
  line-height: 1.3;
}

.legacy-html .battlepass-item-info strong {
  font-size: 10px;
  font-weight: 800;
}

.legacy-html .battlepass-item-info span {
  font-weight: 700;
}

.legacy-html [data-events-browser] {
  display: grid;
  gap: 18px;
}

.legacy-html .event-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.legacy-html .event-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(214, 61, 44, 0.22);
  background: linear-gradient(180deg, rgba(19, 10, 10, 0.96), rgba(12, 9, 9, 0.96));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.legacy-html .event-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(214, 61, 44, 0.18);
  background: rgba(0, 0, 0, 0.32);
}

.legacy-html .event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.legacy-html .event-card__title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.legacy-html .event-card__schedule {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.legacy-html .event-card__description,
.legacy-html .event-card__details {
  margin: 0;
  color: var(--text-soft);
}

.legacy-html [data-quests-browser] {
  display: grid;
  gap: 18px;
}

.quest-browser {
  display: grid;
  gap: 18px;
}

.ilhas-browser,
.raids-browser,
.craft-sets-browser {
  display: grid;
  gap: 18px;
}

.quest-browser__toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ilhas-browser__toolbar,
.raids-browser__toolbar,
.craft-sets-browser__toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.quest-browser__field {
  display: grid;
  gap: 8px;
  min-width: min(100%, 320px);
}

.ilhas-browser__field,
.raids-browser__field,
.craft-sets-browser__field {
  display: grid;
  gap: 8px;
  min-width: min(100%, 320px);
}

.quest-browser__label {
  color: var(--text-soft);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ilhas-browser__label,
.raids-browser__label,
.craft-sets-browser__label {
  color: var(--text-soft);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quest-browser__select {
  width: min(100%, 360px);
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(214, 61, 44, 0.24);
  background: rgba(11, 10, 10, 0.96);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ilhas-browser__select,
.raids-browser__select,
.craft-sets-browser__select {
  width: min(100%, 360px);
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(214, 61, 44, 0.24);
  background: rgba(11, 10, 10, 0.96);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.quest-browser__select:focus {
  border-color: rgba(214, 61, 44, 0.58);
  box-shadow: 0 0 0 1px rgba(214, 61, 44, 0.2);
}

.ilhas-browser__select:focus,
.raids-browser__select:focus,
.craft-sets-browser__select:focus {
  border-color: rgba(214, 61, 44, 0.58);
  box-shadow: 0 0 0 1px rgba(214, 61, 44, 0.2);
}

.quest-browser__summary {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(214, 61, 44, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
}

.ilhas-browser__summary,
.raids-browser__summary,
.craft-sets-browser__summary {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(214, 61, 44, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
}

.quest-browser__summary strong {
  color: var(--text);
  font-size: 1.15rem;
}

.ilhas-browser__summary strong,
.raids-browser__summary strong,
.craft-sets-browser__summary strong {
  color: var(--text);
  font-size: 1.15rem;
}

.quest-card-link {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.landing-card-link {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.quest-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 59, 43, 0.46);
  background: linear-gradient(180deg, rgba(24, 12, 12, 0.98), rgba(14, 9, 9, 0.98));
}

.landing-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 59, 43, 0.46);
  background: linear-gradient(180deg, rgba(24, 12, 12, 0.98), rgba(14, 9, 9, 0.98));
}

.quest-card-link__cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 61, 44, 0.24);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.landing-card-link__cta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 61, 44, 0.24);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.legacy-html [data-spells-custom] {
  --mot-border: rgba(196, 59, 43, 0.3);
  --mot-panel: rgba(17, 10, 10, 0.94);
  --mot-soft: rgba(255, 255, 255, 0.05);
  --mot-muted: var(--text-soft);
  --mot-accent: var(--accent-strong);
  color: var(--text);
}

.legacy-html .mot-voc {
  border: 1px solid var(--mot-border);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 10, 10, 0.98), rgba(10, 7, 7, 0.98));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.legacy-html .mot-voc__head,
.legacy-html .mot-tabs {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.legacy-html .mot-voc__title h2,
.legacy-html .mot-card h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-family: var(--font-display);
}

.legacy-html .mot-voc__title p,
.legacy-html .mot-muted {
  color: var(--mot-muted);
}

.legacy-html .mot-voc__quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.legacy-html .mot-pill,
.legacy-html .mot-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--mot-border);
  background: rgba(255, 255, 255, 0.03);
}

.legacy-html .mot-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.legacy-html .mot-tab:hover,
.legacy-html .mot-tab.is-active {
  transform: translateY(-1px);
  border-color: rgba(196, 59, 43, 0.55);
  background: rgba(196, 59, 43, 0.12);
}

.legacy-html .mot-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mot-accent);
  box-shadow: 0 0 0 4px rgba(196, 59, 43, 0.16);
}

.legacy-html .mot-content {
  padding: 16px;
}

.legacy-html .mot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legacy-html .mot-card {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
}

.legacy-html .mot-card--full {
  margin-top: 12px;
}

.legacy-html .mot-callout {
  border-radius: 10px;
  border: 1px solid rgba(196, 59, 43, 0.28);
  background: rgba(196, 59, 43, 0.06);
  padding: 10px 12px;
}

.legacy-html .mot-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 12px 0;
}

.legacy-html .mot-rot {
  display: grid;
  gap: 10px;
}

.legacy-html .mot-rot__block {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
}

.legacy-html .mot-rot__title,
.legacy-html .mot-vocName {
  font-weight: 800;
  color: var(--text);
}

.legacy-html .mot-listHead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.legacy-html .mot-levels {
  display: grid;
  gap: 10px;
}

.legacy-html .mot-details {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.legacy-html .mot-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
}

.legacy-html .mot-summary::-webkit-details-marker {
  display: none;
}

.legacy-html .mot-body {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
}

.legacy-html .mot-spell {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
}

.legacy-html .mot-spellTop {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.legacy-html .mot-spellTop code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  color: var(--text);
}

.legacy-html .mot-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 800;
}

.legacy-html .mot-attack {
  color: #ffd1d1;
  background: rgba(196, 59, 43, 0.14);
  border-color: rgba(196, 59, 43, 0.35);
}

.legacy-html .mot-sustain {
  color: #d8f2de;
  background: rgba(66, 138, 88, 0.14);
  border-color: rgba(66, 138, 88, 0.35);
}

.legacy-html .mot-heal {
  color: #d6e8ff;
  background: rgba(61, 106, 170, 0.14);
  border-color: rgba(61, 106, 170, 0.35);
}

.legacy-html .mot-trap {
  color: #ffe7bf;
  background: rgba(171, 88, 20, 0.14);
  border-color: rgba(171, 88, 20, 0.35);
}

.legacy-html .mot-unique {
  color: #ebd7ff;
  background: rgba(116, 72, 168, 0.14);
  border-color: rgba(116, 72, 168, 0.35);
}

.spell-browser {
  display: grid;
  gap: 20px;
}

.spell-browser__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spell-results {
  display: grid;
  gap: 20px;
}

.spell-group {
  display: grid;
  gap: 12px;
}

.spell-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.spell-group__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.spell-group__count {
  color: var(--muted);
  font-size: 0.92rem;
}

.spell-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.spell-card {
  display: grid;
  gap: 10px;
  min-height: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.spell-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.spell-card__level,
.spell-card__vocation {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.spell-card__level {
  color: var(--text);
  background: rgba(214, 61, 44, 0.18);
  border: 1px solid rgba(214, 61, 44, 0.28);
}

.spell-card__name {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.spell-card__name code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: inherit;
  font-weight: 800;
}

.spell-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spell-card__vocation {
  color: #ffc8b6;
  background: rgba(115, 25, 20, 0.46);
  border: 1px solid rgba(214, 61, 44, 0.24);
}

.spell-card__info {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.5;
}

.legacy-html [data-bosses-browser] {
  display: block;
}

.boss-browser {
  display: grid;
  gap: 18px;
}

.boss-browser__toolbar {
  display: grid;
  gap: 14px;
}

.boss-browser__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.boss-browser__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(214, 61, 44, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.boss-browser__tab:hover,
.boss-browser__tab.is-active {
  color: var(--text);
  border-color: rgba(214, 61, 44, 0.48);
  background: linear-gradient(90deg, rgba(214, 61, 44, 0.16), rgba(214, 61, 44, 0.05));
  transform: translateY(-1px);
}

.boss-browser__summary {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(214, 61, 44, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
}

.boss-browser__summary strong {
  color: var(--text);
  font-size: 1.1rem;
}

.boss-browser__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 15px;
}

.boss-browser-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 5px;
  padding: 5px;
  border-radius: 8px;
  border: 1px solid rgba(214, 61, 44, 0.2);
  background: linear-gradient(180deg, rgba(18, 10, 10, 0.96), rgba(10, 8, 8, 0.98));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.boss-browser-card__media {
  width: 100px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.boss-browser-card__image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  image-rendering: pixelated;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.boss-browser-card__image-fallback {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(214, 61, 44, 0.16);
  color: var(--text);
  font-weight: 800;
}

.boss-browser-card__body {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.boss-browser-card__header {
  display: grid;
  gap: 8px;
}

.boss-browser-card__heading {
  display: grid;
}

.boss-browser-card__type {
  color: var(--accent-strong);
  font-size: 0.8rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.boss-browser-card__name {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.boss-browser-card__level {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.boss-browser-card__level b {
  color: var(--accent-strong);
}

.boss-browser-card__loot {
  display: grid;
  gap: 10px;
}

.boss-browser-card__loot-title {
  color: var(--text);
  font-weight: 700;
}

.boss-browser-card__loot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.boss-browser-card__loot-slot {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(214, 61, 44, 0.18);
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.boss-browser-card__loot-slot img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  image-rendering: pixelated;
}

.boss-browser-card__loot-empty {
  color: var(--muted);
  font-size: 0.9rem;
}

.legacy-html .loot-panel {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(196, 59, 43, 0.24);
  background: linear-gradient(180deg, rgba(18, 10, 10, 0.96), rgba(10, 7, 7, 0.98));
  padding: 14px;
}

.legacy-html .loot-header {
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.legacy-html .loot-grid {
  display: grid;
  gap: 12px;
}

.legacy-html .stones-grid {
  grid-template-columns: repeat(4, minmax(0, 74px));
  justify-content: start;
}

.legacy-html .loot-slot {
  width: 100%;
  max-width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 18px rgba(0, 0, 0, 0.26);
}

.legacy-html .loot-slot img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
}

.legacy-html .loot-slot.comum {
  border-color: rgba(144, 144, 144, 0.5);
}

.legacy-html .loot-slot.raro {
  border-color: rgba(61, 106, 170, 0.5);
}

.legacy-html .loot-slot.muito-raro {
  border-color: rgba(116, 72, 168, 0.5);
}

.legacy-html .loot-slot.epico {
  border-color: rgba(196, 59, 43, 0.52);
}

.legacy-html .loot-slot.lendario {
  border-color: rgba(214, 163, 63, 0.52);
}

@keyframes legacyFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .page-card__hero,
  .page-card__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .download-item {
    flex-direction: column;
    align-items: start;
  }

  .legacy-html .mot-grid {
    grid-template-columns: 1fr;
  }

  .legacy-html .stones-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .legacy-html .bp-nav {
    width: 28px;
    height: 40px;
    font-size: 22px;
  }

  .legacy-html .event-grid {
    grid-template-columns: 1fr;
  }

  .quest-browser__toolbar {
    align-items: stretch;
  }

  .quest-browser__field,
  .quest-browser__select {
    width: 100%;
  }

  .ilhas-browser__toolbar,
  .raids-browser__toolbar,
  .craft-sets-browser__toolbar {
    align-items: stretch;
  }

  .ilhas-browser__field,
  .ilhas-browser__select,
  .raids-browser__field,
  .raids-browser__select,
  .craft-sets-browser__field,
  .craft-sets-browser__select {
    width: 100%;
  }
}

.custom-items-browser {
  display: block;
}

.custom-items-shell {
  display: grid;
  gap: 20px;
}

.custom-items-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.custom-items-search {
  display: grid;
  gap: 8px;
  min-width: min(100%, 420px);
  color: var(--text-soft);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.custom-items-search__input {
  width: min(100%, 440px);
  min-height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(214, 61, 44, 0.25);
  background: rgba(11, 10, 10, 0.96);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.custom-items-search__input:focus {
  border-color: rgba(214, 61, 44, 0.6);
  box-shadow: 0 0 0 1px rgba(214, 61, 44, 0.2);
}

.custom-items-summary {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(214, 61, 44, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
}

.custom-items-summary strong {
  font-size: 1.25rem;
  color: var(--text);
}

.custom-items-filters {
  display: grid;
  gap: 14px;
}

.custom-filter-group {
  display: grid;
  gap: 10px;
}

.custom-filter-group__label {
  color: var(--accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.custom-filter-group__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-filter-flag {
  cursor: pointer;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(20, 16, 16, 0.98), rgba(9, 8, 8, 0.96));
  color: var(--text-soft);
  font-weight: 700;
  transition: border-color 0.18s ease, transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.custom-filter-flag:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(214, 61, 44, 0.34);
}

.custom-filter-flag.is-active {
  color: var(--text);
  border-color: rgba(214, 61, 44, 0.68);
  background: linear-gradient(180deg, rgba(214, 61, 44, 0.24), rgba(18, 10, 10, 0.96));
  box-shadow: 0 0 0 1px rgba(214, 61, 44, 0.16);
}

.custom-items-results {
  display: grid;
  gap: 22px;
}

.custom-items-group {
  display: grid;
  gap: 14px;
}

.custom-items-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-items-group__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.custom-items-group__count {
  color: var(--muted);
  font-size: 0.92rem;
}

.custom-items-grid {
  display: grid;
  gap: 12px;
}

.custom-items-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.custom-item-card {
  position: relative;
  width: 78px;
  height: 78px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(196, 59, 43, 0.42);
  background: transparent;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
  overflow: visible;
  z-index: 1;
}

.custom-item-card__media {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.custom-item-card__image {
  width: 48px;
  height: 48px;
  max-width: none;
  object-fit: contain;
  image-rendering: pixelated;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.24));
}

.custom-item-card__fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 10px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-item-card__body {
  display: none;
}

.custom-items-popover {
  position: fixed;
  z-index: 2000;
  min-width: 228px;
  max-width: 260px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(196, 59, 43, 0.42);
  background: #140d0d;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
  color: var(--text);
}

.custom-items-popover[hidden] {
  display: none;
}

.custom-items-popover .custom-item-card__topline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.custom-items-popover .custom-item-card__title {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.custom-items-popover .custom-item-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.custom-item-card__topline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.custom-item-card__level,
.custom-item-card__type,
.custom-item-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.custom-item-card__level {
  color: var(--text);
  background: rgba(214, 61, 44, 0.18);
  border: 1px solid rgba(214, 61, 44, 0.28);
}

.custom-item-card__type {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-item-card__title {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.35;
}

.custom-item-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.custom-item-card__badge {
  color: #ffc8b6;
  background: rgba(115, 25, 20, 0.46);
  border: 1px solid rgba(214, 61, 44, 0.24);
}

.custom-item-card__badge--shared {
  color: #f0d9b8;
  background: rgba(90, 64, 18, 0.34);
  border-color: rgba(176, 128, 41, 0.28);
}

.custom-item-card:hover,
.custom-item-card:focus-within,
.custom-item-card:focus-visible,
.custom-item-card.is-popover-open {
  transform: translateY(-2px);
  background: #160d0d;
  border-color: rgba(214, 61, 44, 0.75);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(214, 61, 44, 0.14);
  z-index: 30;
}

.stone-browser {
  display: grid;
  gap: 16px;
}

.stone-browser__summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text-soft);
}

.stone-browser__summary strong {
  color: var(--text);
  font-size: 1.1rem;
}

.stone-table__wrap {
  overflow-x: auto;
}

.stone-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(19, 10, 10, 0.96);
  color: var(--text);
  border-radius: 10px;
  overflow: hidden;
}

.stone-table thead,
.stone-table thead tr,
.stone-table th {
  background: rgba(92, 18, 18, 0.94);
  color: var(--text);
}

.stone-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02);
}

.stone-table th,
.stone-table td {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: middle;
}

.stone-table__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.stone-table__icon-slot {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(214, 61, 44, 0.7);
  background: transparent;
  flex: 0 0 52px;
}

.stone-table__icon-slot img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  border: 0;
}

.legacy-html .pets-ui {
  background: linear-gradient(135deg, rgba(28, 15, 15, 0.96), rgba(17, 10, 10, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
}

.legacy-html .pets-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 15px;
}

.legacy-html .pets-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legacy-html .pets-title h3 {
  margin: 0;
  color: var(--text);
}

.legacy-html .pets-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legacy-html .pets-btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.legacy-html .pets-btn.gold {
  background: linear-gradient(45deg, #ffd700, #ffae00);
  color: #111;
}

.legacy-html .pets-btn.coin {
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  color: #fff;
}

.legacy-html .pets-btn:hover {
  transform: translateY(-1px);
}

.legacy-html .pets-btn.active {
  border-color: rgba(196, 59, 43, 0.7);
  box-shadow: 0 0 0 3px rgba(196, 59, 43, 0.14);
}

.legacy-html .pets-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
}

.legacy-html .pet-card {
  position: relative;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  min-height: 74px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.legacy-html .pet-card:hover {
  transform: translateY(-1px);
  border-color: rgba(196, 59, 43, 0.48);
  box-shadow: 0 0 0 2px rgba(196, 59, 43, 0.12);
}

.legacy-html .pet-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.legacy-html .pet-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(10, 8, 8, 0.96);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  border: 1px solid rgba(196, 59, 43, 0.65);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.36);
  z-index: 5;
}

.legacy-html .pet-card:hover .pet-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.pet-spells-shell {
  display: grid;
  gap: 22px;
}

.pet-spells-section {
  display: grid;
  gap: 10px;
}

.pet-spells-filters {
  margin-top: 4px;
}

.pet-spells-section__title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.pet-spells-section__intro {
  margin: 0;
  color: var(--text-soft);
}

.pet-spells-summary,
.fast-attack-calc__result {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(214, 61, 44, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
}

.pet-spells-summary strong,
.fast-attack-calc__result strong {
  color: var(--text);
  font-size: 1.1rem;
}

.pet-spells-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pet-spells-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(214, 61, 44, 0.24);
  background: rgba(115, 25, 20, 0.28);
  color: #ffc8b6;
  font-size: 0.8rem;
  font-weight: 700;
}

.pet-spells-stack {
  display: grid;
  gap: 8px;
}

.pet-spells-detail {
  display: grid;
  gap: 2px;
}

.pet-spells-detail strong {
  color: var(--text);
}

.pet-spells-detail span {
  color: var(--text-soft);
}

.fast-attack-calc {
  display: grid;
  gap: 16px;
  margin-top: 12px;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(214, 61, 44, 0.22);
  background: linear-gradient(180deg, rgba(19, 10, 10, 0.96), rgba(12, 9, 9, 0.96));
}

.fast-attack-calc__field {
  display: grid;
  gap: 8px;
  max-width: 320px;
}

.fast-attack-calc__field label {
  color: var(--text-soft);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fast-attack-calc__field input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(214, 61, 44, 0.24);
  background: rgba(11, 10, 10, 0.96);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.fast-attack-calc__field input:focus {
  border-color: rgba(214, 61, 44, 0.58);
  box-shadow: 0 0 0 1px rgba(214, 61, 44, 0.2);
}

.fast-attack-calc__meta {
  display: grid;
  gap: 6px;
  color: var(--text-soft);
}

.raid-gold-table__monster {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.raid-gold-table__monster-slot,
.raid-gold-table__loot-slot {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(214, 61, 44, 0.7);
  background: transparent;
  flex: 0 0 52px;
}

.raid-gold-table__monster-slot img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  border: 0;
  image-rendering: pixelated;
}

.raid-gold-table__loot-slot img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  border: 0;
  image-rendering: pixelated;
}

.raid-gold-table__loot-list {
  display: grid;
  gap: 8px;
}

.raid-gold-table__loot-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.raid-gold-table__empty {
  color: var(--muted);
}

@media (max-width: 1200px) {
  .legacy-html .pets-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .custom-items-grid {
    gap: 14px;
  }

  .boss-browser__grid {
    grid-template-columns: 1fr;
  }

  .boss-browser-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .boss-browser-card__media {
    width: 72px;
    min-height: 72px;
  }

  .boss-browser-card__image {
    width: 54px;
    height: 54px;
  }

  .spell-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-items-row {
    gap: 10px;
  }

  .custom-item-card {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
  }

  .custom-item-card__media {
    width: 64px;
    height: 64px;
  }

  .custom-item-card__image {
    width: 42px;
    height: 42px;
  }

  .custom-item-card__body {
    display: grid;
    min-width: 0;
    max-width: none;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .legacy-html .pets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .boss-browser__tabs {
    gap: 8px;
  }

  .boss-browser__tab {
    width: 100%;
    justify-content: center;
  }

  .spell-grid {
    grid-template-columns: 1fr;
  }
}
