/* Auronis Ranking / Gold Theme Fix v5
   Removes the legacy green ZANERIS styling ONLY inside the rankings panel.
   Login/channel status and all other components remain untouched.
*/

/* The green rectangle came from the original widget's ::before overlay. */
body.n2z.my2-body .my2-ranking-panel .n2-ranking-widget::before,
body.n2z.my2-body .my2-ranking-panel .n2-ranking-widget:before {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Warm burgundy, consistent with the Phoenix design. */
body.n2z.my2-body .my2-ranking-panel .n2-ranking-widget,
body.n2z.my2-body .my2-ranking-panel .n2-rank-content,
body.n2z.my2-body .my2-ranking-panel .n2-rank-content .tab-content,
body.n2z.my2-body .my2-ranking-panel .n2-rank-content .tab-pane {
  background: transparent !important;
  background-image: none !important;
  border-color: rgba(213, 151, 82, .16) !important;
  box-shadow: none !important;
}

/* Ranking tabs: deep red and soft antique gold instead of green. */
body.n2z.my2-body .my2-ranking-panel .n2-rank-tabs {
  background: rgba(28, 8, 12, .75) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(213, 151, 82, .23) !important;
  box-shadow: none !important;
}
body.n2z.my2-body .my2-ranking-panel .n2-rank-tabs .nav-link {
  background: transparent !important;
  color: #ac8a72 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
body.n2z.my2-body .my2-ranking-panel .n2-rank-tabs .nav-link.active {
  color: #f7d59d !important;
  background: linear-gradient(180deg,rgba(93, 28, 30, .48), rgba(67, 18, 22, .20)) !important;
  border-bottom: 2px solid #d8a462 !important;
  box-shadow: inset 0 -2px 0 rgba(216, 164, 98, .18) !important;
}
body.n2z.my2-body .my2-ranking-panel .n2-rank-tabs .nav-link:hover {
  color: #ffe2ac !important;
  background: rgba(124, 42, 34, .22) !important;
}

/* Ranking table surfaces and horizontal separators. */
body.n2z.my2-body .my2-ranking-panel .n2-rank-table,
body.n2z.my2-body .my2-ranking-panel .n2-rank-table thead,
body.n2z.my2-body .my2-ranking-panel .n2-rank-table tbody,
body.n2z.my2-body .my2-ranking-panel .n2-rank-table tr {
  background-color: transparent !important;
  border-color: rgba(204, 138, 78, .14) !important;
}
body.n2z.my2-body .my2-ranking-panel .n2-rank-table th {
  background: rgba(78, 25, 27, .43) !important;
  color: #e9bb78 !important;
  border-color: rgba(204, 138, 78, .19) !important;
}
body.n2z.my2-body .my2-ranking-panel .n2-rank-table td {
  background: rgba(25, 8, 12, .44) !important;
  color: #dbc4a7 !important;
  border-color: rgba(204, 138, 78, .12) !important;
}
body.n2z.my2-body .my2-ranking-panel .n2-rank-table tbody tr:hover td {
  background: rgba(132, 49, 35, .20) !important;
}
body.n2z.my2-body .my2-ranking-panel .n2-rank-table .n2-level {
  color: #f1c785 !important;
  text-shadow: none !important;
}
body.n2z.my2-body .my2-ranking-panel .n2-rank-table .my2-empire-name {
  color: #d2aa78 !important;
}

/* Link below the table. */
body.n2z.my2-body .my2-ranking-panel .n2-rank-more {
  background: rgba(67, 21, 25, .26) !important;
  color: #dcb17a !important;
  border-top: 1px solid rgba(213, 151, 82, .14) !important;
  box-shadow: none !important;
}
body.n2z.my2-body .my2-ranking-panel .n2-rank-more:hover {
  color: #ffe1a5 !important;
  background: rgba(128, 46, 36, .22) !important;
}
body.n2z.my2-body .my2-ranking-panel .n2-rank-more span {
  color: #cd9c63 !important;
}
