@charset "UTF-8";
/*
 * Copyright © 2026 Warband Score
 * All rights reserved.
 *
 * /compare — mirrored, side-by-side warband comparison.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
:root {
  --class-spec-icon-size: 2.375rem;
  --raid-dung-icon-size: 3.25rem;
  --expansion-logo-height: 90px;
  --expansion-logo-width: 220px;
  --expansion-logo-circular-height: 120px;
  --expansion-logo-circular-width: 192px;
}

@media (max-width: 768px) {
  :root {
    --class-spec-icon-size: 1.875rem;
    --raid-dung-icon-size: 3.25rem;
    --expansion-logo-height: 44px;
    --expansion-logo-width: 110px;
    --expansion-logo-circular-height: 70px;
    --expansion-logo-circular-width: 110px;
  }
}
/* ==========================================================================
   CSS Boilerplate
   ========================================================================== */
/* 1. Box sizing and basic resets */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px; /* Base font-size for rem calculations */
  scroll-behavior: smooth;
}

/* Remove default margin and set up sensible defaults for common elements */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

/* Remove list styles on ul, ol elements */
ul, ol {
  list-style: none;
}

/* Optimize media elements */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Set core defaults for body */
body {
  line-height: 1.6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
  min-height: 100vh;
}

/* Anchor tag defaults */
a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   2. Typography
   ========================================================================== */
/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.2;
}

/* Paragraphs */
p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   3. Utility Classes
   ========================================================================== */
/* Centered text */
.text-center {
  text-align: center;
}

/* ==========================================================================
   4. Reduced Motion (for Accessibility)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
/*
 * Copyright © 2026 Warband Score
 * All rights reserved.
 *
 * /compare — mirrored, side-by-side warband comparison.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
/*
 * Copyright © 2026 Warband Score
 * All rights reserved.
 *
 * /compare — mirrored, side-by-side warband comparison.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
button, .button {
  border-radius: 0.5rem;
  cursor: pointer;
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 200;
  margin: 0.5rem;
  padding: 1rem 2rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}
button em, .button em {
  font-weight: 400;
}
button:hover, .button:hover {
  text-decoration: none;
}
button.small, .button.small {
  font-size: 14px;
  padding: 0.75rem 1.5rem;
}
button.primary, .button.primary {
  background: #22c9ff;
  border: none;
  border-radius: 4px;
  color: #000;
  text-align: center;
}
button.primary:hover, .button.primary:hover {
  background: #FFFFFF;
}
button.secondary, .button.secondary {
  background: transparent;
  border: 1px solid #808080;
  color: #CCCCCC;
  line-height: 1.4;
}
button.secondary:hover, .button.secondary:hover {
  background: #2E2E2E;
  color: #FFFFFF;
  border-color: #22c9ff;
}
button:disabled, button.disabled, .button:disabled, .button.disabled {
  background: #2E2E2E;
  border-color: #808080;
  color: #888;
  cursor: not-allowed;
  opacity: 0.8;
}
button:disabled:hover, button.disabled:hover, .button:disabled:hover, .button.disabled:hover {
  background: #2E2E2E;
  color: #888;
}

.button-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0.5rem;
}
.button-stack .button {
  margin: 0;
}

.button-stack--full {
  align-items: stretch;
  width: 100%;
}

.button-subtext {
  color: #AAAAAA;
  display: block;
  font-size: 12px;
  font-style: italic;
  font-weight: 200;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.button-subtext--placeholder {
  visibility: hidden;
}

.button-stack .button.small + .button-subtext {
  font-size: 12px;
}

@media (max-width: 768px) {
  button, .button {
    display: block;
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    margin: 0.5rem auto;
  }
  button.region-option, .button.region-option {
    margin: 0.25rem 0;
  }
  button.small {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    font-size: 12px;
  }
}
/*
 * Copyright © 2026 Warband Score
 * All rights reserved.
 *
 * /compare — mirrored, side-by-side warband comparison.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
nav {
  background-color: #1E1E1E;
  margin: 0 auto 1rem;
  position: relative;
  width: 100%;
}

.nav-links-wrapper {
  background-color: #2E2E2E;
}

.nav-links-list {
  display: flex;
  flex-direction: row;
}
.nav-links-list li {
  text-align: center;
  flex: 1;
}

.nav-link {
  color: #AAAAAA;
  display: inline-block;
  font-weight: 200;
  font-size: 14px;
  letter-spacing: 2px;
  padding: 0.25rem 0.5rem;
}
.nav-link:visited {
  color: inherit;
}
.nav-link:hover {
  background-color: #22c9ff;
  border-radius: 4px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
}
.nav-link:hover .tooltip {
  color: #AAAAAA;
}

.nav-link--tooltip {
  cursor: default;
}

/* Time-boxed "New" launch badge on the Compare nav item (server-gated via
   nav.showCompareNew). A pill on wider screens; a small dot in the UPPER-LEFT
   on phones, since the centered dragon logo dips in from the upper-right. */
.nav-link--new {
  position: relative;
}

.nav-new {
  display: inline-block;
  margin-left: 7px;
  padding: 3px 6px;
  border-radius: 999px;
  background: #3fd27a;
  color: #000;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .nav-new {
    display: none;
  }
  .nav-link--new::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3fd27a;
  }
}
.nav-tooltip {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  position: relative;
}

.nav-tooltip:focus-visible {
  outline: 2px solid #22c9ff;
  outline-offset: 2px;
}

.nav-tooltip-panel {
  min-width: 140px;
  text-align: center;
  white-space: nowrap;
}

.nav-tooltip-text {
  display: block;
  font-weight: 200;
  letter-spacing: 0.3px;
  line-height: 1.4;
  margin-bottom: 2px;
  text-align: center;
  white-space: normal;
}

.nav-tooltip-text:last-child {
  margin-bottom: 0;
}

.nav-tooltip-panel--support {
  display: flex;
  flex-direction: column;
  max-width: 320px;
  white-space: normal;
}
.nav-tooltip-panel--support .nav-tooltip-text {
  margin-bottom: 12px;
}
.nav-tooltip-panel--support > .button-stack {
  align-items: stretch;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
.nav-tooltip-panel--support > .button-stack:last-child {
  margin-bottom: 0;
}
.nav-tooltip-panel--support > .button {
  display: block;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
.nav-tooltip-panel--support > .button:last-child {
  margin-bottom: 0;
}

.nav-tooltip-panel--social {
  padding: 4px 8px;
  white-space: normal;
}

.site-logo:hover {
  text-decoration: none;
}

.site-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 64px;
  margin: 0;
  padding: 0 1rem;
  position: relative;
}

.site-logo-img-wrapper {
  margin-top: 65px;
}

.site-logo-img {
  display: inline-block;
  height: 128px;
  position: relative;
  transition: transform 0.15s ease;
  width: auto;
  z-index: 1;
}
.site-title:hover .site-logo-img {
  transform: scale(1.1);
}

.site-version {
  bottom: 8px;
  color: rgb(0, 112, 221);
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 1px;
  line-height: 1;
  position: absolute;
  right: 8px;
}

.site-text {
  display: inline-block;
  flex: 1;
  font-size: 32px;
  text-transform: uppercase;
}
.site-text:first-of-type {
  font-weight: 600;
  letter-spacing: 1rem;
  margin-right: -1rem;
  text-align: end;
  text-shadow: 0 0 2px black;
}
.site-text:last-of-type {
  font-weight: 200;
  letter-spacing: 2.4rem;
  margin-right: -1rem;
}

@media (min-width: 1400px) {
  .nav-links, .site-logo {
    max-width: 1400px;
    margin: 0 auto;
  }
  .site-logo {
    display: block;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
  }
  .site-version {
    bottom: 18px;
    right: 297px;
  }
}
@media (max-width: 1400px) and (min-width: 769px) {
  .nav-links-list {
    padding: 0 8px;
  }
  .site-version {
    bottom: -15px;
  }
}
@media (max-width: 768px) {
  nav {
    margin: 0 auto 1rem;
  }
  nav .site-title {
    height: 42px;
  }
  nav .site-logo-img-wrapper {
    margin-top: 30px;
  }
  nav .site-logo-img {
    height: 63px;
    min-width: 63px;
  }
  .nav-links-wrapper {
    padding: 0 0.5rem;
  }
  .nav-link {
    font-size: 12px;
    margin: 0;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    width: auto;
    z-index: 2;
  }
  .site-text {
    font-size: 18px;
  }
  .site-text:first-of-type {
    letter-spacing: 0.3rem;
    margin-right: -0.3rem;
  }
  .site-text:last-of-type {
    letter-spacing: 1rem;
    margin-right: -0.3333333333rem;
  }
  .site-version {
    bottom: -14px;
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .nav-link {
    z-index: 2;
  }
  .nav-links-list li:nth-child(-n+2) {
    text-align: left;
  }
  .nav-links-list li:nth-last-child(-n+2) {
    text-align: right;
  }
}
/*
 * Copyright © 2026 Warband Score
 * All rights reserved.
 *
 * /compare — mirrored, side-by-side warband comparison.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
.tooltip {
  position: absolute;
  padding: 0.5rem;
  background: #1E1E1E;
  border: 1px solid #808080;
  border-radius: 4px;
  display: none;
  line-height: 1.6;
  max-width: min(330px, 90vw);
  pointer-events: none;
  white-space: nowrap;
  width: max-content;
  z-index: 2000;
}
.tooltip p {
  color: #AAAAAA;
  margin-bottom: 0.25rem;
  text-align: start;
}
.tooltip[data-show] {
  display: block;
  pointer-events: auto;
}

/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
.link-icon {
  display: inline-block;
  height: 16px;
  width: 16px;
  margin-right: 4px;
}

.link-icon {
  background-image: url(/images/icons/external-logos.png?v=3);
  background-size: 48px;
}

.icon-wcl {
  background-position: 0 0;
}

.icon-rio {
  background-position: -16px 0;
}

.icon-bnet {
  background-position: -32px 0;
  border-radius: 20px;
}

/*
 * Copyright © 2026 Warband Score
 * All rights reserved.
 *
 * /compare — mirrored, side-by-side warband comparison.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
.site-footer, .site-footer-minimal {
  background-color: #1E1E1E;
}

.site-footer {
  margin: 32px auto 0;
  width: 100%;
  padding: 16px 0 8px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (min-width: 1000px) {
  .footer-content {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}
.footer-section h3 {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 200;
}
.footer-section p {
  line-height: 1.6;
  font-size: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  line-height: 1.2;
  margin-bottom: 8px;
}
.footer-links a {
  font-size: 14px;
}
.footer-links .social-link {
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}
.footer-links .social-link:hover {
  color: #AAAAAA;
}
.footer-links .social-link svg {
  flex-shrink: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.social-links li {
  margin: 0;
}
.social-links .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0.5;
}
.social-links .social-link:hover, .social-links .social-link:focus {
  opacity: 1;
}
.social-links svg {
  height: 24px;
  width: 24px;
}

.footer-links.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.footer-links.legal-links li {
  margin: 0;
  display: flex;
  align-items: center;
}
.footer-links.legal-links li::before {
  content: "|";
  color: #888;
  margin-right: 4px;
}
.footer-links.legal-links li:first-child::before {
  content: none;
  margin-right: 0;
}

.footer-section p, .footer-section ul, .footer-links a {
  font-size: 12px;
}

.footer-section p, .footer-section ul {
  color: #888;
  font-weight: 200;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-attribution {
  list-style: disc;
  padding-left: 1rem;
}
.footer-attribution .link-icon {
  vertical-align: text-top;
}

.footer-region {
  margin-top: 4px;
  font-size: 14px;
}
.footer-region span {
  font-weight: 600;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 1rem 0;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 12px;
  font-weight: 200;
}

.site-footer-minimal {
  border-top-width: 1px;
  color: #AAAAAA;
  padding: 8px 0;
}
.site-footer-minimal .footer-bottom {
  max-width: none;
  margin: 0;
  padding: 0 1rem;
}

@media (min-width: 1400px) {
  .footer-content, .site-footer-bottom {
    max-width: 1400px;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .site-footer {
    margin-top: 12px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-section h3 {
    font-size: 15px;
  }
  .footer-section p {
    font-size: 12px;
  }
  .footer-bottom {
    text-align: right;
  }
  .site-footer-minimal .footer-bottom {
    text-align: center;
  }
  .footer-links.social-links {
    justify-content: flex-start;
  }
  .footer-links a {
    font-size: 12px;
  }
}
/*
 * Copyright © 2026 Warband Score
 * All rights reserved.
 *
 * /compare — mirrored, side-by-side warband comparison.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
/*
 * Region selection modal styles
 */
.region-modal[hidden] {
  display: none !important;
}

.region-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 1300;
}

.region-modal__overlay {
  background: rgba(0, 0, 0, 0.65);
  inset: 0;
  position: absolute;
}

.region-modal__dialog {
  background: #3E3E3E;
  border-radius: 4px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.45);
  color: #AAAAAA;
  margin: 0 1.5rem;
  max-width: 440px;
  padding: 16px 12px;
  position: relative;
  width: min(440px, 100%);
  z-index: 1;
}

.region-modal__title {
  color: #CCCCCC;
  font-size: 18px;
  margin: 0 0 12px;
}

.region-modal__message {
  font-size: 14px;
  font-weight: 200;
  margin: 0 0 0.25rem;
}

.region-modal__note {
  font-size: 12px;
  margin: 8px 0 0;
  text-transform: uppercase;
}

.region-modal__explanation {
  color: #CCCCCC;
  font-size: 14px;
  font-weight: 200;
  margin: 0 0 12px;
}

.region-modal__options {
  display: flex;
  flex-direction: column;
}

.region-option {
  align-items: baseline;
  background: #2E2E2E;
  border: 2px solid #808080;
  border-radius: 4px;
  color: inherit;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  gap: 4px;
  justify-content: space-between;
  margin: 0.25rem 0;
  padding: 8px 12px;
  text-align: left;
}

.region-option__label {
  font-weight: 400;
}

.region-option:hover,
.region-option:focus-visible {
  border-color: #22c9ff;
}

.region-modal__actions {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.region-modal__close,
.region-modal__cancel {
  background: transparent;
  border: none;
  color: #CCCCCC;
  cursor: pointer;
  padding: 4px 8px;
}

.region-modal__close {
  font-size: 24px;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 0;
}

.region-modal__cancel {
  border: 1px solid #808080;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 0;
  margin-right: 0;
}

.region-modal__confirm {
  background: #22c9ff;
  border: none;
  border-radius: 4px;
  color: #000;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 4px 12px;
}
.region-modal__confirm:disabled {
  background: #808080;
  color: #CCCCCC;
  cursor: not-allowed;
}
.region-modal__confirm[hidden] {
  display: none;
}

.region-modal__toggle {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 8px;
  margin: 12px 0 4px;
  user-select: none;
}

.region-modal__switch {
  display: inline-block;
  height: 24px;
  position: relative;
  width: 44px;
}

.region-modal__switch-input {
  height: 0;
  opacity: 0;
  width: 0;
}
.region-modal__switch-input:checked + .region-modal__switch-slider {
  background-color: #22c9ff;
}
.region-modal__switch-input:checked + .region-modal__switch-slider::before {
  transform: translateX(20px);
}
.region-modal__switch-input:focus-visible + .region-modal__switch-slider {
  outline: 2px solid #22c9ff;
  outline-offset: 2px;
}

.region-modal__switch-slider {
  background-color: #808080;
  border-radius: 24px;
  inset: 0;
  position: absolute;
  transition: background-color 0.2s ease;
}
.region-modal__switch-slider::before {
  background-color: #fff;
  border-radius: 50%;
  bottom: 3px;
  content: "";
  height: 18px;
  left: 3px;
  position: absolute;
  transition: transform 0.2s ease;
  width: 18px;
}

.region-modal__toggle-label {
  color: #CCCCCC;
  font-size: 12px;
}

.region-modal__single-mode[hidden] {
  display: none;
}

.region-modal__multi-mode[hidden] {
  display: none;
}

.region-checkbox {
  align-items: center;
  background: #2E2E2E;
  border: 2px solid #808080;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  gap: 4px;
  margin: 0.25rem 0;
  padding: 8px 12px;
}
.region-checkbox:hover, .region-checkbox:focus-within {
  border-color: #22c9ff;
}

.region-checkbox__input {
  accent-color: #22c9ff;
  height: 20px;
  margin: 0;
  width: 20px;
}

.region-checkbox__label {
  flex: 0 0 auto;
  font-weight: 400;
}

.region-checkbox__description {
  color: #CCCCCC;
  flex: 1;
  font-size: 12px;
  text-align: right;
}

body.region-modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .region-modal__dialog {
    border-radius: 0;
    height: 100%;
    margin: 0;
    max-width: none;
    width: 100%;
  }
}
body {
  background-color: #000;
  color: #AAAAAA;
  display: flex;
  flex-direction: column;
  letter-spacing: 0.03rem;
}

main {
  flex: 1;
}

h1 {
  color: #AAAAAA;
  font-size: 32px;
  font-weight: 400;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 14px;
}

p {
  font-size: 16px;
}

a {
  color: #22c9ff;
}
a:hover {
  text-decoration: underline;
}

.blizz-uncommon {
  color: rgb(30, 255, 0);
}

.blizz-rare {
  color: rgb(0, 112, 221);
}

.blizz-epic {
  color: rgb(163, 53, 238);
}

.blizz-legendary {
  color: rgb(255, 128, 0);
}

em {
  font-style: normal;
}

/* Container for layout */
main {
  max-width: 1400px;
  margin: 0 auto;
}

.container-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: #3E3E3E;
  border-radius: 4px;
  padding: 0.5rem;
}
.container section {
  padding: calc(0.5rem - 2px) 0.5rem;
  background-color: #2E2E2E;
  border-radius: 4px;
}
.container .sub-section {
  background-color: #1E1E1E;
}

.sub-container {
  align-items: stretch;
  display: flex;
  flex: 1;
  gap: 0.25rem;
  justify-content: space-between;
}

.sub-section--empty {
  align-items: center;
  display: flex;
  justify-content: center;
}

.sub-section-empty-text {
  font-size: 14px;
  font-style: italic;
  font-weight: 200;
  margin: 0;
  text-align: center;
}

.sub-section {
  flex: 1;
  min-width: 0;
}
.sub-section h5 {
  margin-bottom: 12px;
}
.sub-section h5.empty {
  margin-bottom: 0;
}
.sub-section ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.multiple-raids .raid .sub-section ul {
  gap: 0.4rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 25.6px;
  }
  h2 {
    font-size: 18px;
  }
  h3 {
    font-size: 15px;
  }
  h4 {
    font-size: 13px;
  }
  p {
    font-size: 12px;
  }
  .container {
    border-radius: 0;
    gap: 0.25rem;
  }
  .container, .container section {
    padding: 5px 6px;
  }
  .container .sub-section ul {
    gap: 6px;
  }
}
@media (min-width: 1280px) {
  .sub-container {
    gap: 0.5rem;
  }
}
/*
 * Copyright © 2026 Warband Score
 * All rights reserved.
 *
 * /compare — mirrored, side-by-side warband comparison.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 *
 * Shared sprite positioning utilities.
 * All sprites use 130px cells (128px icon + 1px border each side).
 * We use $icon-size: 126 and $border-size: 2 to create a ~1 source-pixel
 * buffer on each edge, pushing sprite borders further outside the element
 * boundary. This prevents sub-pixel rounding from exposing the 1px black
 * border or adjacent icon content across browsers and render sizes.
 */
.class-text-account {
  color: inherit;
}

.class-text-dk {
  color: #C41F3B;
}

.class-text-dh {
  color: #A330C9;
}

.class-text-druid {
  color: #FF7D0A;
}

.class-text-evoker {
  color: #33937F;
}

.class-text-hunter {
  color: #ABD473;
}

.class-text-mage {
  color: #69CCF0;
}

.class-text-monk {
  color: #00FF96;
}

.class-text-paladin {
  color: #F58CBA;
}

.class-text-priest {
  color: #FFFFFF;
}

.class-text-rogue {
  color: #FFF569;
}

.class-text-shaman {
  color: #0070DE;
}

.class-text-warlock {
  color: #9482C9;
}

.class-text-warrior {
  color: #C79C6E;
}

.class-icon, .spec-icon {
  height: var(--class-spec-icon-size);
  width: var(--class-spec-icon-size);
  transition: transform 0.15s ease;
}
.character-content-inline .class-icon, .character-content-inline .spec-icon {
  height: 18px;
  width: 18px;
}
.character-content:not(.character-content-inline):hover > .class-icon, .character-content:not(.character-content-inline):hover > .spec-icon {
  transform: scale(1.2);
}

.empty-icon {
  height: var(--class-spec-icon-size);
  width: 0;
}
.character-content-inline .empty-icon {
  height: 18px;
  width: 0;
}

/*
  .class-dk, .class-dh, .class-hunter, .class-rogue,
  .class-druid, .class-evoker, .class-mage, .class-shaman,
  .class-monk, .class-paladin, .class-priest, .class-warlock,
  .class-warrior, .class-account
*/
.class-icon {
  background-image: url(/images/icons/class/sprite-128-3.jpg);
  background-size: calc(var(--class-spec-icon-size) * 4.126984127);
  background-position: 99.4923857868% 99.4923857868%;
}
.character-content-inline .class-icon {
  background-size: calc(18px * 4.126984127);
}

.class-dk {
  background-position: 0.5076142132% 0.5076142132%;
}

.class-dh {
  background-position: 33.5025380711% 0.5076142132%;
}

.class-druid {
  background-position: calc(0.5076142132% + 1px) 33.5025380711%;
}

.class-evoker {
  background-position: 33.5025380711% 33.5025380711%;
}

.class-hunter {
  background-position: 66.4974619289% 0.5076142132%;
}

.class-mage {
  background-position: 66.4974619289% 33.5025380711%;
}

.class-monk {
  background-position: 0.5076142132% 66.4974619289%;
}

.class-paladin {
  background-position: 33.5025380711% 66.4974619289%;
}

.class-priest {
  background-position: 66.4974619289% 66.4974619289%;
}

.class-rogue {
  background-position: 99.4923857868% 0.5076142132%;
}

.class-shaman {
  background-position: 99.4923857868% 33.5025380711%;
}

.class-warlock {
  background-position: 99.4923857868% 66.4974619289%;
}

.class-warrior {
  background-position: 0.5076142132% 99.4923857868%;
}

.class-account {
  background-position: 33.5025380711% 99.4923857868%;
}

.top-character__rank-icon.class-dk {
  background-position: 0.2551020408% 0.2551020408%;
}
.top-character__rank-icon.class-dh {
  background-position: 33.4183673469% 0.2551020408%;
}
.top-character__rank-icon.class-druid {
  background-position: 0.2551020408% 33.4183673469%;
}
.top-character__rank-icon.class-evoker {
  background-position: 33.4183673469% 33.4183673469%;
}
.top-character__rank-icon.class-hunter {
  background-position: 66.5816326531% 0.2551020408%;
}
.top-character__rank-icon.class-mage {
  background-position: 66.5816326531% 33.4183673469%;
}
.top-character__rank-icon.class-monk {
  background-position: 0.2551020408% 66.5816326531%;
}
.top-character__rank-icon.class-paladin {
  background-position: 33.4183673469% 66.5816326531%;
}
.top-character__rank-icon.class-priest {
  background-position: 66.5816326531% 66.5816326531%;
}
.top-character__rank-icon.class-rogue {
  background-position: 99.7448979592% 0.2551020408%;
}
.top-character__rank-icon.class-shaman {
  background-position: 99.7448979592% 33.4183673469%;
}
.top-character__rank-icon.class-warlock {
  background-position: 99.7448979592% 66.5816326531%;
}
.top-character__rank-icon.class-warrior {
  background-position: 0.2551020408% 99.7448979592%;
}
.top-character__rank-icon.class-account {
  background-position: 33.4183673469% 99.7448979592%;
}

/*
.spec-dk-blood,
.spec-dk-frost,
.spec-dk-unholy,
.spec-dh-devourer,
.spec-dh-havoc,
.spec-dh-vengeance,
.spec-druid-balance,
.spec-druid-feral,
.spec-druid-guardian,
.spec-druid-restoration,
.spec-evoker-augmentation,
.spec-evoker-devastation,
.spec-evoker-preservation,
.spec-hunter-bm,
.spec-hunter-marksmanship,
.spec-hunter-survival,
.spec-mage-arcane,
.spec-mage-fire,
.spec-mage-frost,
.spec-monk-brewmaster,
.spec-monk-mistweaver,
.spec-monk-windwalker,
.spec-paladin-holy,
.spec-paladin-protection,
.spec-paladin-retribution,
.spec-priest-discipline,
.spec-priest-holy,
.spec-priest-shadow,
.spec-rogue-assassination,
.spec-rogue-combat,
.spec-rogue-outlaw,
.spec-rogue-subtlety,
.spec-shaman-elemental,
.spec-shaman-enhancement,
.spec-shaman-restoration,
.spec-warlock-affliction,
.spec-warlock-demonology,
.spec-warlock-destruction,
.spec-warrior-arms,
.spec-warrior-fury,
.spec-warrior-protection
*/
.spec-icon {
  background-image: url(/images/icons/spec/sprite-128-4.jpg);
  background-size: calc(var(--class-spec-icon-size) * 7.2222222222);
  background-position: 99.7448979592% 83.1632653061%;
}
.character-content-inline > .spec-icon {
  background-image: url(/images/icons/spec/sprite-2.jpg);
  background-size: calc(18px * 7.2222222222);
  clip-path: inset(0.5px);
}

.spec-dk-blood {
  background-position: 0.2551020408% 0.2551020408%;
}

.spec-dk-frost {
  background-position: 16.8367346939% 0.2551020408%;
}

.spec-dk-unholy {
  background-position: 0.2551020408% 16.8367346939%;
}

.spec-dh-devourer {
  background-position: 83.1632653061% 33.4183673469%;
}

.spec-dh-havoc {
  background-position: 16.8367346939% 16.8367346939%;
}

.spec-dh-vengeance {
  background-position: 33.4183673469% 0.2551020408%;
}

.spec-druid-balance {
  background-position: 33.4183673469% 16.8367346939%;
}

.spec-druid-feral {
  background-position: 0.2551020408% 33.4183673469%;
}

.spec-druid-guardian {
  background-position: 16.8367346939% 33.4183673469%;
}

.spec-druid-restoration {
  background-position: 33.4183673469% 33.4183673469%;
}

.spec-evoker-augmentation {
  background-position: 50% 0.2551020408%;
}

.spec-evoker-devastation {
  background-position: 50% 16.8367346939%;
}

.spec-evoker-preservation {
  background-position: 50% 33.4183673469%;
}

.spec-hunter-bm {
  background-position: 0.2551020408% 50%;
}

.spec-hunter-marksmanship {
  background-position: 16.8367346939% 50%;
}

.spec-hunter-survival {
  background-position: 33.4183673469% 50%;
}

.spec-mage-arcane {
  background-position: 50% 50%;
}

.spec-mage-fire {
  background-position: 66.5816326531% 0.2551020408%;
}

.spec-mage-frost {
  background-position: 66.5816326531% 16.8367346939%;
}

.spec-monk-brewmaster {
  background-position: 66.5816326531% 33.4183673469%;
}

.spec-monk-mistweaver {
  background-position: 66.5816326531% 50%;
}

.spec-monk-windwalker {
  background-position: 0.2551020408% 66.5816326531%;
}

.spec-paladin-holy {
  background-position: 16.8367346939% 66.5816326531%;
}

.spec-paladin-protection {
  background-position: 33.4183673469% 66.5816326531%;
}

.spec-paladin-retribution {
  background-position: 50% 66.5816326531%;
}

.spec-priest-discipline {
  background-position: 66.5816326531% 66.5816326531%;
}

.spec-priest-holy {
  background-position: 83.1632653061% 0.2551020408%;
}

.spec-priest-shadow {
  background-position: 83.1632653061% 16.8367346939%;
}

.spec-rogue-assassination {
  background-position: 83.1632653061% 50%;
}

.spec-rogue-combat {
  background-position: 83.1632653061% 50%;
}

.spec-rogue-outlaw {
  background-position: 83.1632653061% 66.5816326531%;
}

.spec-rogue-subtlety {
  background-position: 0.2551020408% 83.1632653061%;
}

.spec-shaman-elemental {
  background-position: 16.8367346939% 83.1632653061%;
}

.spec-shaman-enhancement {
  background-position: 33.4183673469% 83.1632653061%;
}

.spec-shaman-restoration {
  background-position: 50% 83.1632653061%;
}

.spec-warlock-affliction {
  background-position: 66.5816326531% 83.1632653061%;
}

.spec-warlock-demonology {
  background-position: 83.1632653061% 83.1632653061%;
}

.spec-warlock-destruction {
  background-position: 99.7448979592% 0.2551020408%;
}

.spec-warrior-arms {
  background-position: 99.7448979592% 16.8367346939%;
}

.spec-warrior-fury {
  background-position: 99.7448979592% 33.4183673469%;
}

.spec-warrior-protection {
  background-position: 99.7448979592% 50%;
}

/*
 * Copyright © 2025 Warband Score
 * All rights reserved.
 */
.compare-page {
  --class-spec-icon-size: 20px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 120px 20px;
  color: #CCCCCC;
}

/* the side-by-side comparison view sits tighter than the landing page
   (the narrow-screen override below still wins on phones) */
.compare-page--compare {
  padding-top: 20px;
  padding-bottom: 60px;
}

/* ---------- Landing ---------- */
.compare-landing {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.compare-landing h1 {
  color: #FFFFFF;
  margin-bottom: 4px;
}

.compare-subtitle {
  color: #888;
  margin-top: 0;
}

/* errors are a real problem → keep the noticeable red callout box */
.compare-error {
  border-radius: 8px;
  padding: 10px 14px;
  margin: 14px auto;
  max-width: 480px;
  background: #7f1d1d;
  color: #ffd9d4;
}

/* same-warband nudge — sits directly under the form (near the inputs it refers
   to) and reads as an error: a clear red line, not a muted aside. */
.compare-message {
  margin: 12px auto 0;
  color: #ef5350;
  font-size: 13px;
  font-weight: 600;
}

/* the two reasons to use Compare — competition (trophy) + recruiting (magnifier) */
.compare-uses {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 445px;
  margin: 20px auto 4px;
  text-align: left;
}

.compare-use {
  display: flex;
  gap: 11px;
  align-items: center;
}

.compare-use-text {
  color: #AAAAAA;
  font-size: 13px;
}

.compare-use-text strong {
  color: #CCCCCC;
  font-weight: 600;
}

.compare-use-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(63, 210, 122, 0.12);
  color: #3fd27a;
}
.compare-use-icon svg {
  display: block;
}

.compare-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  justify-content: center;
  margin-top: 42px;
}

.compare-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  flex: 1 1 260px;
}
.compare-field span {
  font-size: 12px;
  color: #AAAAAA;
}
.compare-field input {
  background: #0F0F0F;
  border: 1px solid #2E2E2E;
  border-radius: 8px;
  color: #CCCCCC;
  padding: 10px 12px;
  font-size: 14px;
  width: 100%;
}

/* a slug that didn't resolve to a warband: outline the offending field to pair
   with the "No warband found for /x" message. */
.compare-field--invalid input {
  border-color: #ef5350;
}

/* inline "or WS creator →" shortcut at the tail of the second field's label —
   a quick alternative to typing the creator's slug. */
.compare-field-hint {
  color: #22c9ff;
  font-weight: 200;
  text-decoration: none;
  white-space: nowrap;
}
.compare-field-hint:hover {
  color: #FFFFFF;
}

.compare-submit {
  background: #22c9ff;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 11px 20px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  margin: 0;
}
.compare-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* share buttons — "Invite a friend" (landing) + "Copy link to share" (results).
   Wired by public/js/compare-share.js; flashes green "Copied!" on success. */
.compare-share-row {
  text-align: center;
  margin-top: 22px;
}

/* full-width separator above the landing "Invite a friend" action */
.compare-share-row--sep {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #1E1E1E;
}

.compare-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1E1E1E;
  border: 1px solid #2E2E2E;
  color: #CCCCCC;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.compare-share svg {
  width: 16px;
  height: 16px;
  display: block;
  flex: none;
}
.compare-share:hover {
  border-color: #888;
  color: #FFFFFF;
}
.compare-share--copied {
  border-color: #3fd27a;
  color: #3fd27a;
}

/* ---------- Champion strip (winner celebration, inside the winning card) ----------
   Replaces the old standalone banner: the winning warband's header carries the
   trophy + verdict + tally, so the page is two components instead of three. */
.compare-champ {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(63, 210, 122, 0.35);
}

/* mirror the strip on the left card so the trophy sits on the outer edge */
.compare-wb--left .compare-champ {
  flex-direction: row-reverse;
}

.compare-champ-title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.compare-champ-crown {
  font-size: 18px;
}

.compare-champ-verdict {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #3fd27a;
  font-weight: 600;
}

.compare-tally {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.compare-wb--left .compare-tally {
  justify-content: flex-end;
}

.compare-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #0F0F0F;
  border: 1px solid #2E2E2E;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 13px;
}

.compare-stat-dim {
  color: #AAAAAA;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compare-stat-margin {
  font-weight: 600;
}

/* ---------- Top bar (above the warband headers) ----------
   "Compare again" back-link (left) + "Copy link to share" (right), divided from
   the comparison by a subtle rule. */
.compare-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid #1E1E1E;
}
.compare-topbar .compare-share {
  margin-right: 0;
}

.compare-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #22c9ff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 200;
}
.compare-back svg {
  width: 16px;
  height: 16px;
  display: block;
  flex: none;
  transition: transform 0.12s ease;
}
.compare-back:hover {
  color: #FFFFFF;
}
.compare-back:hover svg {
  transform: translateX(-2px);
}

/* ---------- Comparison header ---------- */
.compare-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.compare-wb {
  display: block;
  background: #1E1E1E;
  border: 1px solid #2E2E2E;
  border-radius: 12px;
  padding: 12px 16px;
  color: inherit;
  text-decoration: none;
}
.compare-wb--left {
  text-align: right;
}
.compare-wb--right {
  text-align: left;
}
.compare-wb--winner {
  border-color: #3fd27a;
  box-shadow: inset 0 0 0 1px #3fd27a;
}

/* the whole card links to /summary — lift the background on hover */
a.compare-wb[href]:hover {
  background: #2E2E2E;
  text-decoration: none;
}

/* leaders headline — "Druss's warband" / "Meapy & Meapz's warband" */
.compare-leaders {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.compare-wb--left .compare-leaders {
  justify-content: flex-end;
}

.compare-leader {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.compare-leader .class-icon {
  --class-spec-icon-size: 22px;
  border-radius: 4px;
}

.compare-leader-name {
  font-weight: 600;
}

.compare-amp {
  color: #888;
  font-weight: 600;
  font-size: 14px;
}

/* hug the preceding name ("Druss's warband", not "Druss 's warband") by
   cancelling the .compare-leaders flex gap that precedes this suffix */
.compare-warband-suffix {
  color: #CCCCCC;
  font-weight: 600;
  margin-left: -6px;
}

.compare-wb-slug {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: #22c9ff; /* link color — signals the card links to /summary */
}

/* the not-found card is an <a> with no href (not a link) — don't show its slug
   in link color, which would be a false affordance */
.compare-wb:not([href]) .compare-wb-slug {
  color: #888;
}

.compare-wb-meta {
  display: block;
  font-size: 12px;
  color: #AAAAAA;
  margin-top: 2px;
}

/* slug + meta share one line under the leaders (keeps each card to 2 lines) */
.compare-wb-sub {
  margin-top: 4px;
  line-height: 1.4;
}

.compare-wb-sub .compare-wb-slug {
  margin-top: 0;
}

.compare-wb-sub .compare-wb-meta {
  display: inline;
  margin-top: 0;
}

.compare-vs {
  color: #888;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.compare-vs--draw {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

/* ---------- Legend ---------- */
.compare-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  font-size: 12px;
  color: #888;
  margin-bottom: 42px;
}

/* two groups (difficulties · results) that wrap as whole units, so win/tie/
   loss/skipped never get split across lines */
.compare-legend-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
}

.compare-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.compare-legend-sw {
  display: inline-flex;
  width: 8px;
  height: 15px;
}
.compare-legend-sw .cmp-seg {
  width: 100%;
  height: 100%;
}

/* ---------- Season rows ---------- */
.compare-season {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0 18px;
  padding: 13px 0;
  border-top: 1px solid #1E1E1E;
}
.compare-season--empty {
  opacity: 0.55;
}
.compare-season:first-child {
  border-top: none;
}

/* avoid a double line: the season right under an expansion header drops its top border */
.compare-exp-head + .compare-season {
  border-top: none;
}

.compare-center {
  text-align: center;
  min-width: 110px;
}

.compare-season-name {
  font-weight: 600;
  color: #AAAAAA;
  font-size: 14px;
}

.compare-empty {
  color: #AAAAAA;
  text-align: center;
  padding: 30px 0;
}

/* end-of-comparison note — same treatment as the "skipped" text, with a full-
   width separator line above it (matches the expansion-divider rule color) */
.compare-footnote {
  color: #666;
  text-align: center;
  font-size: 12px;
  font-style: italic;
  font-weight: 200;
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid #1E1E1E;
}

/* expansion section divider (centered: line · name · line) */
.compare-exp-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 2px;
}

.compare-exp-name {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.compare-exp-line {
  flex: 1;
  height: 1px;
  background: #1E1E1E;
}

/* columns: left mirrors via row-reverse so the hardest difficulty sits on the
   outer edge and the indicator/checkmark land toward the center divider. */
.compare-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  /* Rows STRETCH to the grid column width so an over-wide segment bar shrinks
     (flex-shrink + max-width) instead of overflowing into a horizontal
     scrollbar between the 720px breakpoint and ~940px. The mirror — content
     toward the center divider, hardest difficulty on the outer edge — comes
     from flex-direction (row-reverse on the left) + default justify-content,
     NOT from shrink-wrapping the row with align-items:flex-end/flex-start. */
  align-items: stretch;
}

.compare-col--left .compare-raidrow,
.compare-col--left .compare-bar {
  flex-direction: row-reverse;
}

/* row-reverse mirrors the difficulty GROUPS, but each group is a grid that still
   lays boss 1 → N left-to-right, leaving boss 1 at the outer edge on the left.
   Flip the grid's order on the left so boss 1 sits nearest the center and the
   last boss is outermost — a true mirror of the right side. */
.compare-col--left .compare-grp {
  direction: rtl;
}

/* mirror the label too: tokens run lowest→highest difficulty (e.g. "8/9H · 3/9M")
   to match the right bar; on the left the bar is reversed, so reverse the tokens
   to read "3/9M · 8/9H" (Mythic nearest the outer Mythic bar). */
.compare-col--left .compare-indicator {
  flex-direction: row-reverse;
}

.compare-raidrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* "skipped (Fated)" / "skipped (M+ seasons not officially tracked)" / "no raid"
   — a muted, italic, light note (a shade darker than the rest); wraps freely
   since the M+ message is long. */
.compare-skipnote {
  color: #666;
  font-style: italic;
  font-weight: 200;
  font-size: 12px;
}

.compare-col-label {
  display: none;
} /* warband name per column — shown only on narrow screens */
/* ---------- Segmented raid bar ----------
   Proportional: the bar holds a constant total width and the boss segments
   shrink to fit (CSS grid, repeat(--seg-n, 1fr)) instead of a fixed per-segment
   width that overflowed narrow screens. Mirrors /summary's combined-progress.
   --seg-n (boss count) is set inline on .compare-bar per raid. */
/* definite width so the proportional grid has something to divide up; shrinks
   below it (flex-shrink + max-width) when the column is narrower than 280px. */
.compare-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 280px;
  max-width: 100%;
  min-width: 0;
}

.compare-grp {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(var(--seg-n, 8), 1fr);
  gap: 1px;
  min-width: 0;
  height: 15px;
}

/* No group "track" background: the difficulty fills are translucent, so they
   must composite over the page black (like the legend swatches) — a gray track
   would wash them out and mismatch the key. Empty segments keep a faint inset
   border for definition. */
.cmp-seg {
  min-width: 0;
  height: 100%;
  border-radius: 1.5px;
  background-color: #0F0F0F;
  box-shadow: inset 0 0 0 1px #2E2E2E;
}

.cmp-seg--killed,
.cmp-seg--unknown {
  box-shadow: none;
}

.cmp-seg--unknown {
  background-image: repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0, 0, 0, 0.4) 2px, rgba(0, 0, 0, 0.4) 4px);
}

/* difficulty fill colors — translucent WoW-quality backgrounds, matching the
   raid boss-kill graphs (styles/_colors.scss $blizz-*-background). */
.difficulty-mythic .cmp-seg--killed, .difficulty-mythic .cmp-seg--unknown {
  background-color: rgba(255, 128, 0, 0.5);
}

.difficulty-heroic .cmp-seg--killed, .difficulty-heroic .cmp-seg--unknown {
  background-color: rgba(163, 53, 238, 0.5);
}

.difficulty-normal .cmp-seg--killed, .difficulty-normal .cmp-seg--unknown {
  background-color: rgba(0, 112, 221, 0.6);
}

.difficulty-lfr .cmp-seg--killed, .difficulty-lfr .cmp-seg--unknown {
  background-color: rgba(30, 255, 0, 0.4);
}

/* ---------- Indicator + winner + M+ ---------- */
.compare-indicator {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #CCCCCC;
  white-space: nowrap;
  min-width: 44px;
  text-align: center;
}

/* dot between the two tiers ("8/9H · 3/9M") — muted so the scores stand out */
.compare-indicator-sep {
  color: #888;
  font-weight: 200;
}

/* progress text colored by difficulty — solid WoW quality colors, matching
   /summary's raid progress text (_summary-header.html). Applies per token. */
.compare-indicator--mythic {
  color: rgb(255, 128, 0);
}

.compare-indicator--heroic {
  color: rgb(163, 53, 238);
}

.compare-indicator--normal {
  color: rgb(0, 112, 221);
}

.compare-indicator--lfr {
  color: rgb(30, 255, 0);
}

/* no kills this raid — a muted em-dash matching the M+ "—" (same size, left-
   aligned), while still occupying the full label width so the bar lines up with
   the other warband's bar */
.compare-indicator--none {
  color: #888;
  font-size: 18px;
  justify-content: flex-start;
}

/* result badge — background color is the focus; glyph is the secondary read.
   win → green ✓ · tie → amber = · loss/no-result/skipped → gray − */
.compare-badge {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  flex: none;
}

/* win / tie / loss share a knockout glyph (page bg shows through) — only the
   background color distinguishes them. skipped/no-contest keeps a muted dash. */
.compare-badge--win {
  background: #3fd27a;
  color: #000;
}

.compare-badge--tie {
  background: #e8b84b;
  color: #000;
}

.compare-badge--loss {
  background: #c0392b;
  color: #000;
}

.compare-badge--none {
  background: #2E2E2E;
  color: #888;
}

.compare-mplusrow {
  margin-top: 2px;
}

.compare-score {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: #CCCCCC;
}
.compare-score--none {
  color: #888;
  font-size: 18px;
}

.compare-spec {
  flex: none;
}

/* ---------- Narrow screens: stop mirroring, stack the two warbands ---------- */
@media (max-width: 720px) {
  .compare-page {
    padding: 20px 12px 60px;
  }
  /* drop the topbar's divider + bottom margin on phones */
  .compare-topbar {
    border-bottom: none;
    margin-bottom: 0;
  }
  /* header: stack the warband cards (drop the center "vs", keep a draw tag) */
  .compare-header {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .compare-wb--left, .compare-wb--right {
    text-align: left;
  }
  .compare-wb--left .compare-leaders {
    justify-content: flex-start;
  }
  /* un-mirror the champion strip when cards are full-width and left-aligned */
  .compare-wb--left .compare-champ {
    flex-direction: row;
  }
  .compare-wb--left .compare-tally {
    justify-content: flex-start;
  }
  .compare-vs {
    display: none;
  }
  .compare-vs--draw {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 4px 0;
  }
  /* each season: single column with a strong S# header on top, then both
     warbands stacked, bars un-mirrored, each under a muted warband label */
  .compare-season {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .compare-center {
    order: -1;
    text-align: left;
    min-width: 0;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #2E2E2E;
  }
  .compare-season-name {
    font-size: 18px;
    letter-spacing: 0.5px;
  }
  /* Rows must STRETCH to the full column width (not shrink-wrap their content),
     so the 280px segment bar gets shrink pressure and its proportional segments
     reduce to fit. flex-start here let the bar keep full width and overflow into
     a horizontal scrollbar on narrow screens. */
  .compare-col, .compare-col--left, .compare-col--right {
    align-items: stretch;
  }
  /* both warbands are left-aligned here, so FULLY un-mirror the left side to read
     like the right: groups L→N→H→M, bosses 1→N within a group, and label tokens
     lowest-difficulty first (e.g. "AOTC · 5/10M", not "5/10M · AOTC"). */
  .compare-col--left .compare-raidrow,
  .compare-col--left .compare-bar,
  .compare-col--left .compare-indicator {
    flex-direction: row;
  }
  .compare-col--left .compare-grp {
    direction: ltr;
  }
  .compare-col-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin: 8px 0 1px;
  }
}
@media (max-width: 640px) {
  .compare-legend {
    gap: 8px 14px;
  }
  .compare-legend-group {
    gap: 10px;
  }
}

/*# sourceMappingURL=compare.css.map */
