:root {
  --ah-bg: #0b0909;
  --ah-frame: #1c1919;
  --ah-panel: #151313;
  --ah-panel2: #211d1d;
  --ah-line: #3d352d;
  --ah-line2: #625128;
  --ah-gold: #ffd85c;
  --ah-gold2: #b99a35;
  --ah-red: #8f0000;
  --ah-text: #ddd3c2;
  --ah-muted: #9d9488;
  --ah-hover: #33275b;
  --ah-green: #1eff00;
  --ah-blue: #0070dd;
  --ah-purple: #a335ee;
  --ah-orange: #ff8000;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: radial-gradient(circle at top, #171313 0%, #0b0909 44%, #050404 100%);
  color: var(--ah-text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

a { text-decoration: none; }

.wgf-ah-sitebar {
  height: 50px;
  border-bottom: 1px solid #2e2925;
  background: #171414;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wgf-ah-sitebar-inner {
  width: min(1480px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: auto 1fr 320px;
  gap: 18px;
  align-items: center;
}

.wgf-ah-brand {
  color: var(--ah-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 900;
}

.wgf-ah-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.wgf-ah-nav a,
.wgf-ah-nav button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #3c352e;
  background: #201c1c;
  color: var(--ah-gold);
  font-weight: 700;
  cursor: pointer;
}

.wgf-ah-nav a:hover,
.wgf-ah-nav button:hover,
.wgf-ah-nav .active {
  background: var(--ah-gold);
  color: #100c05;
  border-color: var(--ah-gold);
}

.wgf-ah-global-search {
  min-height: 34px;
  width: 100%;
  border: 1px solid #4b4540;
  background: #201d1d;
  color: var(--ah-text);
  padding: 0 12px;
}

.ah-frame {
  width: min(1480px, calc(100vw - 48px));
  height: calc(100vh - 78px);
  min-height: 760px;
  margin: 14px auto;
  padding: 14px;
  border: 1px solid #39332d;
  border-radius: 8px;
  background: var(--ah-frame);
  box-shadow: 0 20px 65px rgba(0,0,0,.55);
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr) 30px;
  gap: 12px;
}

.ah-toolbar {
  display: grid;
  grid-template-columns: 230px 38px 38px minmax(260px, 1fr) 150px 150px;
  gap: 8px;
  align-items: center;
}

.ah-toolbar select,
.ah-toolbar input {
  width: 100%;
  height: 34px;
  border: 1px solid #4b4540;
  background: #211e1e;
  color: var(--ah-text);
  border-radius: 4px;
  padding: 0 10px;
  outline: none;
}

.ah-toolbar select:focus,
.ah-toolbar input:focus {
  border-color: var(--ah-gold2);
  box-shadow: 0 0 8px rgba(255,216,92,.18);
}

.icon-btn,
.filter-btn,
.search-btn {
  height: 34px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
}

.icon-btn {
  border: 1px solid #4b4540;
  background: #242020;
  color: var(--ah-gold);
}

.filter-btn {
  border: 1px solid #4b4540;
  background: #242020;
  color: var(--ah-gold);
}

.search-btn {
  border: 1px solid #d0b24b;
  background: linear-gradient(#9c0000, #650000);
  color: var(--ah-gold);
  font-size: 17px;
}

.search-btn:hover,
.icon-btn:hover,
.filter-btn:hover {
  border-color: var(--ah-gold);
  box-shadow: 0 0 9px rgba(255,216,92,.28);
}

.ah-content {
  min-height: 0;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 315px;
  gap: 10px;
}

.ah-left,
.ah-center,
.ah-right {
  min-height: 0;
  border: 1px solid var(--ah-line);
  border-radius: 6px;
  background: var(--ah-panel);
  overflow: hidden;
}

.ah-left {
  display: grid;
  grid-template-rows: 31px minmax(0, 1fr);
}

.ah-panel-title {
  height: 31px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-bottom: 1px solid var(--ah-line);
  background: #272222;
  color: var(--ah-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ah-category-scroll {
  overflow-y: auto;
  padding: 7px;
  scrollbar-width: thin;
}

.ah-cat-group {
  margin-bottom: 5px;
}

.ah-cat-head,
.ah-cat-leaf {
  width: 100%;
  min-height: 28px;
  border: 1px solid #3b342d;
  background: #242020;
  color: var(--ah-gold);
  text-align: left;
  border-radius: 4px;
  padding: 0 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.ah-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ah-cat-head:hover,
.ah-cat-leaf:hover,
.ah-cat-leaf.active {
  border-color: var(--ah-gold);
  color: var(--ah-gold);
  box-shadow: inset 0 0 9px rgba(255,216,92,.28);
}

.ah-cat-children {
  display: none;
  padding: 4px 0 2px 14px;
}

.ah-cat-group.open > .ah-cat-children {
  display: block;
}

.ah-cat-leaf {
  margin: 2px 0;
  color: #eee;
  background: #171515;
  font-weight: 600;
}

.ah-cat-leaf.sub {
  color: #cfc8ba;
}

.ah-center {
  display: grid;
  grid-template-rows: 31px minmax(0, 1fr);
}

.ah-results-head {
  height: 31px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 0 10px;
  border-bottom: 1px solid var(--ah-line);
  background: #272222;
}

.ah-results-title {
  color: var(--ah-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ah-status {
  color: var(--ah-muted);
  font-size: 12px;
}

.ah-table-wrap {
  min-height: 0;
  overflow: auto;
}

.ah-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ah-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 30px;
  background: #2b2626;
  color: #f0e5ce;
  border-bottom: 1px solid #4b4237;
  font-size: 13px;
  text-align: left;
  padding: 0 7px;
  cursor: pointer;
}

.ah-table th:nth-child(1) { width: 140px; text-align: right; }
.ah-table th:nth-child(2) { width: auto; }
.ah-table th:nth-child(3) { width: 70px; text-align: center; }
.ah-table th:nth-child(4) { width: 105px; text-align: right; }
.ah-table th:nth-child(5) { width: 145px; text-align: right; }

.ah-table td {
  height: 37px;
  border-bottom: 1px solid rgba(255,255,255,.065);
  padding: 3px 7px;
  color: var(--ah-text);
  vertical-align: middle;
  font-size: 14px;
}

.ah-table tbody tr {
  cursor: pointer;
}

.ah-table tbody tr:hover,
.ah-table tbody tr.selected {
  background: var(--ah-hover);
}

.ah-table .num {
  text-align: right;
  white-space: nowrap;
}

.ah-table .center {
  text-align: center;
}

.ah-item-cell {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.ah-item-icon {
  width: 22px;
  height: 22px;
  border: 1px solid #4d463e;
  border-radius: 3px;
  background: #0c0b0b;
  display: grid;
  place-items: center;
  color: var(--ah-gold);
  font-size: 11px;
}

.ah-item-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ah-wowhead-link {
  font-weight: 700;
}

.q0 { color: #9d9d9d !important; }
.q1 { color: #ffffff !important; }
.q2 { color: #1eff00 !important; }
.q3 { color: #0070dd !important; }
.q4 { color: #a335ee !important; }
.q5 { color: #ff8000 !important; }
.q6 { color: #e6cc80 !important; }

.money {
  white-space: nowrap;
  font-weight: 700;
}

.coin-g { color: #ffd34f; }
.coin-s { color: #c7c7c7; }
.coin-c { color: #b87333; }

.ah-empty {
  height: 210px !important;
  text-align: center;
  color: var(--ah-muted);
  font-size: 16px;
}

.ah-empty strong {
  color: var(--ah-gold);
  display: block;
  margin-bottom: 6px;
}

.ah-right {
  display: grid;
  grid-template-rows: 31px auto 31px auto 31px minmax(0, 1fr);
}

.ah-detail-body {
  padding: 12px;
  min-height: 80px;
  color: var(--ah-muted);
}

.ah-detail-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 5px;
}

.ah-detail-meta {
  color: var(--ah-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ah-detail-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.ah-detail-actions a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--ah-line2);
  background: #211d1d;
  color: var(--ah-gold);
  border-radius: 4px;
  font-weight: 700;
}

.ah-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ah-muted);
  font-size: 12px;
}

.ah-bottom a {
  color: #ddd;
  margin-right: 9px;
}

.ah-bottom a:hover {
  color: var(--ah-gold);
}

@media (max-width: 1180px) {
  .wgf-ah-sitebar-inner,
  .ah-frame {
    width: calc(100vw - 18px);
  }

  .ah-frame {
    height: auto;
    min-height: 0;
  }

  .ah-toolbar,
  .ah-content {
    grid-template-columns: 1fr;
  }

  .ah-left,
  .ah-center,
  .ah-right {
    min-height: 360px;
  }
}

/* AH polish pass: nav spacing, cleaner item rows, gold/silver coin display */

.wgf-ah-sitebar {
  height: 54px;
}

.wgf-ah-sitebar-inner {
  grid-template-columns: 230px minmax(420px, 1fr) 360px;
  gap: 24px;
}

.wgf-ah-brand {
  font-size: 20px;
  letter-spacing: .02em;
}

.wgf-ah-nav {
  gap: 10px;
}

.wgf-ah-nav a,
.wgf-ah-nav button {
  min-height: 36px;
  padding: 0 18px;
  border-radius: 4px;
  line-height: 36px;
}

.wgf-ah-nav a:hover,
.wgf-ah-nav button:hover,
.wgf-ah-nav .active {
  box-shadow: 0 0 10px rgba(255,216,92,.22);
}

.ah-toolbar {
  grid-template-columns: 230px 38px 38px minmax(320px, 1fr) 150px 150px;
}

.ah-item-cell {
  display: block;
  min-width: 0;
}

.ah-item-icon {
  display: none !important;
}

.ah-item-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ah-wowhead-link {
  display: inline;
}

.money {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  white-space: nowrap;
  font-weight: 800;
}

.coin-part {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.coin-icon {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-radius: 50%;
  box-shadow:
    inset 1px 1px 2px rgba(255,255,255,.35),
    inset -1px -1px 2px rgba(0,0,0,.42),
    0 0 4px rgba(0,0,0,.35);
}

.coin-icon.gold {
  background:
    radial-gradient(circle at 35% 30%, #fff3a3 0%, #ffd85c 32%, #b98516 72%, #6e4300 100%);
  border: 1px solid #e1b43f;
}

.coin-icon.silver {
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0%, #d9d9d9 36%, #8e9497 76%, #4f5558 100%);
  border: 1px solid #cfd4d6;
}

.coin-g,
.coin-s {
  font-weight: 800;
}

.coin-g {
  color: #ffd85c;
}

.coin-s {
  color: #d9d9d9;
}

.coin-c {
  display: none !important;
}

.ah-table th:nth-child(1) { width: 135px; text-align: right; }
.ah-table th:nth-child(2) { width: auto; }
.ah-table th:nth-child(3) { width: 70px; text-align: center; }
.ah-table th:nth-child(4) { width: 105px; text-align: right; }
.ah-table th:nth-child(5) { width: 145px; text-align: right; }

@media (max-width: 1180px) {
  .wgf-ah-sitebar {
    height: auto;
    padding: 8px 0;
  }

  .wgf-ah-sitebar-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wgf-ah-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .wgf-ah-nav a,
  .wgf-ah-nav button {
    white-space: nowrap;
  }
}

/* AH realm/filter/tooltip repair */

.ah-frame.filters-open {
  grid-template-rows: 38px auto minmax(0, 1fr) 30px;
}

.ah-filter-panel {
  display: none;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--ah-line);
  border-radius: 6px;
  background: #141212;
}

.ah-frame.filters-open .ah-filter-panel {
  display: grid;
}

.ah-filter-field {
  display: grid;
  gap: 4px;
}

.ah-filter-field label {
  color: var(--ah-gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ah-filter-field input,
.ah-filter-field select {
  width: 100%;
  height: 32px;
  border: 1px solid #4b4540;
  background: #211e1e;
  color: var(--ah-text);
  border-radius: 4px;
  padding: 0 8px;
}

.ah-filter-actions {
  display: flex;
  gap: 7px;
  align-items: end;
}

.ah-filter-actions button {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #4b4540;
  background: #242020;
  color: var(--ah-gold);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
}

.ah-filter-actions button:hover {
  border-color: var(--ah-gold);
}

.ah-item-icon {
  display: none !important;
}

.ah-item-cell {
  display: block !important;
}

.ah-item-name {
  display: block;
  white-space: nowrap;
  overflow: visible;
}

.ah-wowhead-link {
  font-weight: 800;
}

.ah-wowhead-link .iconsmall,
.ah-item-name .iconsmall,
.ah-detail-name .iconsmall,
.ah-detail-actions .iconsmall {
  display: inline-block !important;
  vertical-align: middle !important;
  margin-right: 6px !important;
}

.ah-wowhead-link img,
.ah-item-name img,
.ah-detail-name img {
  vertical-align: middle !important;
  margin-right: 6px !important;
}

@media (max-width: 1180px) {
  .ah-filter-panel {
    grid-template-columns: 1fr 1fr;
  }
}

/* AH cleanup: no star/plus buttons, cleaner realm/search/filter toolbar */
.ah-toolbar {
  grid-template-columns: 260px minmax(360px, 1fr) 150px 150px !important;
}

.icon-btn {
  display: none !important;
}

@media (max-width: 1180px) {
  .ah-toolbar {
    grid-template-columns: 1fr !important;
  }
}


/* WGF_AH_EMPTY_STATES_PHASE1_START */
.ah-panel-title {
  background: var(--bg-panel-raised, #221C14) !important;
  border-bottom: 1px solid var(--border-medium, #5C4525) !important;
  font-family: var(--font-display, Georgia, serif) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--gold-secondary, #A67C2E) !important;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 28px 16px;
  text-align: center;
  color: var(--text-muted, #7D6445);
}

.empty-state .empty-icon {
  width: 34px;
  height: 34px;
  opacity: 0.26;
  margin-bottom: 10px;
}

.empty-state .empty-title {
  font-size: 13px;
  color: var(--text-muted, #7D6445);
  font-weight: 700;
  margin: 0 0 4px;
}

.empty-state .empty-sub {
  font-size: 11px;
  color: var(--text-hint, #4D3E2B);
  margin: 0;
}
/* WGF_AH_EMPTY_STATES_PHASE1_END */


/* WGF_AH_CATEGORY_COLORS_START */

/* WoW-style category emphasis in the AH left tree. */
#categoryTree .wgf-ah-cat-placeholder-stat,
.ah-category-tree .wgf-ah-cat-placeholder-stat,
.category-tree .wgf-ah-cat-placeholder-stat,
.ah-sidebar .wgf-ah-cat-placeholder-stat {
  color: #1eff00 !important;
}

#categoryTree .wgf-ah-cat-placeholder-stat *,
.ah-category-tree .wgf-ah-cat-placeholder-stat *,
.category-tree .wgf-ah-cat-placeholder-stat *,
.ah-sidebar .wgf-ah-cat-placeholder-stat * {
  color: #1eff00 !important;
}

#categoryTree .wgf-ah-cat-token,
.ah-category-tree .wgf-ah-cat-token,
.category-tree .wgf-ah-cat-token,
.ah-sidebar .wgf-ah-cat-token {
  color: #0070dd !important;
}

#categoryTree .wgf-ah-cat-token *,
.ah-category-tree .wgf-ah-cat-token *,
.category-tree .wgf-ah-cat-token *,
.ah-sidebar .wgf-ah-cat-token * {
  color: #0070dd !important;
}

#categoryTree .wgf-ah-cat-quest,
.ah-category-tree .wgf-ah-cat-quest,
.category-tree .wgf-ah-cat-quest,
.ah-sidebar .wgf-ah-cat-quest {
  color: #ffd100 !important;
}

#categoryTree .wgf-ah-cat-quest *,
.ah-category-tree .wgf-ah-cat-quest *,
.category-tree .wgf-ah-cat-quest *,
.ah-sidebar .wgf-ah-cat-quest * {
  color: #ffd100 !important;
}

/* Keep hover readable without overriding the category identity colors. */
#categoryTree .wgf-ah-cat-placeholder-stat:hover,
.ah-category-tree .wgf-ah-cat-placeholder-stat:hover,
.category-tree .wgf-ah-cat-placeholder-stat:hover,
.ah-sidebar .wgf-ah-cat-placeholder-stat:hover {
  text-shadow: 0 0 8px rgba(30, 255, 0, .22);
}

#categoryTree .wgf-ah-cat-token:hover,
.ah-category-tree .wgf-ah-cat-token:hover,
.category-tree .wgf-ah-cat-token:hover,
.ah-sidebar .wgf-ah-cat-token:hover {
  text-shadow: 0 0 8px rgba(0, 112, 221, .28);
}

#categoryTree .wgf-ah-cat-quest:hover,
.ah-category-tree .wgf-ah-cat-quest:hover,
.category-tree .wgf-ah-cat-quest:hover,
.ah-sidebar .wgf-ah-cat-quest:hover {
  text-shadow: 0 0 8px rgba(255, 209, 0, .22);
}

/* WGF_AH_CATEGORY_COLORS_END */


/* WGF_AH_LEFT_TEXT_COLORS_STRONG_START */

/* These classes are applied directly to the visible left-tree row by ah-game-ui.js. */
.wgf-ah-left-green,
.wgf-ah-left-green *,
.wgf-ah-left-green:hover,
.wgf-ah-left-green:hover *,
.wgf-ah-left-green.active,
.wgf-ah-left-green.active *,
.wgf-ah-left-green.selected,
.wgf-ah-left-green.selected *,
.wgf-ah-left-green.is-active,
.wgf-ah-left-green.is-active * {
  color: #1eff00 !important;
}

.wgf-ah-left-blue,
.wgf-ah-left-blue *,
.wgf-ah-left-blue:hover,
.wgf-ah-left-blue:hover *,
.wgf-ah-left-blue.active,
.wgf-ah-left-blue.active *,
.wgf-ah-left-blue.selected,
.wgf-ah-left-blue.selected *,
.wgf-ah-left-blue.is-active,
.wgf-ah-left-blue.is-active * {
  color: #0070dd !important;
}

.wgf-ah-left-gold,
.wgf-ah-left-gold *,
.wgf-ah-left-gold:hover,
.wgf-ah-left-gold:hover *,
.wgf-ah-left-gold.active,
.wgf-ah-left-gold.active *,
.wgf-ah-left-gold.selected,
.wgf-ah-left-gold.selected *,
.wgf-ah-left-gold.is-active,
.wgf-ah-left-gold.is-active * {
  color: #ffd100 !important;
}

/* Attribute fallback in case future renderer adds data labels. */
[data-label="Speed"],
[data-label="Leech"],
[data-label="Avoidance"],
[data-label="Indestructible"] {
  color: #1eff00 !important;
}

[data-label="WoW Token"] {
  color: #0070dd !important;
}

[data-label="Quest Items"],
[data-label="Cosmetic"] {
  color: #ffd100 !important;
}

/* WGF_AH_LEFT_TEXT_COLORS_STRONG_END */


/* WGF_BATTLE_PET_ICON_REPAIR_CSS_START */
.wgf-battle-pet-icon-fixed,
.wgf-battle-pet-inline-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: cover !important;
  border: 1px solid #3d3d3d !important;
  border-radius: 2px !important;
  vertical-align: -4px !important;
  margin-right: 7px !important;
  image-rendering: auto;
}

.wgf-battle-pet-row .wgf-battle-pet-wowhead-link {
  color: #0070dd !important;
}
/* WGF_BATTLE_PET_ICON_REPAIR_CSS_END */


/* WGF_BATTLE_PET_RENDER_FIX_CSS_START */

.wgf-battle-pet-row .wgf-battle-pet-cage-icon-hidden {
  display: none !important;
}

.wgf-battle-pet-row .wgf-battle-pet-wowhead-link {
  color: #0070dd !important;
}

/* Let Wowhead-generated icons sit where the old cage icon used to visually be. */
.wgf-battle-pet-row .wgf-battle-pet-wowhead-link img,
.wgf-battle-pet-row .wgf-battle-pet-wowhead-link ins,
.wgf-battle-pet-row .wgf-battle-pet-wowhead-link .icon {
  margin-right: 7px !important;
  vertical-align: -4px !important;
}

/* WGF_BATTLE_PET_RENDER_FIX_CSS_END */


/* WGF_AH_BATTLE_PET_RENDERER_FIX_CSS_START */
.ah-wowhead-link[data-wowhead^="battle-pet="] {
  color: #0070dd !important;
}

.ah-wowhead-link[data-wowhead^="battle-pet="] img,
.ah-wowhead-link[data-wowhead^="battle-pet="] ins,
.ah-wowhead-link[data-wowhead^="battle-pet="] .icon {
  margin-right: 7px !important;
  vertical-align: -4px !important;
}
/* WGF_AH_BATTLE_PET_RENDERER_FIX_CSS_END */


/* WGF_BATTLE_PET_INLINE_ICON_CSS_START */
.wgf-battle-pet-inline-icon-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin-right: 7px !important;
  vertical-align: -4px !important;
  text-decoration: none !important;
}

.wgf-battle-pet-inline-icon {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: cover !important;
  border: 1px solid #3d3d3d !important;
  border-radius: 2px !important;
  vertical-align: -4px !important;
  image-rendering: auto !important;
}

/* Keep battle pet names blue and aligned with normal item rows. */
.ah-wowhead-link[data-wowhead^="battle-pet="] {
  color: #0070dd !important;
}

/* If the old cage icon is still present from an earlier render, keep it hidden. */
.wgf-battle-pet-row .wgf-battle-pet-cage-icon-hidden {
  display: none !important;
}
/* WGF_BATTLE_PET_INLINE_ICON_CSS_END */


/* WGF_BATTLE_PET_POST_RENDER_ICON_CSS_START */
.wgf-battle-pet-manual-icon-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin-right: 7px !important;
  vertical-align: -4px !important;
  text-decoration: none !important;
}

.wgf-battle-pet-manual-icon {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: cover !important;
  border: 1px solid #3d3d3d !important;
  border-radius: 2px !important;
  vertical-align: -4px !important;
  image-rendering: auto !important;
}

.wgf-battle-pet-old-cage-icon-hidden {
  display: none !important;
}

.wgf-battle-pet-row .ah-wowhead-link[data-wowhead^="battle-pet="],
.ah-wowhead-link[data-wowhead^="battle-pet="] {
  color: #0070dd !important;
}
/* WGF_BATTLE_PET_POST_RENDER_ICON_CSS_END */


/* WGF_DIRECT_BATTLE_PET_NAME_ICON_CSS_START */
.wgf-direct-battle-pet-icon {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: cover !important;
  border: 1px solid #3d3d3d !important;
  border-radius: 2px !important;
  vertical-align: -4px !important;
  margin-right: 7px !important;
}

.ah-wowhead-link[data-wowhead^="battle-pet="] {
  color: #0070dd !important;
}
/* WGF_DIRECT_BATTLE_PET_NAME_ICON_CSS_END */

