@charset "UTF-8";
:root {
  --ui-primary: #a335ee;
  --ui-primary-soft: rgba(163, 53, 238, 0.15);
  --ui-primary-hover: rgba(163, 53, 238, 0.25);
  --ui-primary-border: rgba(163, 53, 238, 0.4);
  --ui-surface: rgba(0, 0, 0, 0.35);
  --ui-surface-raised: rgba(255, 255, 255, 0.04);
  --ui-surface-hover: rgba(255, 255, 255, 0.06);
  --ui-border: rgba(255, 255, 255, 0.06);
  --ui-border-hover: rgba(255, 255, 255, 0.14);
  --ui-border-strong: rgba(255, 255, 255, 0.1);
  --ui-text: #fff;
  --ui-text-muted: rgba(255, 255, 255, 0.55);
  --ui-text-dim: rgba(255, 255, 255, 0.35);
  --ui-text-faint: rgba(255, 255, 255, 0.2);
  --ui-success: #4CAF50;
  --ui-success-soft: rgba(76, 175, 80, 0.12);
  --ui-success-border: rgba(76, 175, 80, 0.3);
  --ui-warning: #ffc125;
  --ui-warning-soft: rgba(255, 193, 37, 0.12);
  --ui-warning-border: rgba(255, 193, 37, 0.3);
  --ui-danger: #ff4444;
  --ui-danger-soft: rgba(255, 68, 68, 0.12);
  --ui-danger-border: rgba(255, 68, 68, 0.3);
  --ui-info: #60b4ff;
  --ui-info-soft: rgba(96, 180, 255, 0.12);
  --ui-discord: #5865f2;
  --ui-twitter: #1da1f2;
  --ui-facebook: #1877f2;
  --ui-reddit: #ff4500;
  --ui-whatsapp: #25d366;
  --ui-space-1: 4px;
  --ui-space-2: 8px;
  --ui-space-3: 12px;
  --ui-space-4: 16px;
  --ui-space-5: 24px;
  --ui-space-6: 32px;
  --ui-space-7: 48px;
  --ui-space-8: 64px;
  --ui-radius-xs: 3px;
  --ui-radius-sm: 4px;
  --ui-radius-md: 6px;
  --ui-radius-lg: 8px;
  --ui-radius-xl: 12px;
  --ui-radius-pill: 999px;
  --ui-font-body: "Muli", sans-serif;
  --ui-font-display: "Cinzel Decorative", serif;
  --ui-font-mono: "SF Mono", Menlo, monospace;
  --ui-text-xs: 11px;
  --ui-text-sm: 12px;
  --ui-text-md: 13px;
  --ui-text-lg: 15px;
  --ui-text-xl: 18px;
  --ui-text-2xl: 24px;
  --ui-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --ui-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --ui-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --ui-shadow-primary: 0 8px 24px rgba(163, 53, 238, 0.4);
  --ui-transition-fast: 0.1s ease;
  --ui-transition-base: 0.15s ease;
  --ui-transition-slow: 0.25s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ui-space-2);
  padding: var(--ui-space-2) var(--ui-space-4);
  border: 1px solid transparent;
  border-radius: var(--ui-radius-sm);
  background: transparent;
  font-family: var(--ui-font-body);
  font-size: var(--ui-text-md);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--ui-transition-base);
  user-select: none;
}
.btn i {
  font-size: 14px;
  flex-shrink: 0;
}
.btn .btn-label {
  display: inline-block;
}
.btn:disabled, .btn[aria-disabled=true] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.btn:focus-visible {
  outline: 2px solid var(--ui-primary);
  outline-offset: 2px;
}

.btn.btn-primary {
  background: rgba(163, 53, 238, 0.15);
  border-color: rgba(163, 53, 238, 0.4);
  color: var(--ui-text);
}
.btn.btn-primary:hover {
  background: rgba(163, 53, 238, 0.3);
  border-color: rgba(163, 53, 238, 0.65);
}

.btn.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ui-text);
}
.btn.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn.btn-ghost {
  background: transparent;
  color: var(--ui-primary);
}
.btn.btn-ghost:hover {
  background: rgba(163, 53, 238, 0.1);
  color: var(--ui-text);
}

.btn.btn-outline {
  background: transparent;
  border-color: rgba(163, 53, 238, 0.3);
  color: var(--ui-primary);
}
.btn.btn-outline:hover {
  background: rgba(163, 53, 238, 0.1);
  border-color: rgba(163, 53, 238, 0.5);
  color: var(--ui-text);
}

.btn.btn-danger {
  background: rgba(255, 68, 68, 0.12);
  border-color: rgba(255, 68, 68, 0.3);
  color: var(--ui-text);
}
.btn.btn-danger:hover {
  background: rgba(255, 68, 68, 0.25);
  border-color: rgba(255, 68, 68, 0.55);
}

.btn.btn-success {
  background: rgba(76, 175, 80, 0.12);
  border-color: rgba(76, 175, 80, 0.3);
  color: var(--ui-text);
}
.btn.btn-success:hover {
  background: rgba(76, 175, 80, 0.25);
  border-color: rgba(76, 175, 80, 0.55);
}

.btn.btn-warning {
  background: rgba(255, 193, 37, 0.12);
  border-color: rgba(255, 193, 37, 0.3);
  color: var(--ui-text);
}
.btn.btn-warning:hover {
  background: rgba(255, 193, 37, 0.25);
  border-color: rgba(255, 193, 37, 0.55);
}

.btn.btn-discord {
  background: rgba(88, 101, 242, 0.08);
  border-color: rgba(88, 101, 242, 0.3);
  color: rgba(88, 101, 242, 0.9);
}
.btn.btn-discord:hover {
  background: rgba(88, 101, 242, 0.15);
  border-color: rgba(88, 101, 242, 0.5);
  color: var(--ui-text);
}

.btn.btn-info {
  background: rgba(96, 180, 255, 0.12);
  border-color: rgba(96, 180, 255, 0.35);
  color: var(--ui-text);
}
.btn.btn-info:hover {
  background: rgba(96, 180, 255, 0.25);
  border-color: rgba(96, 180, 255, 0.6);
}

.btn-xs {
  padding: 4px 8px;
  font-size: 11px;
  gap: 4px;
}
.btn-xs i {
  font-size: 11px;
}

.btn-sm {
  padding: var(--ui-space-2) var(--ui-space-3);
  font-size: var(--ui-text-sm);
  gap: var(--ui-space-1);
}
.btn-sm i {
  font-size: 12px;
}

.btn-lg {
  padding: var(--ui-space-2) var(--ui-space-4);
  font-size: 14px;
}
.btn-lg i {
  font-size: 14px;
}

.btn-icon {
  padding: 0;
  width: 32px;
  height: 32px;
}
.btn-icon .btn-label {
  display: none;
}
.btn-icon i {
  font-size: 14px;
}
.btn-icon.btn-sm {
  width: 26px;
  height: 26px;
}
.btn-icon.btn-sm i {
  font-size: 12px;
}
.btn-icon.btn-lg {
  width: 40px;
  height: 40px;
}
.btn-icon.btn-lg i {
  font-size: 18px;
}

.btn-group {
  display: inline-flex;
  gap: var(--ui-space-2);
  flex-wrap: wrap;
}

.card {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid transparent;
  border-radius: var(--ui-radius-lg);
  overflow: hidden;
  transition: border-color var(--ui-transition-base), transform var(--ui-transition-base);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  color: inherit;
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.04);
}
.card.card-clickable {
  cursor: pointer;
}
.card.card-clickable:hover {
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.card.card-horizontal {
  flex-direction: row;
  align-items: stretch;
}
.card.card-horizontal .card-media {
  width: 180px;
  flex-shrink: 0;
  align-self: stretch;
}
.card.card-horizontal .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 640px) {
  .card.card-horizontal {
    flex-direction: column;
  }
  .card.card-horizontal .card-media {
    width: 100%;
    height: 140px;
  }
}
.card.is-archived {
  opacity: 0.6;
}
.card.is-archived:hover {
  opacity: 0.85;
}
.card.card-vertical .card-media {
  aspect-ratio: 16/10;
}
.card.card-vertical .card-media img {
  height: 100%;
  object-fit: cover;
}
.card.card-vertical .card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}
.card.card-vertical .card-media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--ui-space-3) var(--ui-space-4);
  z-index: 2;
  pointer-events: none;
}
.card.card-banner {
  position: relative;
  min-height: 240px;
}
.card.card-banner .card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.card.card-banner .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.card.card-banner .card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}
.card.card-banner .card-body {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-top: auto;
}

.card-media {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.card-media img {
  display: block;
  width: 100%;
  height: auto;
}

.card-category {
  align-self: flex-start;
  margin-bottom: 4px;
}

.card-media-overlay .card-title {
  white-space: normal;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--ui-space-3) var(--ui-space-4);
}

.card-title {
  font-family: var(--ui-font-body);
  font-size: var(--ui-text-lg);
  font-weight: 700;
  color: var(--ui-text);
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-title-wrap {
  white-space: normal;
}

.card-subtitle {
  font-family: var(--ui-font-body);
  font-size: var(--ui-text-sm);
  color: var(--ui-text-muted);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px var(--ui-space-3);
  font-size: var(--ui-text-xs);
  color: var(--ui-text-dim);
}
.card-meta > span {
  display: inline-flex;
  align-items: center;
}
.card-meta > span i {
  font-size: 12px;
  margin-right: 3px;
  opacity: 0.7;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ui-space-2);
  margin-top: auto;
  padding-top: var(--ui-space-2);
}

.card-footer {
  padding: var(--ui-space-2) var(--ui-space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: var(--ui-text-xs);
  color: var(--ui-text-muted);
}

.card-line {
  display: flex;
  gap: 6px;
  font-size: var(--ui-text-sm);
  line-height: 1.4;
}

.card-line-label {
  color: var(--ui-text);
  font-weight: 600;
}

.card-line-value {
  color: var(--ui-primary);
  font-weight: 600;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.card.card-member {
  min-width: 200px;
  border-radius: 10px;
  overflow: visible;
}
@media (max-width: 650px) {
  .card.card-member {
    min-width: 150px;
  }
}

.card.card-event {
  border-color: rgba(255, 255, 255, 0.04);
}
.card.card-event:hover {
  border-color: rgba(255, 255, 255, 0.08);
}
.card.card-event.is-past {
  opacity: 0.75;
}
.card.card-event.is-cancelled {
  opacity: 0.55;
}

.card-event-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
  padding: var(--ui-space-3) var(--ui-space-4);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-event-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.card-event-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-event-title {
  margin: 0;
  font-size: var(--ui-text-lg);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.card-event-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--ui-space-2);
  font-size: var(--ui-text-xs);
  color: rgba(255, 255, 255, 0.7);
}
.card-event-meta .card-event-time {
  color: #fff;
  font-weight: 600;
}
.card-event-meta .card-event-countdown {
  color: var(--ui-primary);
  font-weight: 600;
}

.card-event-description {
  margin: 0;
  font-size: var(--ui-text-xs);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.card-event-progress-row {
  display: flex;
  align-items: center;
  gap: var(--ui-space-2);
  margin-top: 4px;
}

.card-event-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--ui-radius-pill);
  overflow: hidden;
}

.card-event-progress-count {
  font-size: var(--ui-text-xs);
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.card-event-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ui-primary), rgba(163, 53, 238, 0.6));
  transition: width 0.3s ease;
}

.card-event-body {
  flex: 1;
  padding: 0 var(--ui-space-4) var(--ui-space-3);
  display: flex;
  flex-direction: column;
  gap: var(--ui-space-3);
}

.card-event-roles {
  display: flex;
  align-items: center;
  gap: var(--ui-space-3);
  margin: 0 calc(-1 * var(--ui-space-4));
  padding: 10px var(--ui-space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: var(--ui-text-xs);
  font-variant-numeric: tabular-nums;
}

.card-event-role-total {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.55);
}

.card-event-configure {
  display: flex;
  align-items: center;
  gap: var(--ui-space-3);
  margin: calc(-1 * var(--ui-space-3)) calc(-1 * var(--ui-space-4)) 0;
  padding: var(--ui-space-2) var(--ui-space-4) var(--ui-space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-event-configure-tip {
  font-size: var(--ui-text-xs);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
}

.card-event-signups {
  display: flex;
  flex-direction: column;
  gap: var(--ui-space-3);
}

.card-event-reserves {
  margin-top: var(--ui-space-2);
  padding-top: var(--ui-space-2);
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.card-event-reserves-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.card-event-groups-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--ui-radius-sm);
  padding: var(--ui-space-2) var(--ui-space-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-event-groups-summary-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.card-event-groups-summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-event-your-group {
  background: rgba(163, 53, 238, 0.06);
  border: 1px solid rgba(163, 53, 238, 0.18);
  border-radius: var(--ui-radius-sm);
  padding: var(--ui-space-2) var(--ui-space-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-event-your-group-head {
  display: flex;
  align-items: center;
  gap: var(--ui-space-2);
  font-size: var(--ui-text-xs);
}

.card-event-your-group-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  color: var(--ui-primary);
}

.card-event-your-group-ilvl {
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

.card-event-your-group-name {
  margin-left: auto;
  color: #fff;
  font-weight: 600;
}

.card-event-your-group-members {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.card-event-your-group-member {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--ui-text-xs);
}
.card-event-your-group-member.is-you {
  font-weight: 700;
}

.card-event-you-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(163, 53, 238, 0.25);
  color: var(--ui-primary);
}

.card-event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ui-space-2);
  padding: var(--ui-space-3) var(--ui-space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}

.card-event-signed-up {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--ui-text-xs);
  color: rgba(255, 255, 255, 0.75);
}
.card-event-signed-up i {
  color: var(--ui-success, #10b981);
  font-size: 14px;
}
.card-event-signed-up strong {
  color: #fff;
  font-weight: 600;
}

.card-date {
  position: absolute;
  top: var(--ui-space-2);
  right: var(--ui-space-2);
  z-index: 2;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--ui-radius-pill);
  backdrop-filter: blur(6px);
}

.card-status {
  position: absolute;
  top: var(--ui-space-2);
  left: var(--ui-space-2);
  z-index: 2;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal {
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(163, 53, 238, 0.2);
  border-radius: 5px;
  width: 100%;
  padding: 24px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 40px);
}
.modal.modal-xs {
  max-width: 360px;
}
.modal.modal-sm {
  max-width: 480px;
}
.modal.modal-md {
  max-width: 600px;
}
.modal.modal-lg {
  max-width: 760px;
}
.modal.modal-xl {
  max-width: 960px;
}
.modal.modal-xxl {
  max-width: 1280px;
}
.modal.modal-full {
  max-width: none;
  max-height: none;
  width: 98vw;
  height: 98vh;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-family: "Muli", sans-serif;
}

.modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s ease;
}
.modal-close:hover {
  color: #fff;
}

.modal-close-floating {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.modal-body {
  flex: 1;
  min-height: 0;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Muli", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  overflow-y: auto;
}
.modal-body::-webkit-scrollbar {
  width: 4px;
}
.modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.modal-body::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.3);
  border-radius: 2px;
}
.modal-body select {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s ease;
  color-scheme: dark;
}
.modal-body select:focus {
  border-color: rgba(163, 53, 238, 0.45);
}
.modal-body label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}
.modal-body label input, .modal-body label textarea, .modal-body label select {
  text-transform: none;
  letter-spacing: 1.5px;
  font-weight: 400;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 16px -24px -24px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  flex-wrap: wrap;
}

body.modal-open {
  overflow: hidden;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--ui-font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  white-space: nowrap;
}
.tag i {
  font-size: 11px;
  flex-shrink: 0;
}

.tag.tag-xs {
  font-size: 9px;
  padding: 1px 6px;
}

.tag.tag-sm { /* default */ }

.tag.tag-md {
  font-size: 11px;
  padding: 3px 10px;
}

.tag.tag-pill {
  border-radius: var(--ui-radius-pill);
  padding-left: 10px;
  padding-right: 10px;
}

.tag.tag-default {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.tag.tag-neutral {
  color: rgba(64, 199, 235, 0.85);
  background: rgba(64, 199, 235, 0.1);
  border-color: rgba(64, 199, 235, 0.25);
}

.tag.tag-muted {
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.tag.tag-primary {
  color: #a335ee;
  background: rgba(163, 53, 238, 0.15);
  border-color: rgba(163, 53, 238, 0.3);
}

.tag.tag-success {
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.tag.tag-warning {
  color: #ffab00;
  background: rgba(255, 171, 0, 0.15);
  border-color: rgba(255, 171, 0, 0.3);
}

.tag.tag-danger {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
}

.tag.tag-info {
  color: #60b4ff;
  background: rgba(96, 180, 255, 0.15);
  border-color: rgba(96, 180, 255, 0.3);
}

.tag.tag-difficulty-normal {
  color: #1eff00;
  background: rgba(30, 255, 0, 0.15);
  border-color: rgba(30, 255, 0, 0.3);
}

.tag.tag-difficulty-heroic {
  color: #a335ee;
  background: rgba(163, 53, 238, 0.15);
  border-color: rgba(163, 53, 238, 0.3);
}

.tag.tag-difficulty-mythic {
  color: #ff8000;
  background: rgba(255, 128, 0, 0.15);
  border-color: rgba(255, 128, 0, 0.3);
}

.tag.tag-status-open {
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.tag.tag-status-closed {
  color: #a335ee;
  background: rgba(163, 53, 238, 0.15);
  border-color: rgba(163, 53, 238, 0.3);
}

.tag.tag-status-recurring {
  color: #0070dd;
  background: rgba(0, 112, 221, 0.15);
  border-color: rgba(0, 112, 221, 0.3);
}

.tag.tag-status-completed {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  border-color: transparent;
}

.tag.tag-status-cancelled {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
}

.tag.tag-status-published {
  background: rgba(76, 175, 80, 0.85);
  color: #fff;
  border-color: transparent;
}

.tag.tag-status-draft {
  background: rgba(255, 171, 0, 0.85);
  color: #1a1a2e;
  border-color: transparent;
}

.tag.tag-status-archived {
  background: rgba(150, 150, 150, 0.85);
  color: #1a1a2e;
  border-color: transparent;
}

.tag.tag-status-popular {
  background: rgba(255, 128, 0, 0.9);
  color: #1a1a2e;
  border-color: transparent;
}

.tag.tag-clickable {
  cursor: pointer;
  transition: filter var(--ui-transition-base), transform var(--ui-transition-base);
}
.tag.tag-clickable:hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
}

.tag.tag-active {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.tag.tag-removable {
  padding-right: 3px;
  gap: 2px;
}

.tag-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 2px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  opacity: 0.5;
  cursor: pointer;
  font-size: 11px;
  padding: 0;
  transition: opacity var(--ui-transition-base), background var(--ui-transition-base);
}
.tag-x i {
  font-size: 10px;
}
.tag-x:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.3);
}

.spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ui-primary);
}
.spinner i {
  font-size: 32px;
}
.spinner.spinner-sm i {
  font-size: 20px;
}
.spinner.spinner-md i {
  font-size: 32px;
}
.spinner.spinner-lg i {
  font-size: 64px;
}

.spinner.spinner-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 60px 20px;
  text-align: center;
}
.spinner.spinner-block .spinner-label {
  margin: 0;
  font-family: var(--ui-font-body);
  font-size: var(--ui-text-md);
  color: rgba(255, 255, 255, 0.55);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}
.empty-state > i {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.2);
}
.empty-state.empty-state-sm {
  padding: 24px 12px;
  gap: 8px;
}
.empty-state.empty-state-sm > i {
  font-size: 28px;
}
.empty-state.empty-state-error > i {
  color: rgba(239, 68, 68, 0.5);
}

.empty-state-title {
  margin: 0;
  font-family: var(--ui-font-body);
  font-size: var(--ui-text-md);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.empty-state-message {
  margin: 0;
  font-family: var(--ui-font-body);
  font-size: var(--ui-text-sm);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
  max-width: 420px;
}

.empty-state-action {
  margin-top: 4px;
}

.section + .section {
  margin-top: 40px;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--ui-space-4);
  margin-bottom: var(--ui-space-3);
}

.section-heading {
  flex: 1;
  min-width: 0;
}

.section-title {
  margin: 0;
  font-family: var(--ui-font-body);
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.5px;
}

.section-sub {
  margin: 4px 0 0;
  font-family: var(--ui-font-body);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
}

.section-action {
  flex-shrink: 0;
}

.section.section-lg .section-title {
  font-size: 24px;
  line-height: 1.2;
}
.section.section-lg .section-sub {
  font-size: 14px;
}
.section.section-lg + .section {
  margin-top: 56px;
}

.section.section-md .section-title {
  font-size: 18px;
}
.section.section-md .section-sub {
  font-size: 13px;
}

.section.section-sm .section-header {
  margin-bottom: var(--ui-space-2);
}
.section.section-sm .section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}
.section.section-sm .section-sub {
  font-size: 12px;
}
.section.section-sm + .section {
  margin-top: 24px;
}

.section.section-centered .section-header {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
}
.section.section-centered .section-heading {
  text-align: center;
}

.content-hero {
  position: relative;
  padding: 48px 32px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.content-hero.content-hero-cover {
  min-height: 320px;
  padding: 64px 32px 40px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.content-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
  z-index: 1;
}

.content-hero-inner {
  position: relative;
  z-index: 2;
}

.content-hero-badge {
  align-self: flex-start;
  margin-bottom: 12px;
}

.content-hero-title {
  margin: 0;
  font-family: var(--ui-font-body);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 1.5px;
  max-width: 900px;
}

.content-hero-subtitle {
  margin: 8px 0 0;
  font-family: var(--ui-font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  max-width: 720px;
}

.content-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.content-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.content-hero-meta > span, .content-hero-meta > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}
.content-hero-meta i {
  font-size: 13px;
  opacity: 0.75;
}

.content-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ui-space-2);
  margin-top: 20px;
}

.content-hero-icon-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.content-hero-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  min-width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.65);
  border-radius: var(--ui-radius-sm);
  font-family: var(--ui-font-body);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--ui-transition-base);
}
.content-hero-icon-btn i {
  font-size: 14px;
}
.content-hero-icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.content-hero-icon-btn.is-active {
  color: #a335ee;
  background: rgba(163, 53, 238, 0.12);
  border-color: rgba(163, 53, 238, 0.35);
}
.content-hero-icon-btn.is-active:hover {
  color: #fff;
  background: rgba(163, 53, 238, 0.2);
  border-color: rgba(163, 53, 238, 0.55);
}

.content-hero-icon-count {
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

@media (max-width: 768px) {
  .content-hero {
    padding: 32px 20px;
  }
  .content-hero.content-hero-cover {
    min-height: 240px;
    padding: 40px 20px 24px;
  }
  .content-hero-title {
    font-size: 24px;
  }
  .content-hero-subtitle {
    font-size: 13px;
  }
}
.tabs {
  display: flex;
  gap: 2px;
  flex-wrap: nowrap;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tabs .tab {
  flex-shrink: 0;
  white-space: nowrap;
}

.tabs.tabs-align-center {
  justify-content: center;
}

.tabs.tabs-align-end {
  justify-content: flex-end;
}

.tabs-spacer {
  flex: 1;
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--ui-font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--ui-transition-base), border-color var(--ui-transition-base);
  text-decoration: none;
}
.tab i {
  font-size: 15px;
  flex-shrink: 0;
}
.tab:hover {
  color: rgba(255, 255, 255, 0.7);
}
.tab.is-active {
  color: #fff;
  border-bottom-color: var(--ui-primary);
}
.tab.is-active .tab-count {
  background: rgba(163, 53, 238, 0.2);
  color: #d09fff;
}
.tab:disabled, .tab[aria-disabled=true] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.tab.is-complete::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ui-success, #10b981);
  margin-left: 2px;
  flex-shrink: 0;
}

.tab-count {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  line-height: 1;
  transition: background var(--ui-transition-base), color var(--ui-transition-base);
}

.tabs.tabs-sm .tab {
  padding: 6px 12px;
  font-size: 12px;
}
.tabs.tabs-sm .tab i {
  font-size: 13px;
}

.tabs.tabs-buttons {
  border-bottom: 0;
  gap: var(--ui-space-2);
}
.tabs.tabs-buttons .tab {
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: var(--ui-radius-sm);
  margin-bottom: 0;
  border-bottom: 1px solid transparent;
}
.tabs.tabs-buttons .tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: transparent;
}
.tabs.tabs-buttons .tab.is-active {
  color: #fff;
  background: rgba(163, 53, 238, 0.12);
  border-color: rgba(163, 53, 238, 0.3);
}

.tabs.tabs-buttons.tabs-sm .tab {
  padding: 4px 10px;
  font-size: 11px;
  gap: 4px;
}
.tabs.tabs-buttons.tabs-sm .tab i {
  font-size: 12px;
}

.input,
textarea.input {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  outline: none;
  transition: border-color var(--ui-transition-base), background var(--ui-transition-base);
  color-scheme: dark;
}
.input:focus,
textarea.input:focus {
  border-color: rgba(163, 53, 238, 0.45);
}
.input::placeholder,
textarea.input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.input:disabled, .input[readonly],
textarea.input:disabled,
textarea.input[readonly] {
  opacity: 0.5;
  cursor: not-allowed;
}

textarea.input {
  resize: vertical;
  min-height: 72px;
}

.input.input-sm {
  padding: 6px 10px;
  font-size: 12px;
}

.input.input-lg {
  padding: 12px 16px;
  font-size: 14px;
}

.input-field {
  position: relative;
}

.input-leading {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 1;
}

.input-trailing {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color var(--ui-transition-base), background var(--ui-transition-base);
  z-index: 1;
}
.input-trailing i {
  font-size: 14px;
}
.input-trailing:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.input-field .input.input-sm ~ .input-trailing {
  width: 22px;
  height: 22px;
  right: 4px;
}
.input-field .input.input-sm ~ .input-trailing i {
  font-size: 12px;
}

.input-field.input-field-has-leading .input {
  padding-left: 36px;
}

.input-field.input-field-has-trailing .input {
  padding-right: 40px;
}

.input-field.input-field-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: text;
  min-height: 38px;
  transition: border-color var(--ui-transition-base);
}
.input-field.input-field-pill:focus-within {
  border-color: rgba(163, 53, 238, 0.45);
}
.input-field.input-field-pill .input {
  flex: 1;
  min-width: 80px;
  padding: 2px 4px;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 13px;
}
.input-field.input-field-pill .input:focus {
  border-color: transparent;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group + .form-group {
  margin-top: var(--ui-space-3);
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.form-label .form-label-hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 4px;
}

.form-helper {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
}

.form-error {
  font-size: 11px;
  color: var(--ui-danger, #ef4444);
  line-height: 1.4;
}

.form-group.has-error .input {
  border-color: rgba(239, 68, 68, 0.5);
}
.form-group.has-error .input:focus {
  border-color: rgba(239, 68, 68, 0.8);
}

.form-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.form-check input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--ui-primary);
  cursor: pointer;
  flex-shrink: 0;
}
.form-check .form-check-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ui-space-3);
}

.form-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.form-radio input[type=radio] {
  width: 14px;
  height: 14px;
  accent-color: var(--ui-primary);
  cursor: pointer;
}
.form-radio .form-radio-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.btn-check-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}
.btn-check-group.btn-check-group-attached {
  gap: 0;
}
.btn-check-group.btn-check-group-attached .btn-check:not(:first-child) .btn-check-label {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: -1px;
}
.btn-check-group.btn-check-group-attached .btn-check:not(:last-child) .btn-check-label {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-check-group.btn-check-group-attached .btn-check input:checked + .btn-check-label {
  z-index: 1;
}
.btn-check-group.btn-check-group-block {
  display: flex;
  width: 100%;
}

.btn-check {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.btn-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.btn-check .btn-check-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--ui-font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: inherit;
  transition: border-color var(--ui-transition-base), background var(--ui-transition-base), color var(--ui-transition-base);
}
.btn-check .btn-check-label i {
  font-size: 14px;
}
.btn-check:hover .btn-check-label {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.btn-check input:focus-visible + .btn-check-label {
  outline: 2px solid rgba(163, 53, 238, 0.5);
  outline-offset: 2px;
}
.btn-check input:disabled + .btn-check-label {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-check input:checked + .btn-check-label {
  background: rgba(163, 53, 238, 0.2);
  border-color: rgba(163, 53, 238, 0.5);
  color: #fff;
}
.btn-check.btn-check-success input:checked + .btn-check-label {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.5);
  color: #10b981;
}
.btn-check.btn-check-warning input:checked + .btn-check-label {
  background: rgba(255, 171, 0, 0.15);
  border-color: rgba(255, 171, 0, 0.5);
  color: #ffab00;
}
.btn-check.btn-check-danger input:checked + .btn-check-label {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
  color: #ef4444;
}
.btn-check.btn-check-difficulty-normal input:checked + .btn-check-label {
  background: rgba(30, 255, 0, 0.12);
  border-color: rgba(30, 255, 0, 0.45);
  color: #1eff00;
}
.btn-check.btn-check-difficulty-heroic input:checked + .btn-check-label {
  background: rgba(163, 53, 238, 0.18);
  border-color: rgba(163, 53, 238, 0.55);
  color: #d09fff;
}
.btn-check.btn-check-difficulty-mythic input:checked + .btn-check-label {
  background: rgba(255, 128, 0, 0.15);
  border-color: rgba(255, 128, 0, 0.5);
  color: #ff8000;
}

.btn-check.btn-check-sm .btn-check-label {
  padding: 5px 10px;
  font-size: 12px;
}

.btn-check.btn-check-lg .btn-check-label {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-check-group-block .btn-check {
  flex: 1;
}

.btn-check-group-block .btn-check-label {
  width: 100%;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--ui-space-2);
  margin-top: var(--ui-space-3);
  flex-wrap: wrap;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-family: var(--ui-font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.icon-badge i {
  font-size: 12px;
}
.icon-badge img {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
}
.icon-badge .icon-badge-count {
  color: #fff;
  font-weight: 800;
}
.icon-badge .icon-badge-total {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}
.icon-badge .icon-badge-label {
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  font-size: 10px;
}

.icon-badge.icon-badge-sm {
  padding: 2px 6px;
  font-size: 10px;
}
.icon-badge.icon-badge-sm i {
  font-size: 11px;
}

.icon-badge.icon-badge-lg {
  padding: 5px 10px;
  font-size: 13px;
}
.icon-badge.icon-badge-lg i {
  font-size: 14px;
}

.icon-badge.icon-badge-ghost {
  background: transparent;
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.icon-badge.icon-badge-tank {
  color: #4a9eff;
}
.icon-badge.icon-badge-tank i {
  color: #4a9eff;
}

.icon-badge.icon-badge-healer {
  color: #10b981;
}
.icon-badge.icon-badge-healer i {
  color: #10b981;
}

.icon-badge.icon-badge-dps {
  color: #ef4444;
}
.icon-badge.icon-badge-dps i {
  color: #ef4444;
}

.icon-badge.icon-badge-primary {
  color: #a335ee;
}
.icon-badge.icon-badge-primary i {
  color: #a335ee;
}

.icon-badge.icon-badge-clickable {
  cursor: pointer;
  transition: background var(--ui-transition-base), border-color var(--ui-transition-base);
}
.icon-badge.icon-badge-clickable:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.icon-badge.icon-badge-clickable.is-active {
  background: rgba(163, 53, 238, 0.15);
  border-color: rgba(163, 53, 238, 0.4);
  color: #fff;
}

.role-bucket {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.role-bucket-header {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--ui-font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 3px;
}
.role-bucket-header i {
  font-size: 10px;
}

.role-bucket-members {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  min-height: 18px;
}

.role-bucket.role-bucket-tank .role-bucket-header {
  color: #4a9eff;
  background: rgba(74, 158, 255, 0.1);
}

.role-bucket.role-bucket-healer .role-bucket-header {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.role-bucket.role-bucket-dps .role-bucket-header {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.role-bucket.role-bucket-other .role-bucket-header {
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.role-bucket-count {
  margin-left: 4px;
  opacity: 0.65;
  font-weight: 600;
  letter-spacing: 0;
}

.role-bucket.is-full .role-bucket-count {
  opacity: 1;
}

.role-member {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--ui-font-body);
  font-size: var(--ui-text-xs);
}
.role-member .role-member-name {
  font-weight: 600;
}
.role-member .role-member-rating {
  color: rgba(255, 255, 255, 0.45);
  font-variant-numeric: tabular-nums;
}
.role-member .role-member-flag {
  font-size: 12px;
  color: rgba(255, 193, 37, 0.85);
}
.role-member .role-member-flag.role-member-flag-tentative {
  color: rgba(255, 193, 37, 0.85);
}
.role-member .role-member-flag.role-member-flag-declined {
  color: rgba(255, 255, 255, 0.25);
}

.role-member.is-reserve .role-member-name {
  opacity: 0.65;
}

.role-member-icon {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
  object-fit: cover;
}

.byline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ui-font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.byline-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.byline-name {
  color: var(--ui-primary, #a335ee);
  font-weight: 700;
  white-space: nowrap;
}

.byline-prefix {
  color: #fff;
  font-weight: 600;
}

.byline-sep {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 2px;
}
.byline-sep::before {
  content: "·";
}

.byline-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.byline-meta i {
  font-size: 11px;
  opacity: 0.7;
}
.byline-meta.byline-likes i {
  color: #ef4444;
  opacity: 0.85;
}

.byline.byline-sm {
  font-size: 11px;
}
.byline.byline-sm .byline-avatar {
  width: 18px;
  height: 18px;
}

.byline.byline-lg {
  font-size: 13px;
}
.byline.byline-lg .byline-avatar {
  width: 28px;
  height: 28px;
}

.stat {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--ui-font-body);
}
.stat .stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat .stat-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}
.stat .stat-icon {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  margin-right: 6px;
}

.stat.stat-sm .stat-value {
  font-size: 14px;
}

.stat.stat-md .stat-value {
  font-size: 18px;
}

.stat.stat-lg .stat-value {
  font-size: 28px;
}

.stat.stat-inline {
  flex-direction: row;
  align-items: center;
  gap: 6px;
}
.stat.stat-inline .stat-value {
  font-size: 13px;
  font-weight: 700;
}
.stat.stat-inline .stat-label {
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 400;
}

.key-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--ui-font-body);
  font-size: 12px;
}
.key-value .key-value-label {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
}
.key-value .key-value-value {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
.key-value i {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

.key-value.key-value-stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.equip-slot {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
}
.equip-slot img, .equip-slot .equip-slot-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.equip-slot-overlay {
  position: absolute;
  left: 0;
  right: 0;
  padding: 1px 4px;
  font-family: var(--ui-font-body);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.equip-slot-overlay.equip-slot-overlay-top {
  top: 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.equip-slot-overlay.equip-slot-overlay-bottom {
  bottom: 0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.equip-slot-ilvl {
  position: absolute;
  bottom: 2px;
  right: 2px;
  padding: 1px 4px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  color: #ffd100;
  line-height: 1;
}

.equip-slot.equip-slot-quality-COMMON {
  border-color: #ffffff;
}

.equip-slot.equip-slot-quality-UNCOMMON {
  border-color: #1eff00;
}

.equip-slot.equip-slot-quality-RARE {
  border-color: #0070dd;
}

.equip-slot.equip-slot-quality-EPIC {
  border-color: #a335ee;
}

.equip-slot.equip-slot-quality-LEGENDARY {
  border-color: #ff8000;
}

.equip-slot.equip-slot-quality-ARTIFACT {
  border-color: #e6cc80;
}

.equip-slot.equip-slot-quality-HEIRLOOM {
  border-color: #00ccff;
}

.equip-slot.equip-slot-sm {
  width: 40px;
  height: 40px;
}

.equip-slot.equip-slot-lg {
  width: 72px;
  height: 72px;
}

.equip-slot.equip-slot-empty {
  background: rgba(0, 0, 0, 0.25);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.1);
}

.equip-slot-extras {
  position: absolute;
  left: 2px;
  bottom: 2px;
  display: flex;
  gap: 2px;
}
.equip-slot-extras img, .equip-slot-extras i {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.equip-slot-enchant,
.equip-slot-sockets {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-size: 10px;
  pointer-events: none;
  z-index: 3;
}

.equip-slot-enchant {
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  font-size: 9px;
  line-height: 1;
}
.equip-slot-enchant.is-ok {
  color: #10b981;
}
.equip-slot-enchant.is-missing {
  color: #ef4444;
}

.equip-slot-sockets {
  bottom: 2px;
  left: 2px;
}
.equip-slot-sockets span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.6);
}
.equip-slot-sockets span.is-gemmed {
  background: #a335ee;
  box-shadow: 0 0 3px rgba(163, 53, 238, 0.6);
}
.equip-slot-sockets span.is-empty {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(239, 68, 68, 0.4);
}

.equip-slot-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.equip-slot-badges {
  position: absolute;
  display: flex;
  gap: 3px;
  z-index: 4;
}

.equip-slot-wrap-badges-left .equip-slot-badges {
  top: 0;
  right: 100%;
  margin-right: 14px;
  flex-direction: column;
}

.equip-slot-wrap-badges-right .equip-slot-badges {
  top: 0;
  left: 100%;
  margin-left: 14px;
  flex-direction: column;
}

.equip-slot-wrap-badges-top .equip-slot-badges {
  left: 50%;
  bottom: 100%;
  margin-bottom: 14px;
  transform: translateX(-50%);
  flex-direction: row;
}

.char-inspect-gear-rail .equip-slot-wrap:first-child .equip-slot-badges {
  top: 5px;
}

.equip-slot-badge {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.equip-slot-badge img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
.equip-slot-badge > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 13px;
  line-height: 1;
}
.equip-slot-badge.is-ok {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.equip-slot-badge.is-ok[data-quality=COMMON] {
  border-color: #ffffff;
}
.equip-slot-badge.is-ok[data-quality=UNCOMMON] {
  border-color: #1eff00;
  box-shadow: 0 0 4px rgba(30, 255, 0, 0.45);
}
.equip-slot-badge.is-ok[data-quality=RARE] {
  border-color: #0070dd;
  box-shadow: 0 0 4px rgba(0, 112, 221, 0.5);
}
.equip-slot-badge.is-ok[data-quality=EPIC] {
  border-color: #a335ee;
  box-shadow: 0 0 4px rgba(163, 53, 238, 0.55);
}
.equip-slot-badge.is-ok[data-quality=LEGENDARY] {
  border-color: #ff8000;
  box-shadow: 0 0 4px rgba(255, 128, 0, 0.55);
}
.equip-slot-badge.is-ok[data-quality=ARTIFACT] {
  border-color: #e6cc80;
  box-shadow: 0 0 4px rgba(230, 204, 128, 0.55);
}
.equip-slot-badge.is-ok[data-quality=HEIRLOOM] {
  border-color: #00ccff;
  box-shadow: 0 0 4px rgba(0, 204, 255, 0.55);
}
.equip-slot-badge.is-missing {
  border: 1px solid rgba(239, 68, 68, 0.6);
  background: rgba(0, 0, 0, 0.85);
  box-shadow: 0 0 5px rgba(239, 68, 68, 0.6);
}
.equip-slot-badge.is-missing > i {
  color: #ef4444;
  font-size: 12px;
}

.equip-slot-badge-tip {
  position: absolute;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.95);
  border-radius: 6px;
  color: #fff;
  font-family: var(--ui-font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1000;
  box-sizing: content-box;
}
.equip-slot-badge-tip::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.equip-slot-badge.is-missing:hover .equip-slot-badge-tip,
.equip-slot-badge.is-missing:hover .tooltip {
  opacity: 1;
}

.equip-slot-wrap-badges-right .equip-slot-badge-tip {
  top: 50%;
  left: calc(100% + 12px);
  transform: translateY(-50%);
}
.equip-slot-wrap-badges-right .equip-slot-badge-tip::after {
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border-width: 6px 6px 6px 0;
  border-color: transparent rgba(0, 0, 0, 0.95) transparent transparent;
}

.equip-slot-wrap-badges-left .equip-slot-badge-tip {
  top: 50%;
  right: calc(100% + 12px);
  transform: translateY(-50%);
}
.equip-slot-wrap-badges-left .equip-slot-badge-tip::after {
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.95);
}

.equip-slot-wrap-badges-top .equip-slot-badge-tip {
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
}
.equip-slot-wrap-badges-top .equip-slot-badge-tip::after {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-color: rgba(0, 0, 0, 0.95) transparent transparent transparent;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--ui-font-body);
  font-size: 12px;
}
.status-row .status-row-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.status-row .status-row-label {
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 700;
  min-width: 56px;
}
.status-row .status-row-value {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-row.status-row-ok .status-row-icon {
  color: #10b981;
}

.status-row.status-row-missing .status-row-icon {
  color: #ef4444;
}
.status-row.status-row-missing .status-row-value {
  color: rgba(239, 68, 68, 0.85);
}

.status-row.status-row-empty .status-row-icon {
  color: rgba(255, 255, 255, 0.3);
}
.status-row.status-row-empty .status-row-value {
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

.status-row.status-row-warning .status-row-icon {
  color: #ffab00;
}

@font-face {
  font-family: "Britanica";
  src: url("../fonts/britanica-bold.woff2") format("woff2"), url("../fonts/britanica-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Britanica";
  src: url("../fonts/britanica-extra-bold.woff2") format("woff2"), url("../fonts/britanica-extra-bold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/**
 * Shared SCSS Mixins
 */
/**
 * Page Header Layout
 * Used by: gallery, my-todos, my-youtube pages
 *
 * Usage:
 * .my-header {
 *   @include page-header;
 * }
 */
/**
 * Status Pill/Badge
 * Used by: leaderboard-status, status alerts, etc.
 *
 * Usage:
 * .my-status {
 *   @include status-pill($bg-start, $bg-end, $border, $text);
 * }
 */
/**
 * Page Action Button (Add Todo, Add Channel, etc.)
 * Used by: my-todos, my-youtube pages
 *
 * Usage:
 * .btn-add-something {
 *   @include page-action-button;
 * }
 */
:root {
  --color-primary: #fff;
  --color-primary-dark: #fff;
  --color-secondary: #a335ee;
  --color-accent: #a335ee;
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;
  --color-text: #e0e0e0;
  --color-text-light: #a0a0a0;
  --color-bg: #1a1a1a;
  --color-bg-secondary: #2a2a2a;
  --color-border: #3a3a3a;
  --color-card-bg: #242424;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --border-radius: 4px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(163, 53, 238, 0.4);
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(163, 53, 238, 0.2) transparent;
}

body {
  font-family: "Muli", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: black;
  min-height: 100vh;
  letter-spacing: 1.5px;
  display: flex;
  flex-direction: column;
  position: relative;
}
body.modal-open {
  overflow: hidden !important;
}

body:not(:has(#gallery-container)) .bg-rotator-container .bg-layer {
  filter: brightness(0.3);
}

.auth-required-view {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.7);
}
.auth-required-view h2 {
  margin: 0 0 10px 0;
  font-size: 22px;
  color: #fff;
}
.auth-required-view p {
  margin: 0 0 24px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

button,
input,
textarea,
select {
  font-family: inherit;
  letter-spacing: inherit;
}

@media (max-width: 768px) {
  .container {
    padding: var(--spacing-sm);
  }
  .guild-header .guild-stats {
    gap: var(--spacing-md);
    flex-wrap: wrap;
  }
}
.container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  padding: 0px 20px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.footer {
  text-align: center;
  padding: var(--spacing-md);
  color: white;
  font-size: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer p {
  margin: 0;
}
.footer .footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer .footer-link:hover {
  color: #fff;
}

.credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-md);
  margin-top: auto;
}

.credit-logo {
  font-family: "Britanica", Arial, sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: white;
  clip-path: inset(0 0 44% 0);
  line-height: 1;
  margin-bottom: -20px;
}

.ticker-widget {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9998;
  text-align: right;
}
.ticker-widget .ticker-token {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}
.ticker-widget .ticker-realm {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.3px;
  transition: opacity 0.3s ease;
}
.ticker-widget .ticker-realm .ticker-pop {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.25);
  text-transform: capitalize;
}

.top-bar {
  height: 50px;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 9999;
}
.top-bar .top-bar-content {
  max-width: 1290px;
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar .top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-bar .top-bar-left .guild-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}
.top-bar .top-bar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: var(--transition);
}
.top-bar .top-bar-logo i {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}
.top-bar .top-bar-logo:hover i {
  color: #fff;
  transform: scale(1.1);
}
.top-bar .hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
  position: relative;
}
.top-bar .hamburger-menu span {
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.top-bar .hamburger-menu.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.top-bar .hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.top-bar .hamburger-menu.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.top-bar .top-bar-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}
.top-bar .top-bar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.top-bar .top-bar-nav .nav-link i {
  font-size: 16px;
}
.top-bar .top-bar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 0.8);
}
.top-bar .top-bar-nav .nav-link.active {
  color: #fff;
  font-weight: 700;
}
.top-bar .nav-dropdown {
  position: relative;
}
.top-bar .nav-dropdown .nav-dropdown-toggle .dropdown-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}
.top-bar .nav-dropdown .nav-dropdown-toggle.open {
  color: #fff;
}
.top-bar .nav-dropdown .nav-dropdown-toggle.open .dropdown-arrow {
  transform: rotate(180deg);
}
.top-bar .nav-dropdown .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(163, 53, 238, 0.25);
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 1000;
}
.top-bar .nav-dropdown .nav-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.top-bar .nav-dropdown .nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.top-bar .nav-dropdown .nav-dropdown-link i {
  font-size: 14px;
  color: #a335ee;
  width: 16px;
  text-align: center;
}
.top-bar .nav-dropdown .nav-dropdown-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.top-bar .nav-dropdown .nav-dropdown-link.active {
  color: #a335ee;
  background: rgba(163, 53, 238, 0.08);
}
.top-bar .nav-dropdown .nav-dropdown-link.disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.top-bar .nav-dropdown .nav-dropdown-link-button {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.top-bar .nav-dropdown .nav-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 4px;
}
.top-bar .user-dropdown .nav-dropdown-menu {
  left: auto;
  right: 0;
  min-width: 220px;
}
.top-bar .user-dropdown .user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  font: inherit;
  transition: background 0.15s ease;
}
.top-bar .user-dropdown .user-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}
.top-bar .user-dropdown .user-dropdown-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: #148eff;
  font-size: 13px;
  font-weight: 700;
}
.top-bar .user-dropdown .user-dropdown-tag .lab.la-battle-net {
  font-size: 16px;
}
.top-bar .user-dropdown .user-dropdown-tag .user-dropdown-tag-text {
  flex: 1;
}
.top-bar .user-dropdown .user-dropdown-tag .user-dropdown-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.top-bar .user-dropdown .user-dropdown-tag .user-dropdown-copy i {
  font-size: 14px;
}
.top-bar .user-dropdown .user-dropdown-tag .user-dropdown-copy:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.top-bar .mobile-nav {
  display: none;
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-direction: column;
  padding: 8px 0;
  z-index: 9998;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.top-bar .mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.top-bar .mobile-nav .mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 16px;
  transition: var(--transition);
  border-left: 2px solid transparent;
}
.top-bar .mobile-nav .mobile-nav-link i {
  font-size: 16px;
}
.top-bar .mobile-nav .mobile-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border-left-color: rgba(255, 255, 255, 0.3);
}
.top-bar .mobile-nav .mobile-nav-link.active {
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border-left-color: #a335ee;
}
.top-bar .mobile-nav .mobile-nav-link.mobile-nav-link-indent {
  padding-left: 32px;
  font-size: 11px;
}
.top-bar .mobile-nav .mobile-nav-group .mobile-nav-group-header {
  padding: 12px 16px 8px;
}
.top-bar .top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  position: relative;
  z-index: 10000;
}
.top-bar .user-info {
  position: relative;
}
.top-bar .user-info .admin-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  border: none;
  border-radius: 6px;
  padding: 10px 14px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 10001;
  pointer-events: none;
}
.top-bar .user-info .admin-tooltip .admin-stat {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}
.top-bar .user-info .user-avatar-container:hover ~ .admin-tooltip,
.top-bar .user-info .user-battletag:hover ~ .admin-tooltip {
  opacity: 1;
  visibility: visible;
}
.top-bar .btn-link-accounts {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.3);
  color: #5865F2;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.top-bar .btn-link-accounts:hover {
  background: rgba(88, 101, 242, 0.3);
  color: #fff;
}
.top-bar .user-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.top-bar .user-info .user-avatar-container {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  position: relative;
}
.top-bar .user-info .user-avatar-container .user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.top-bar .user-info .user-avatar-container i {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}
.top-bar .user-info .user-battletag {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.top-bar .user-info .user-battletag:hover {
  color: #fff;
}
@media (max-width: 1024px) {
  .top-bar .top-bar-logo i {
    font-size: 28px;
  }
  .top-bar .hamburger-menu {
    display: flex;
  }
  .top-bar .top-bar-nav {
    display: none;
  }
  .top-bar .mobile-nav {
    display: flex;
  }
  .top-bar .top-bar-right {
    justify-content: flex-end;
  }
  .top-bar .user-info .user-battletag {
    display: none;
  }
}

.bg-rotator-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.bg-rotator-container .bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  transition: opacity 2s ease-in-out;
}
@media (min-width: 2000px) {
  .bg-rotator-container .bg-layer {
    background-position: center center;
  }
}
.bg-rotator-container .bg-layer-1 {
  opacity: 1;
  z-index: 1;
}
.bg-rotator-container .bg-layer-2 {
  opacity: 0;
  z-index: 2;
}

#guild-search-container {
  backdrop-filter: blur(10px);
}

.critter-bar-wrapper {
  max-width: 1290px;
  margin: 0 auto;
  padding: 6px var(--spacing-md) 8px;
}
.critter-bar-wrapper .critter-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.critter-bar-wrapper .critter-bar-title {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
}
.critter-bar-wrapper .critter-bar-count {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}
.critter-bar-wrapper .critter-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.critter-bar-wrapper .critter-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #a335ee, #ff8000);
  border-radius: 2px;
  transition: width 0.8s ease;
}
.critter-bar-wrapper .critter-bar-remaining {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.25);
  text-align: right;
  margin-top: 2px;
}

.guild-search-bar {
  max-width: 1290px;
  margin: 0 auto;
  height: 60px;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}
.guild-search-bar .search-input {
  height: 40px;
  padding: 4px 16px;
  background: transparent;
  border: 0px solid white;
  border-radius: var(--border-radius);
  color: var(--color-text);
  font-family: "Muli", sans-serif;
  font-size: 14px;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.05);
  flex: 1;
}
.guild-search-bar .search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
.guild-search-bar .search-input::placeholder {
  color: var(--color-text-light);
}
@media (max-width: 386px) {
  .guild-search-bar .search-input {
    max-width: 150px;
  }
}
.guild-search-bar .region-radio-group {
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
}
.guild-search-bar .region-radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  height: 40px;
  background: transparent;
  border: 0px solid white;
  border-radius: var(--border-radius);
  color: var(--color-text);
  font-family: "Muli", sans-serif;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.guild-search-bar .region-radio-label:hover {
  border-color: rgba(255, 255, 255, 0.3);
}
.guild-search-bar .region-radio-label input[type=radio] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.guild-search-bar .region-radio-label input[type=radio]:checked {
  border-color: #fff;
  background: #fff;
}
.guild-search-bar .region-radio-label input[type=radio]:checked:hover {
  border-color: #fff;
}
.guild-search-bar .region-radio-label input[type=radio]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000;
}
.guild-search-bar .region-radio-label input[type=radio]:hover {
  border-color: #ffffff;
}
.guild-search-bar .region-radio-label .region-radio-text {
  font-weight: 600;
}
.guild-search-bar .clear-results-link {
  color: rgba(255, 255, 255, 0.5);
  font-family: "Muli", sans-serif;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: underline;
}
.guild-search-bar .clear-results-link:hover {
  color: var(--color-primary);
  opacity: 1;
  text-decoration: underline;
}
@media (max-width: 386px) {
  .guild-search-bar {
    height: auto;
    flex-wrap: wrap;
    padding: var(--spacing-sm);
    gap: var(--spacing-xs);
  }
  .guild-search-bar .search-input {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .guild-search-bar .region-radio-group {
    flex: 1;
    gap: 4px;
  }
  .guild-search-bar .region-radio-label {
    padding: 4px 8px;
    font-size: 12px;
  }
  .guild-search-bar .region-radio-label .region-radio-text {
    font-size: 12px;
  }
  .guild-search-bar .clear-results-link {
    font-size: 11px;
  }
}
@media (min-width: 387px) and (max-width: 413px) {
  .guild-search-bar {
    height: auto;
    flex-wrap: wrap;
    padding: var(--spacing-sm);
    gap: var(--spacing-xs);
  }
  .guild-search-bar .search-input {
    max-width: 100%;
    flex: 1 1 calc(50% - 4px);
  }
  .guild-search-bar .region-radio-group {
    flex: 1;
  }
}
@media (min-width: 414px) and (max-width: 768px) {
  .guild-search-bar {
    height: auto;
    padding: var(--spacing-sm);
    gap: 6px;
  }
  .guild-search-bar .search-input {
    max-width: none;
    flex: 1;
    min-width: 100px;
  }
  .guild-search-bar .region-radio-group {
    gap: 4px;
  }
  .guild-search-bar .region-radio-label {
    padding: 4px 8px;
  }
  .guild-search-bar .region-radio-label .region-radio-text {
    font-size: 13px;
  }
}

.season-date-inline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.affix-icons-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 12px;
}

.affix-icon-wrapper {
  position: relative;
}
.affix-icon-wrapper .affix-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}
.affix-icon-wrapper:hover .affix-icon-circle {
  border-color: rgba(163, 53, 238, 0.5);
  transform: scale(1.1);
}
.affix-icon-wrapper .affix-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
  pointer-events: none;
}
.affix-icon-wrapper:hover .affix-tooltip {
  opacity: 1;
  visibility: visible;
}

.home-landing {
  max-width: 1290px;
  margin: 0 auto;
}

.home-hero {
  text-align: center;
  padding: 60px 20px 40px;
}
.home-hero .home-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a335ee;
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid rgba(163, 53, 238, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.home-hero h1 {
  margin: 0 0 16px 0;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .home-hero h1 {
    font-size: 26px;
  }
}
.home-hero .home-subtitle {
  margin: 0 auto 24px;
  max-width: 600px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}
.home-hero .home-search-hint {
  margin: 0;
  font-size: 12px;
  color: rgba(163, 53, 238, 0.6);
}
.home-hero .home-search-hint i {
  margin-right: 4px;
}

.home-section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 24px 0;
}

.home-demo-section {
  margin-bottom: 40px;
}
.home-demo-section .home-demo-desc {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: -12px auto 20px;
  max-width: 560px;
  line-height: 1.5;
}

.home-demo-carousel {
  overflow-x: auto;
  margin: 0 -20px;
  padding: 0 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.home-demo-carousel::-webkit-scrollbar {
  display: none;
}

.home-demo-track {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-bottom: 8px;
}
@media (max-width: 1000px) {
  .home-demo-track {
    justify-content: flex-start;
  }
}
.home-demo-track .card-member {
  flex: 0 0 200px;
  max-width: 200px;
  pointer-events: none;
}
.home-demo-track .card-event {
  flex: 0 0 300px;
  max-width: 300px;
  pointer-events: none;
}

.demo-card-char {
  opacity: 0.85;
  flex-shrink: 0;
  min-width: 200px;
}
.demo-card-char .demo-icon {
  width: 20px;
  height: 20px;
  border-radius: 3px;
}

.home-dual-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  .home-dual-section {
    grid-template-columns: 1fr;
  }
}

.home-dual-card {
  position: relative;
}

.home-dual-link {
  display: block;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  position: relative;
  height: 100%;
}
.home-dual-link .home-feature-chip {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(0, 174, 255, 0.15);
  border: 1px solid rgba(0, 174, 255, 0.3);
  color: #00AEFF;
}
.home-dual-link:hover {
  border-color: rgba(163, 53, 238, 0.25);
  transform: translateY(-2px);
}

.home-dual-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.home-dual-title i {
  color: #a335ee;
  margin-right: 4px;
}

.home-dual-desc {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 14px;
}

.home-dual-preview {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.demo-crafter {
  pointer-events: none;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.demo-crafter:last-child {
  border-bottom: none;
}
.demo-crafter .crafter-char-info {
  min-width: 120px;
}
.demo-crafter .crafter-tier-row .crafter-tier-name {
  min-width: 70px;
  font-size: 8px;
}
.demo-crafter .crafter-tier-row .crafter-skill-bar {
  width: 60px;
}
.demo-crafter .crafter-tier-row .crafter-skill-text {
  font-size: 9px;
  min-width: 40px;
}

.home-vault-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.home-vault-row:last-child {
  border-bottom: none;
}
.home-vault-row .crafter-char-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  flex-shrink: 0;
}

.home-vault-name {
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}

.home-preview-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
}

.home-transmog-showcase .demo-tmog-card {
  pointer-events: none;
  min-width: 380px;
  max-width: 380px;
  flex-shrink: 0;
}

.home-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.home-feature-link .home-feature-chip {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(0, 174, 255, 0.15);
  border: 1px solid rgba(0, 174, 255, 0.3);
  color: #00AEFF;
}
.home-feature-link:hover {
  color: #fff;
}
.home-feature-link i {
  font-size: 14px;
}

.home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: 60px;
}
@media (max-width: 900px) {
  .home-features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  .home-features {
    grid-template-columns: 1fr;
  }
}
.home-features.home-features-row {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .home-features.home-features-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  .home-features.home-features-row {
    grid-template-columns: 1fr;
  }
}

.home-feature {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
  color: inherit;
  position: relative;
}
.home-feature .home-feature-chip {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(0, 174, 255, 0.15);
  border: 1px solid rgba(0, 174, 255, 0.3);
  color: #00AEFF;
}
.home-feature:hover {
  border-color: rgba(163, 53, 238, 0.25);
  transform: translateY(-2px);
}
.home-feature .home-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(163, 53, 238, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.home-feature .home-feature-icon i {
  font-size: 18px;
  color: #a335ee;
}
.home-feature h3 {
  margin: 0 0 6px 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.home-feature p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.4);
}

.custom-dropdown {
  position: relative;
  display: inline-block;
  min-width: 250px;
}
.custom-dropdown .dropdown-toggle {
  width: 100%;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-family: var(--ui-font-body);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: inherit;
  cursor: pointer;
  transition: border-color var(--ui-transition-base), background var(--ui-transition-base);
}
.custom-dropdown .dropdown-toggle:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.custom-dropdown .dropdown-toggle:focus, .custom-dropdown .dropdown-toggle[aria-expanded=true] {
  outline: none;
  border-color: rgba(163, 53, 238, 0.45);
}
.custom-dropdown .dropdown-toggle .dropdown-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.custom-dropdown .dropdown-toggle .dropdown-text {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-dropdown .dropdown-toggle .dropdown-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.custom-dropdown .dropdown-toggle .dropdown-arrow {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease;
}
.custom-dropdown.open .dropdown-toggle .dropdown-arrow {
  transform: rotate(180deg);
}
.custom-dropdown.dropdown-icon-only {
  min-width: 0;
}
.custom-dropdown.dropdown-icon-only .dropdown-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  justify-content: center;
}
.custom-dropdown.dropdown-icon-only .dropdown-toggle .dropdown-label,
.custom-dropdown.dropdown-icon-only .dropdown-toggle .dropdown-text {
  display: none;
}
.custom-dropdown.dropdown-icon-only .dropdown-toggle .dropdown-trigger-icon {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}
.custom-dropdown.dropdown-icon-only .dropdown-toggle .dropdown-arrow {
  display: none;
}
.custom-dropdown.dropdown-icon-only .dropdown-menu {
  left: auto;
  right: 0;
  min-width: 200px;
}
.custom-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: rgba(20, 20, 31, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-height: 300px;
  overflow-y: auto;
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 1000;
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar {
  width: 4px;
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.3);
  border-radius: 2px;
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(163, 53, 238, 0.5);
}
.custom-dropdown .dropdown-item {
  width: 100%;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--ui-font-body);
  font-size: 13px;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
  transition: background var(--ui-transition-base), color var(--ui-transition-base);
  position: relative;
}
.custom-dropdown .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.custom-dropdown .dropdown-item.selected {
  background: rgba(163, 53, 238, 0.12);
  color: #fff;
}
.custom-dropdown .dropdown-item.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.custom-dropdown .dropdown-item .dropdown-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.custom-dropdown .dropdown-item .dropdown-item-text {
  flex: 1;
}
.custom-dropdown .dropdown-item .dropdown-count {
  margin-left: auto;
}
.custom-dropdown .dropdown-item .dropdown-check {
  font-size: 13px;
  color: var(--ui-primary);
  flex-shrink: 0;
}
.custom-dropdown.open .dropdown-toggle .dropdown-arrow {
  transform: rotate(180deg);
}
.custom-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .custom-dropdown {
    width: 100%;
    min-width: 100%;
  }
}

.guild-header {
  text-align: center;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}
.guild-header .guild-header-subtitle {
  font-size: 14px;
  display: block;
}
.guild-header .guild-header-subtitle span {
  background: rgba(255, 255, 255, 0.1);
  display: inline-block;
  margin-right: 6px;
  border-radius: 15px;
  padding: 0px 10px;
  font-weight: 700;
}
.guild-header .guild-realms {
  margin-bottom: var(--spacing-sm);
  display: block;
}
.guild-header .guild-count {
  font-size: 12px;
  background: var(--color-success);
  height: 20px;
  border-radius: 20px;
  padding: 5px 10px;
}
.guild-header h2 {
  color: var(--color-primary);
  font-size: 32px;
  text-transform: capitalize;
  position: relative;
}
.guild-header .guild-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
}
.guild-header .guild-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.guild-header .guild-stats .stat .stat-label {
  color: var(--color-text-light);
  font-size: 14px;
  text-transform: uppercase;
}
.guild-header .guild-stats .stat .stat-value {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
}

.roster-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.roster-controls .leaderboard-status {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  margin-right: auto;
}
.roster-controls .mini-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}
.roster-controls .mini-pagination .mini-pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 0px solid var(--color-border);
  border-radius: var(--border-radius);
  color: white;
  cursor: pointer;
  transition: var(--transition);
}
.roster-controls .mini-pagination .mini-pagination-btn i {
  font-size: 16px;
}
.roster-controls .mini-pagination .mini-pagination-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.roster-controls .mini-pagination .mini-pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.roster-controls .mini-pagination .mini-pagination-count {
  color: white;
  font-size: 14px;
  font-weight: 600;
  min-width: 80px;
  text-align: center;
}
@media (max-width: 768px) {
  .roster-controls #sort-dropdown-container,
  .roster-controls #class-dropdown-container {
    width: 100%;
  }
  .roster-controls .mini-pagination {
    width: 100%;
    justify-content: center;
    order: -1;
  }
}
@media (max-width: 500px) {
  .roster-controls #dungeon-dropdown-container {
    width: 100%;
  }
  .roster-controls .leaderboard-status {
    width: 100%;
    text-align: center;
    order: -1;
  }
}

.card.card-member {
  backdrop-filter: blur(2px);
}
.card.card-member:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}
.card.card-member .card-member-crown {
  position: absolute;
  left: -4px;
  top: -4px;
  font-size: 24px;
  color: #FFD700;
  transform: rotate(-25deg);
  z-index: 100;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.card.card-member .card-media {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px 10px 0 0;
}
.card.card-member .card-media .card-member-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: var(--color-primary);
  z-index: 1;
}
.card.card-member .card-media img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  border-radius: 10px 10px 0 0;
}
.card.card-member .card-member-level {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 10;
  height: 30px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
}
.card.card-member .card-member-level .card-member-ilvl {
  display: inline-flex;
  margin-left: 5px;
}
.card.card-member .card-member-magnify {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 10;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.card.card-member .card-member-magnify i {
  font-size: 14px;
}
.card.card-member .card-member-magnify:hover {
  background: rgba(0, 174, 255, 0.8);
  color: #fff;
  transform: scale(1.1);
  border-color: rgba(0, 174, 255, 0.5);
}
.card.card-member .card-body {
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.8);
  gap: 0;
  align-items: center;
}
.card.card-member .card-member-name {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.card.card-member .card-member-hero-talent {
  font-size: 9px;
  text-align: center;
  text-transform: uppercase;
  min-height: 11px;
}
.card.card-member .card-member-details {
  padding: 12px 0 12px;
}
.card.card-member .card-footer {
  padding: 0 0 10px;
  border-top: 0;
  display: flex;
  justify-content: center;
  background: transparent;
}
.card.card-member .card-member-realm {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  color: var(--color-text-light);
  text-transform: capitalize;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-member-details {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

.card-member-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  border-radius: 50%;
  cursor: pointer;
}
.card-member-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
}
.card-member-icon i {
  font-size: 14px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}
.card-member-icon:not(.is-loading) > i.la-spin {
  display: none;
}
.card-member-icon .card-member-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}
.card-member-icon .card-member-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: rgba(0, 0, 0, 0.95) transparent transparent transparent;
}
.card-member-icon:hover .card-member-tooltip, .card-member-icon:hover .tooltip {
  opacity: 1;
}

.character-equipment {
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.character-equipment h3 {
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  font-size: 24px;
  text-align: center;
}
.character-equipment .equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  flex: 1;
  overflow-y: auto;
  align-content: start;
}
.character-equipment .equipment-grid::-webkit-scrollbar {
  width: 8px;
}
.character-equipment .equipment-grid::-webkit-scrollbar-track {
  background: var(--color-bg);
  border-radius: 4px;
}
.character-equipment .equipment-grid::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}
.character-equipment .equipment-grid::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}
.character-equipment .equipment-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.character-equipment .equipment-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.character-equipment .equipment-item .item-icon-wrapper {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.character-equipment .equipment-item .item-icon-wrapper .item-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.character-equipment .equipment-item .item-icon-wrapper .item-icon-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-secondary);
}
.character-equipment .equipment-item .item-icon-wrapper .item-icon-fallback i {
  font-size: 28px;
  color: var(--color-text-light);
}
.character-equipment .equipment-item .equipment-slot {
  color: var(--color-text-light);
  font-size: 11px;
  font-weight: 500;
}
.character-equipment .equipment-item .equipment-details {
  width: 100%;
}
.character-equipment .equipment-item .equipment-details .item-name {
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
}
.character-equipment .equipment-item .equipment-details .item-level {
  font-size: 11px;
  color: var(--color-text-light);
  display: none;
}
.character-equipment .no-equipment {
  text-align: center;
  padding: var(--spacing-lg);
  color: var(--color-text-light);
}

.loading-spinner {
  text-align: center;
  padding: var(--spacing-xl);
}
.loading-spinner i {
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}
.loading-spinner p {
  color: var(--color-text-light);
}

.error-message {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-danger);
}
.error-message i {
  color: var(--color-danger);
  margin-bottom: var(--spacing-md);
}
.error-message p {
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  margin: 10px 0;
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
}
.pagination .pagination-info {
  color: white;
  font-size: 14px;
}
.pagination .pagination-buttons {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
  justify-content: center;
}
.pagination .pagination-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--spacing-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 0px solid var(--color-border);
  border-radius: var(--border-radius);
  color: var(--color-text);
  font-family: "Muli", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.pagination .pagination-btn i {
  font-size: 16px;
}
.pagination .pagination-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}
.pagination .pagination-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #000;
  font-weight: 700;
}
.pagination .pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pagination .pagination-btn:disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-border);
  color: var(--color-text);
}
.pagination .pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--color-text-light);
  font-size: 14px;
}
@media (max-width: 768px) {
  .pagination .pagination-info {
    font-size: 12px;
  }
  .pagination .pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 12px;
    padding: 0 8px;
  }
  .pagination .pagination-btn i {
    font-size: 14px;
  }
  .pagination .pagination-ellipsis {
    min-width: 36px;
    height: 36px;
  }
}

.character-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}
.character-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.character-modal .character-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(15px);
}
.character-modal .character-modal-wrapper {
  position: relative;
  max-width: 500px;
  max-height: 90vh;
  z-index: 1;
}
.character-modal .character-modal-content {
  position: relative;
  z-index: 10;
  animation: modal-slide-in 0.3s ease;
}
.character-modal .character-modal-close {
  position: absolute;
  top: -50px;
  left: 109px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s ease;
}
.character-modal .character-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.character-modal .character-modal-body {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 10px;
}
.character-modal .modal-character-card {
  position: relative;
  border-radius: 20px;
  backdrop-filter: blur(2px);
  width: 254px;
}
.character-modal .modal-character-card .guildmaster-crown {
  position: absolute;
  left: -4px;
  top: -4px;
  font-size: 24px;
  color: #FFD700;
  transform: rotate(-25deg);
  z-index: 100;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.character-modal .modal-character-card .modal-member-level {
  position: absolute;
  top: 10px;
  z-index: 10;
  height: 30px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  width: 100%;
}
.character-modal .modal-character-card .modal-member-level .modal-member-ilvl {
  display: inline-flex;
  margin-left: 5px;
}
.character-modal .modal-character-card .modal-avatar-container {
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-radius: 10px 10px 0px 0px;
}
.character-modal .modal-character-card .modal-avatar-container .modal-character-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  border-radius: 10px 10px 0px 0px;
}
.character-modal .modal-character-card .modal-member-header {
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  flex-direction: column;
}
.character-modal .modal-character-card .modal-member-header .modal-member-name {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.character-modal .modal-character-card .modal-member-header .modal-member-hero-talent {
  font-size: 9px;
  text-align: center;
  text-transform: uppercase;
}
.character-modal .modal-character-card .modal-member-details {
  padding: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row .modal-member-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  flex-shrink: 0;
  border-radius: 50%;
  cursor: pointer;
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row .modal-member-icon .icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row .modal-member-icon i {
  font-size: 14px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row .modal-member-icon .modal-icon-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row .modal-member-icon .modal-icon-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: rgba(0, 0, 0, 0.95) transparent transparent transparent;
}
.character-modal .modal-character-card .modal-member-details .modal-member-detail-row .modal-member-icon:hover .modal-icon-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(5px);
}
.character-modal .modal-character-card .modal-member-realm-badge-container {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}
.character-modal .modal-character-card .modal-member-realm-badge {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  color: var(--color-text-light);
  text-transform: capitalize;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
}
.character-modal .modal-character-card .modal-content-panes {
  position: relative;
  height: 300px;
}
.character-modal .modal-character-card .modal-content-pane {
  display: none;
  padding: 15px 5px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  overflow-y: auto;
}
.character-modal .modal-character-card .modal-content-pane::-webkit-scrollbar {
  width: 8px;
}
.character-modal .modal-character-card .modal-content-pane::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.character-modal .modal-character-card .modal-content-pane::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.character-modal .modal-character-card .modal-content-pane::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
.character-modal .modal-character-card .modal-content-pane.active {
  display: block;
}
.character-modal .modal-character-card .modal-content-pane h3 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
  text-align: center;
}
.character-modal .modal-tab-buttons-external {
  position: absolute;
  right: -55px;
  top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 15;
}
@media screen and (max-width: 440px) {
  .character-modal .modal-tab-buttons-external {
    right: -45px;
  }
}
.character-modal .modal-tab-btn {
  height: 50px;
  width: 50px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 0px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 35px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: relative;
}
@media screen and (max-width: 440px) {
  .character-modal .modal-tab-btn {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
}
.character-modal .modal-tab-btn i {
  display: block;
}
.character-modal .modal-tab-btn .modal-tab-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  text-transform: none;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}
.character-modal .modal-tab-btn .modal-tab-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: rgba(0, 0, 0, 0.95) transparent transparent transparent;
}
.character-modal .modal-tab-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.5);
}
.character-modal .modal-tab-btn:hover .modal-tab-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(5px);
}
.character-modal .modal-tab-btn.active {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 0, 0, 0.8);
  color: rgba(0, 174, 255, 0.8);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
}
@media (max-width: 767px) {
  .character-modal .modal-tab-btn .modal-tab-tooltip {
    display: none;
  }
}
.character-modal .modal-character-card .modal-equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.character-modal .modal-character-card .modal-equipment-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  aspect-ratio: 1;
}
.character-modal .modal-character-card .modal-equipment-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  position: relative;
  z-index: 1;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon i {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 0;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon .modal-item-slot-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.9);
  font-size: 8px;
  font-weight: 600;
  text-align: center;
  padding: 2px 1px;
  text-transform: uppercase;
  border-radius: 4px 4px 0 0;
  z-index: 10;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon .modal-item-ilvl-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #FFD700;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 2px 4px;
  border-radius: 0 0 4px 4px;
  z-index: 10;
  display: none;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon .item-socket-indicator {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: help;
  top: 2px;
  right: 2px;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon .item-socket-indicator i {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon .item-socket-indicator.empty {
  background: rgba(220, 20, 60, 0.9);
  border-color: rgba(255, 50, 50, 0.8);
  animation: pulse-warning 2s infinite;
}
.character-modal .modal-character-card .modal-equipment-item .modal-item-icon .item-socket-indicator.empty i {
  color: white;
}
@keyframes pulse-warning {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.character-modal .modal-character-card .no-equipment {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.5);
}
.character-modal .modal-character-card .no-equipment p {
  font-size: 14px;
}
.character-modal .modal-character-card .enchants-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.character-modal .modal-character-card .enchant-row {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.character-modal .modal-character-card .enchant-row .enchant-slot-name {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-weight: 500;
  min-width: 80px;
  padding-top: 2px;
  flex-shrink: 0;
}
.character-modal .modal-character-card .enchant-row .enchant-socket-container {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.character-modal .modal-character-card .enchant-row .enchant-status,
.character-modal .modal-character-card .enchant-row .socket-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
}
.character-modal .modal-character-card .enchant-row .enchant-status i,
.character-modal .modal-character-card .enchant-row .socket-status i {
  font-size: 12px;
  flex-shrink: 0;
}
.character-modal .modal-character-card .enchant-row .enchant-status.enchanted i, .character-modal .modal-character-card .enchant-row .enchant-status.socketed i,
.character-modal .modal-character-card .enchant-row .socket-status.enchanted i,
.character-modal .modal-character-card .enchant-row .socket-status.socketed i {
  color: #00ff00;
}
.character-modal .modal-character-card .enchant-row .enchant-status .enchant-name,
.character-modal .modal-character-card .enchant-row .enchant-status .socket-name,
.character-modal .modal-character-card .enchant-row .socket-status .enchant-name,
.character-modal .modal-character-card .enchant-row .socket-status .socket-name {
  white-space: normal;
  line-height: 1.3;
  color: #00b4ff;
}
.character-modal .modal-character-card .enchant-row .enchant-status .socket-label,
.character-modal .modal-character-card .enchant-row .socket-status .socket-label {
  color: rgba(255, 255, 255, 0.9);
}
.character-modal .modal-character-card .enchant-row .enchant-status.missing,
.character-modal .modal-character-card .enchant-row .socket-status.missing {
  color: rgba(255, 100, 100, 0.9);
  animation: pulse-warning 2s infinite;
}
.character-modal .modal-character-card .enchant-row .enchant-status.empty-socket,
.character-modal .modal-character-card .enchant-row .socket-status.empty-socket {
  color: rgba(255, 100, 100, 0.9);
  animation: pulse-warning 2s infinite;
}
.character-modal .modal-character-card .no-enchants {
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.5);
}
.character-modal .modal-character-card .no-enchants p {
  font-size: 12px;
}
.character-modal .modal-character-card .modal-raid-progress .raids-flat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.character-modal .modal-character-card .modal-raid-progress .raid-expansion-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.character-modal .modal-character-card .modal-raid-progress .raid-expansion-section .expansion-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  margin: 0;
  text-align: center;
}
.character-modal .modal-character-card .modal-raid-progress .raid-expansion-section .raid-expansion-raids {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance.has-background {
  background-color: rgba(0, 0, 0, 0.5);
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-content {
  position: relative;
  z-index: 2;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-content .raid-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 8px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty:last-child {
  margin-bottom: 0;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty .difficulty-label {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  min-width: 50px;
  text-align: right;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty .progress-bar-container {
  flex: 1;
  height: 3px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  overflow: hidden;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty .progress-bar-container .progress-bar {
  height: 100%;
  transition: width 0.3s ease;
  border-radius: 4px;
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty .progress-bar-container .progress-bar:not(.complete) {
  mask-image: linear-gradient(to right, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 60%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to right, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 60%, rgba(0, 0, 0, 0) 100%);
}
.character-modal .modal-character-card .modal-raid-progress .raid-instance .raid-difficulty .difficulty-count {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  min-width: 35px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.character-modal .modal-character-card .modal-raid-progress .no-raid-data {
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.5);
}
.character-modal .modal-character-card .modal-raid-progress .no-raid-data p {
  font-size: 12px;
}
.character-modal .modal-character-card .modal-mythic-plus .mythic-plus-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.character-modal .modal-character-card .modal-mythic-plus .mythic-plus-rating .rating-label {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.character-modal .modal-character-card .modal-mythic-plus .mythic-plus-rating .rating-value {
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.character-modal .modal-character-card .modal-mythic-plus .dungeons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.character-modal .modal-character-card .modal-mythic-plus .dungeon-instance {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.character-modal .modal-character-card .modal-mythic-plus .dungeon-instance:hover {
  transform: translateX(2px);
  border-color: rgba(255, 255, 255, 0.2);
}
.character-modal .modal-character-card .modal-mythic-plus .dungeon-instance.has-background {
  background-color: rgba(0, 0, 0, 0.5);
}
.character-modal .modal-character-card .modal-mythic-plus .dungeon-instance .dungeon-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}
.character-modal .modal-character-card .modal-mythic-plus .dungeon-instance .dungeon-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.character-modal .modal-character-card .modal-mythic-plus .dungeon-instance .dungeon-content .dungeon-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.character-modal .modal-character-card .modal-mythic-plus .dungeon-instance .dungeon-content .dungeon-name .dungeon-time {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  font-variant-numeric: tabular-nums;
}
.character-modal .modal-character-card .modal-mythic-plus .dungeon-instance .dungeon-content .dungeon-key-level {
  font-size: 14px;
  font-weight: 700;
  min-width: 36px;
  text-align: center;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.character-modal .modal-character-card .modal-mythic-plus .dungeon-instance .dungeon-content .dungeon-key-level.mythic-badge-high {
  background: linear-gradient(135deg, rgba(255, 128, 0, 0.3), rgba(255, 80, 0, 0.2));
  color: #ff8000;
  border: 1px solid rgba(255, 128, 0, 0.4);
}
.character-modal .modal-character-card .modal-mythic-plus .dungeon-instance .dungeon-content .dungeon-key-level.mythic-badge-mid {
  background: linear-gradient(135deg, rgba(163, 53, 238, 0.3), rgba(138, 43, 226, 0.2));
  color: #a335ee;
  border: 1px solid rgba(163, 53, 238, 0.4);
}
.character-modal .modal-character-card .modal-mythic-plus .dungeon-instance .dungeon-content .dungeon-key-level.mythic-badge-low {
  background: linear-gradient(135deg, rgba(0, 112, 221, 0.3), rgba(0, 90, 180, 0.2));
  color: #0070dd;
  border: 1px solid rgba(0, 112, 221, 0.4);
}
.character-modal .modal-character-card .modal-mythic-plus .no-mythic-data {
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.5);
}
.character-modal .modal-character-card .modal-mythic-plus .no-mythic-data p {
  font-size: 12px;
}

@keyframes modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-overlay.char-inspect-overlay {
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.35);
  background-blend-mode: multiply;
  backdrop-filter: none;
}
.modal-overlay.char-inspect-overlay::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.5) 65%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 0;
}

.char-inspect-modal {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.char-inspect {
  position: relative;
  display: grid;
  grid-template-columns: 528px 1fr;
  gap: 24px;
  height: 504px;
}
@media (max-width: 900px) {
  .char-inspect {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: auto;
  }
}

.char-inspect-portrait {
  display: grid;
  grid-template-columns: 56px 400px 56px;
  gap: 8px;
  justify-content: center;
}

.char-inspect-gear-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.char-inspect-frame {
  position: relative;
  width: 400px;
  height: 504px;
  overflow: hidden;
  border-radius: 8px;
  background: radial-gradient(ellipse at center, rgba(163, 53, 238, 0.08) 0%, rgba(0, 0, 0, 0.6) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.char-inspect-frame > img {
  width: 100%;
  height: auto;
  transform: scale(2.8);
  transform-origin: center 55%;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
  pointer-events: none;
}

.char-inspect-weapons {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 3;
}

.char-inspect-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding-right: 4px;
}

.char-inspect-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 14px;
}

.char-inspect-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.char-inspect-name-row .card-member-details {
  justify-content: flex-start;
  gap: 6px;
}
.char-inspect-name-row .card-member-details .card-member-icon {
  width: 24px;
  height: 24px;
}
.char-inspect-name-row .card-member-details .card-member-icon img {
  width: 24px;
  height: 24px;
}
.char-inspect-name-row .char-inspect-name {
  font-family: "Muli", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
}
.char-inspect-name-row .char-inspect-realm {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  margin-left: 8px;
  vertical-align: middle;
}

.char-inspect-stats-inline {
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.char-inspect-stats-inline .char-inspect-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.char-inspect-stats-inline .char-inspect-stat .char-inspect-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.char-inspect-stats-inline .char-inspect-stat .char-inspect-stat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

.char-inspect-tabs {
  margin-bottom: 14px;
}

.char-inspect-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
}
.char-inspect-body::-webkit-scrollbar {
  width: 6px;
}
.char-inspect-body::-webkit-scrollbar-track {
  background: transparent;
}
.char-inspect-body::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.3);
  border-radius: 3px;
}
.char-inspect-body::-webkit-scrollbar-thumb:hover {
  background: rgba(163, 53, 238, 0.5);
}

.char-inspect-warnings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.char-inspect-tabs {
  margin-bottom: 14px;
}

.char-inspect-modal .modal-mythic-plus > h3,
.char-inspect-modal .modal-mythic-plus .mythic-plus-rating {
  display: none;
}
.char-inspect-modal .modal-mythic-plus .dungeons-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.char-inspect-modal .modal-mythic-plus .dungeon-instance {
  position: relative;
  height: 90px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(0, 0, 0, 0.45);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.char-inspect-modal .modal-mythic-plus .dungeon-instance:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.18);
}
.char-inspect-modal .modal-mythic-plus .dungeon-instance .dungeon-background-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.char-inspect-modal .modal-mythic-plus .dungeon-instance .dungeon-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding: 10px;
  height: 100%;
  gap: 4px;
}
.char-inspect-modal .modal-mythic-plus .dungeon-instance .dungeon-key-level {
  align-self: flex-end;
  font-size: 14px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  min-width: 36px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.char-inspect-modal .modal-mythic-plus .dungeon-instance .dungeon-key-level.mythic-badge-high {
  background: linear-gradient(135deg, rgba(255, 128, 0, 0.35), rgba(255, 80, 0, 0.18));
  color: #ff8000;
  border-color: rgba(255, 128, 0, 0.5);
  box-shadow: 0 0 8px rgba(255, 128, 0, 0.3);
}
.char-inspect-modal .modal-mythic-plus .dungeon-instance .dungeon-key-level.mythic-badge-mid {
  background: linear-gradient(135deg, rgba(163, 53, 238, 0.35), rgba(138, 43, 226, 0.18));
  color: #a335ee;
  border-color: rgba(163, 53, 238, 0.5);
  box-shadow: 0 0 8px rgba(163, 53, 238, 0.3);
}
.char-inspect-modal .modal-mythic-plus .dungeon-instance .dungeon-key-level.mythic-badge-low {
  background: linear-gradient(135deg, rgba(0, 112, 221, 0.35), rgba(0, 90, 180, 0.18));
  color: #0070dd;
  border-color: rgba(0, 112, 221, 0.5);
}
.char-inspect-modal .modal-mythic-plus .dungeon-instance .dungeon-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
  line-height: 1.2;
}
.char-inspect-modal .modal-mythic-plus .dungeon-instance .dungeon-name .dungeon-time {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.char-inspect-modal .modal-raid-progress > h3 {
  display: none;
}
.char-inspect-modal .modal-raid-progress .raid-expansion-raids {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.char-inspect-modal .modal-raid-progress .raid-instance {
  position: relative;
  min-height: 88px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(0, 0, 0, 0.45);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.char-inspect-modal .modal-raid-progress .raid-instance:hover {
  border-color: rgba(255, 255, 255, 0.18);
}
.char-inspect-modal .modal-raid-progress .raid-instance .raid-background-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.char-inspect-modal .modal-raid-progress .raid-instance .raid-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}
.char-inspect-modal .modal-raid-progress .raid-instance .raid-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: left;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
  line-height: 1.2;
}
.char-inspect-modal .modal-raid-progress .raid-instance .raid-difficulty {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.char-inspect-modal .modal-raid-progress .raid-instance .raid-difficulty .difficulty-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.char-inspect-modal .modal-raid-progress .raid-instance .raid-difficulty .progress-bar-container {
  flex: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.char-inspect-modal .modal-raid-progress .raid-instance .raid-difficulty .progress-bar-container .progress-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}
.char-inspect-modal .modal-raid-progress .raid-instance .raid-difficulty .progress-bar-container .progress-bar:not(.complete) {
  mask-image: none;
  -webkit-mask-image: none;
}
.char-inspect-modal .modal-raid-progress .raid-instance .raid-difficulty .progress-bar-container .progress-bar.complete {
  box-shadow: 0 0 6px currentColor;
}
.char-inspect-modal .modal-raid-progress .raid-instance .raid-difficulty .difficulty-count {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
.char-inspect-modal .modal-raid-progress .expansion-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  padding: 0 !important;
  text-align: left !important;
  margin: 10px 0 6px !important;
}

.char-inspect-warning {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 171, 0, 0.1);
  border: 1px solid rgba(255, 171, 0, 0.3);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #ffab00;
}
.char-inspect-warning i {
  font-size: 13px;
}

.char-inspect-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.char-inspect-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  font-size: 12px;
}
.char-inspect-info-row .char-inspect-info-label {
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10px;
  font-weight: 700;
}
.char-inspect-info-row .char-inspect-info-value {
  color: #fff;
  font-weight: 600;
}

.char-mplus-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.char-mplus-overview .card {
  padding: 14px;
  text-align: center;
  align-items: center;
}
.char-mplus-overview .card .char-mplus-value {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.char-mplus-overview .card .char-mplus-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}

.char-mplus-dungeons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.char-mplus-dungeons .card {
  flex-direction: row;
  align-items: center;
  padding: 10px 14px;
  gap: 12px;
}
.char-mplus-dungeons .card .char-mplus-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.char-mplus-dungeons .card .char-mplus-name {
  flex: 1;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}
.char-mplus-dungeons .card .char-mplus-time {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  min-width: 48px;
  text-align: right;
}

.char-raid-tiers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card.char-raid-tier {
  overflow: hidden;
}
.card.char-raid-tier .char-raid-banner {
  position: relative;
  height: 80px;
  background-size: cover;
  background-position: center;
}
.card.char-raid-tier .char-raid-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.85) 100%);
}
.card.char-raid-tier .char-raid-banner-content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 10px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.card.char-raid-tier .char-raid-banner-content .char-raid-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
.card.char-raid-tier .char-raid-banner-content .char-raid-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.card.char-raid-tier .char-raid-difficulties {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 14px;
}
.card.char-raid-tier .char-raid-difficulty {
  text-align: center;
  padding: 6px;
}
.card.char-raid-tier .char-raid-difficulty .char-raid-kills {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.card.char-raid-tier .char-raid-difficulty .char-raid-diff-name {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}
.card.char-raid-tier .char-raid-difficulty.is-complete .char-raid-kills {
  color: #10b981;
}

.char-activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  margin-bottom: 6px;
}
.char-activity-item .char-activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(163, 53, 238, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a335ee;
  font-size: 16px;
  flex-shrink: 0;
}
.char-activity-item .char-activity-title {
  flex: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.char-activity-item .char-activity-meta {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.form-modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--ui-space-3);
}
.form-modal-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.form-modal-form .form-group > label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-modal-form .form-group small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.form-modal-form .form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-modal-form .form-checkbox input[type=checkbox] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #a335ee;
}
.form-modal-form .form-checkbox label {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  text-transform: none;
  letter-spacing: 1.5px;
  cursor: pointer;
  user-select: none;
}
.form-modal-form .field-status {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.form-modal-form .field-status.loading {
  color: #a335ee;
}
.form-modal-form .field-status.success {
  color: #10b981;
}
.form-modal-form .field-status.error {
  color: #ff4444;
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}
.video-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal .video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(15px);
  cursor: pointer;
}
.video-modal .video-modal-content {
  position: relative;
  max-width: 1200px;
  width: 90%;
  z-index: 1;
  animation: modal-slide-in 0.3s ease;
}
.video-modal .video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s ease;
}
.video-modal .video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.video-modal .video-modal-body {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
}
.video-modal .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}
.video-modal .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .video-modal .video-modal-content {
    width: 95%;
    max-width: 95%;
  }
  .video-modal .video-modal-close {
    top: -45px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
}
/**
 * Custom WoW-Style Tooltips
 * Mimics Wowhead tooltip appearance
 */
.wow-tooltip {
  background: linear-gradient(to bottom, #1a1a1a 0%, #0d0d0d 100%);
  border: 1px solid #6b5d45;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9), inset 0 0 10px rgba(0, 0, 0, 0.5);
  padding: 8px 10px;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #ffd100;
  max-width: 320px;
  min-width: 180px;
}
.wow-tooltip::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  border: 1px solid rgba(0, 0, 0, 0.8);
  border-radius: 1px;
  pointer-events: none;
}
.wow-tooltip .tooltip-header {
  margin-bottom: 4px;
}
.wow-tooltip .tooltip-header .tooltip-name {
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 0 2px rgb(0, 0, 0);
}
.wow-tooltip .tooltip-header .tooltip-name.spell-name {
  color: #ffd100;
}
.wow-tooltip .tooltip-item-level {
  color: #ffd100;
  font-size: 11px;
  margin-bottom: 4px;
}
.wow-tooltip .tooltip-binding {
  color: #ffffff;
  font-size: 11px;
  margin-bottom: 2px;
}
.wow-tooltip .tooltip-slot {
  color: #ffffff;
  font-size: 11px;
  margin-bottom: 2px;
}
.wow-tooltip .tooltip-subclass {
  color: #ffffff;
  font-size: 11px;
  margin-bottom: 3px;
}
.wow-tooltip .tooltip-weapon-damage {
  color: #ffffff;
  font-size: 11px;
  margin: 3px 0 1px 0;
  font-weight: 600;
}
.wow-tooltip .tooltip-weapon-speed {
  color: #ffffff;
  font-size: 11px;
  margin: 1px 0;
}
.wow-tooltip .tooltip-weapon-dps {
  color: #ffffff;
  font-size: 11px;
  margin: 1px 0 3px 0;
}
.wow-tooltip .tooltip-armor {
  color: #ffffff;
  font-size: 11px;
  margin: 3px 0;
  font-weight: 600;
}
.wow-tooltip .tooltip-description {
  color: #ffd100;
  font-size: 11px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(107, 93, 69, 0.5);
  line-height: 1.3;
}
.wow-tooltip .tooltip-description.spell-description {
  color: #ffd100;
  border-top: none;
  padding-top: 0;
}
.wow-tooltip .tooltip-stats {
  color: #ffffff;
  font-size: 11px;
  margin: 4px 0;
}
.wow-tooltip .tooltip-stats .tooltip-stat {
  margin: 1px 0;
  color: #1eff00;
}
.wow-tooltip .tooltip-stats .stat-line {
  margin: 1px 0;
  color: #1eff00;
}
.wow-tooltip .tooltip-stats .stat-line.socket {
  color: #ffd100;
}
.wow-tooltip .tooltip-durability {
  color: #ffffff;
  font-size: 11px;
  margin: 3px 0;
}
.wow-tooltip .tooltip-spell-effect {
  color: #ffd100;
  font-size: 11px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(107, 93, 69, 0.5);
  line-height: 1.3;
}
.wow-tooltip .tooltip-requirements {
  color: #ffffff;
  font-size: 11px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(107, 93, 69, 0.5);
}
.wow-tooltip .tooltip-flavor {
  color: #ffd100;
  font-style: italic;
  font-size: 11px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(107, 93, 69, 0.5);
}
.wow-tooltip .tooltip-sell-price {
  color: #ffffff;
  font-size: 10px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(107, 93, 69, 0.5);
}
.wow-tooltip .tooltip-sell-price .gold {
  color: #ffd700;
}
.wow-tooltip .tooltip-sell-price .gold::after {
  content: "g";
  font-size: 10px;
  margin-left: 1px;
}
.wow-tooltip .tooltip-sell-price .silver {
  color: #c0c0c0;
}
.wow-tooltip .tooltip-sell-price .silver::after {
  content: "s";
  font-size: 10px;
  margin-left: 1px;
}
.wow-tooltip .tooltip-sell-price .copper {
  color: #cd7f32;
}
.wow-tooltip .tooltip-sell-price .copper::after {
  content: "c";
  font-size: 10px;
  margin-left: 1px;
}
.wow-tooltip .tooltip-cast-time,
.wow-tooltip .tooltip-range,
.wow-tooltip .tooltip-cooldown,
.wow-tooltip .tooltip-power-cost {
  color: #ffffff;
  font-size: 11px;
  margin: 2px 0;
}
.wow-tooltip .quality-0 {
  color: #9d9d9d;
}
.wow-tooltip .quality-1 {
  color: #ffffff;
}
.wow-tooltip .quality-2 {
  color: #1eff00;
}
.wow-tooltip .quality-3 {
  color: #0070dd;
}
.wow-tooltip .quality-4 {
  color: #a335ee;
}
.wow-tooltip .quality-5 {
  color: #ff8000;
}
.wow-tooltip .quality-6 {
  color: #e6cc80;
}
.wow-tooltip .quality-7 {
  color: #00ccff;
}
.wow-tooltip .tooltip-enchant {
  color: #00ff00;
  font-size: 12px;
  margin: 4px 0;
}
.wow-tooltip .tooltip-enchant-stats {
  color: #1eff00;
  font-size: 11px;
  margin: 4px 0;
  font-weight: 600;
}
.wow-tooltip .tooltip-enchant-type {
  color: #ffd100;
  font-size: 11px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(107, 93, 69, 0.5);
  font-style: italic;
}
.wow-tooltip .tooltip-socket {
  color: #ffd100;
  font-size: 12px;
  margin: 4px 0;
}
.wow-tooltip .tooltip-socket .socket-bonus {
  color: #00ff00;
  margin-left: 4px;
}

@keyframes tooltip-fade-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wow-tooltip {
  animation: tooltip-fade-in 0.15s ease-out;
}

.card-member-icon:hover > .tooltip,
.equip-slot-badge:hover > .tooltip,
.cs-tooltip-demo:hover > .tooltip,
[data-tooltip-parent]:hover > .tooltip {
  opacity: 1;
}
.card-member-icon > .tooltip,
.equip-slot-badge > .tooltip,
.cs-tooltip-demo > .tooltip,
[data-tooltip-parent] > .tooltip {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 1.5px;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}
.card-member-icon > .tooltip::after,
.equip-slot-badge > .tooltip::after,
.cs-tooltip-demo > .tooltip::after,
[data-tooltip-parent] > .tooltip::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}
.card-member-icon > .tooltip.tooltip-s,
.equip-slot-badge > .tooltip.tooltip-s,
.cs-tooltip-demo > .tooltip.tooltip-s,
[data-tooltip-parent] > .tooltip.tooltip-s {
  font-size: 10px;
  padding: 4px 8px;
}
.card-member-icon > .tooltip.tooltip-m,
.equip-slot-badge > .tooltip.tooltip-m,
.cs-tooltip-demo > .tooltip.tooltip-m,
[data-tooltip-parent] > .tooltip.tooltip-m {
  font-size: 11px;
  padding: 5px 10px;
}
.card-member-icon > .tooltip.tooltip-l,
.equip-slot-badge > .tooltip.tooltip-l,
.cs-tooltip-demo > .tooltip.tooltip-l,
[data-tooltip-parent] > .tooltip.tooltip-l {
  font-size: 13px;
  padding: 8px 16px;
}
.card-member-icon > .tooltip.tooltip-top,
.equip-slot-badge > .tooltip.tooltip-top,
.cs-tooltip-demo > .tooltip.tooltip-top,
[data-tooltip-parent] > .tooltip.tooltip-top {
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
}
.card-member-icon > .tooltip.tooltip-top::after,
.equip-slot-badge > .tooltip.tooltip-top::after,
.cs-tooltip-demo > .tooltip.tooltip-top::after,
[data-tooltip-parent] > .tooltip.tooltip-top::after {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-color: rgba(0, 0, 0, 0.95) transparent transparent transparent;
}
.card-member-icon > .tooltip.tooltip-bottom,
.equip-slot-badge > .tooltip.tooltip-bottom,
.cs-tooltip-demo > .tooltip.tooltip-bottom,
[data-tooltip-parent] > .tooltip.tooltip-bottom {
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
}
.card-member-icon > .tooltip.tooltip-bottom::after,
.equip-slot-badge > .tooltip.tooltip-bottom::after,
.cs-tooltip-demo > .tooltip.tooltip-bottom::after,
[data-tooltip-parent] > .tooltip.tooltip-bottom::after {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent rgba(0, 0, 0, 0.95) transparent;
}
.card-member-icon > .tooltip.tooltip-left,
.equip-slot-badge > .tooltip.tooltip-left,
.cs-tooltip-demo > .tooltip.tooltip-left,
[data-tooltip-parent] > .tooltip.tooltip-left {
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
}
.card-member-icon > .tooltip.tooltip-left::after,
.equip-slot-badge > .tooltip.tooltip-left::after,
.cs-tooltip-demo > .tooltip.tooltip-left::after,
[data-tooltip-parent] > .tooltip.tooltip-left::after {
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.95);
}
.card-member-icon > .tooltip.tooltip-right,
.equip-slot-badge > .tooltip.tooltip-right,
.cs-tooltip-demo > .tooltip.tooltip-right,
[data-tooltip-parent] > .tooltip.tooltip-right {
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
}
.card-member-icon > .tooltip.tooltip-right::after,
.equip-slot-badge > .tooltip.tooltip-right::after,
.cs-tooltip-demo > .tooltip.tooltip-right::after,
[data-tooltip-parent] > .tooltip.tooltip-right::after {
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 6px 6px 0;
  border-color: transparent rgba(0, 0, 0, 0.95) transparent transparent;
}

.banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease;
}
.banner > i {
  font-size: 16px;
  flex-shrink: 0;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.banner-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  flex-shrink: 0;
}

.banner-message {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.banner-body {
  display: inline-flex;
  align-items: center;
  gap: inherit;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: opacity 0.2s ease;
}
.banner-body:hover {
  opacity: 0.85;
}

.banner-link {
  text-decoration: none;
  font-weight: 600;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.banner-link:hover {
  opacity: 0.8;
}

.banner-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0 4px;
  font-size: 14px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.banner-close:hover {
  color: #fff;
}

.banner-inline {
  border-radius: 30px;
  max-width: 100%;
  margin: 0 auto 24px;
}
@media (max-width: 600px) {
  .banner-inline .banner-message {
    max-width: 180px;
  }
}

.banner-full {
  border-radius: 8px;
  width: 100%;
  justify-content: center;
}

.banner-s {
  padding: 6px 14px;
  font-size: 12px;
  gap: 8px;
}
.banner-s > i {
  font-size: 14px;
}
.banner-s .banner-label {
  font-size: 9px;
}

.banner-m {
  padding: 10px 18px;
}

.banner-l {
  padding: 14px 24px;
  font-size: 15px;
  gap: 12px;
}
.banner-l > i {
  font-size: 20px;
}
.banner-l .banner-label {
  font-size: 11px;
}

.banner-onbrand {
  background: rgba(163, 53, 238, 0.12);
  border: 1px solid rgba(163, 53, 238, 0.3);
}
.banner-onbrand > i {
  color: #a335ee;
}
.banner-onbrand .banner-label {
  color: #a335ee;
}
.banner-onbrand .banner-link {
  color: #a335ee;
}

.banner-info {
  background: rgba(20, 142, 255, 0.12);
  border: 1px solid rgba(20, 142, 255, 0.3);
}
.banner-info > i {
  color: #148eff;
}
.banner-info .banner-label {
  color: #148eff;
}
.banner-info .banner-link {
  color: #148eff;
}

.banner-warning {
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.3);
}
.banner-warning > i {
  color: #f5a623;
}
.banner-warning .banner-label {
  color: #f5a623;
}
.banner-warning .banner-link {
  color: #f5a623;
}

.banner-alert {
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.3);
}
.banner-alert > i {
  color: #e74c3c;
}
.banner-alert .banner-label {
  color: #e74c3c;
}
.banner-alert .banner-link {
  color: #e74c3c;
}

.banner-success {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.3);
}
.banner-success > i {
  color: #2ecc71;
}
.banner-success .banner-label {
  color: #2ecc71;
}
.banner-success .banner-link {
  color: #2ecc71;
}

.season-status-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.season-date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.season-date i {
  font-size: 14px;
  color: #FF7D0A;
  animation: flicker 2s infinite;
}

@keyframes flicker {
  0%, 100% {
    opacity: 1;
    filter: brightness(1);
  }
  10% {
    opacity: 0.8;
    filter: brightness(0.9);
  }
  20% {
    opacity: 1;
    filter: brightness(1.1);
  }
  30% {
    opacity: 0.7;
    filter: brightness(0.85);
  }
  40% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.9;
    filter: brightness(0.95);
  }
  60% {
    opacity: 1;
    filter: brightness(1.05);
  }
  70% {
    opacity: 0.85;
    filter: brightness(0.9);
  }
  80% {
    opacity: 1;
    filter: brightness(1);
  }
  90% {
    opacity: 0.9;
    filter: brightness(0.95);
  }
}
.status-success {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: rgb(134, 239, 172);
  font-size: 11px;
  padding: 8px 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
  transition: all 0.2s ease;
}
.status-success:hover {
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.status-alert {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: rgb(253, 224, 71);
  font-size: 11px;
  padding: 8px 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15);
  transition: all 0.2s ease;
}
.status-alert:hover {
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.25);
}

.status-danger {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: rgb(252, 165, 165);
  font-size: 11px;
  padding: 8px 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
  transition: all 0.2s ease;
}
.status-danger:hover {
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.status-info {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.3));
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: rgb(167, 213, 255);
  font-size: 11px;
  padding: 8px 16px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
  transition: all 0.2s ease;
}
.status-info:hover {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.class-stats-section {
  margin: 40px 0 30px 0;
}
.class-stats-section h3 {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}
.class-stats-section h3 .meta-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}
.class-stats-section .role-stats-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.class-stats-section .role-stats-section {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.class-stats-section .role-stats-title {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.class-stats-section .role-stats-title i {
  font-size: 18px;
  color: var(--color-primary);
}
.class-stats-section .role-stats-title .role-total {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  margin-left: auto;
}
.class-stats-section .class-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}
.class-stats-section .class-stat-item {
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.class-stats-section .class-stat-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transition: width 0.3s ease;
  opacity: 0.3;
  border-radius: 6px;
}
.class-stats-section .class-stat-info {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.class-stats-section .class-stat-name {
  font-weight: 600;
  font-size: 14px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}
.class-stats-section .class-stat-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.class-stats-section .class-stat-value {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.class-stats-section .class-stat-count {
  font-size: 12px;
  opacity: 0.7;
  font-weight: 400;
}
@media (max-width: 768px) {
  .class-stats-section .class-stats-grid {
    grid-template-columns: 1fr;
  }
}

.meta-showcase {
  padding: 10px 0px;
  text-align: center;
  max-width: 700px;
  margin: auto;
  margin-bottom: 20px;
}
.meta-showcase .meta-showcase-title {
  color: var(--color-primary);
  font-size: 12px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.meta-showcase .meta-showcase-icons {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}
.meta-showcase .meta-icon-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: slideUpFade 0.6s ease-out backwards;
}
.meta-showcase .meta-icon-wrapper:nth-child(1) {
  animation-delay: 0.1s;
}
.meta-showcase .meta-icon-wrapper:nth-child(2) {
  animation-delay: 0.2s;
}
.meta-showcase .meta-icon-wrapper:nth-child(3) {
  animation-delay: 0.3s;
}
.meta-showcase .meta-icon-wrapper:nth-child(4) {
  animation-delay: 0.4s;
}
.meta-showcase .meta-icon-wrapper:nth-child(5) {
  animation-delay: 0.5s;
}
.meta-showcase .meta-percentage {
  position: absolute;
  bottom: -4px;
  left: -6px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 10px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.meta-showcase .meta-class-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}
@media (max-width: 420px) {
  .meta-showcase .meta-class-icon {
    width: 44px;
    height: 44px;
  }
}
.meta-showcase .meta-class-icon:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
}
.meta-showcase .meta-spec-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.8);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 2;
}
@media (max-width: 420px) {
  .meta-showcase .meta-spec-badge {
    right: -12px;
  }
}
.meta-showcase .meta-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  text-transform: lowercase;
  transition: all 0.2s ease;
  cursor: pointer;
}
.meta-showcase .meta-view-all i {
  font-size: 14px;
  transition: transform 0.2s ease;
}
.meta-showcase .meta-view-all:hover {
  color: #fff;
}
.meta-showcase .meta-view-all:hover i {
  transform: translateY(2px);
}
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-header-panel {
  position: relative;
  margin-bottom: 24px;
  padding: 20px 0;
}
.page-header-panel .page-header-content {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.page-header-panel .page-header-text {
  flex: 1;
  min-width: 0;
}
.page-header-panel .page-header-text h1 {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 6px 0;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: linear-gradient(180deg, #fff 0%, transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-header-panel .page-header-text .page-header-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  line-height: 1.5;
  max-width: 560px;
}
.page-header-panel .page-header-border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-header-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a335ee;
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid rgba(163, 53, 238, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.page-header-hero {
  text-align: center;
  padding: 40px 20px 30px;
}
.page-header-hero h1 {
  margin: 0 0 16px 0;
  font-size: 35px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.2;
  background: linear-gradient(180deg, #fff 0%, transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}
.page-header-hero .page-header-subtitle {
  margin: 0 auto;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
.page-header-hero .page-header-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ui-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}
.page-header-hero .page-header-link i {
  font-size: 14px;
}
.page-header-hero .page-header-link:hover {
  color: #fff;
}
.page-header-hero .page-header-action {
  margin-top: 20px;
}
@media (max-width: 768px) {
  .page-header-hero {
    padding: 30px 16px 24px;
  }
  .page-header-hero h1 {
    font-size: 32px;
  }
  .page-header-hero .page-header-subtitle {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .page-header-panel {
    padding: 16px 0;
    margin-bottom: 20px;
  }
  .page-header-panel .page-header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .page-header-panel .page-header-text {
    text-align: center;
  }
  .page-header-panel .page-header-text h1 {
    font-size: 20px;
  }
  .page-header-panel .page-header-text .page-header-desc {
    max-width: none;
  }
}
@media (max-width: 480px) {
  .page-header-panel .page-header-text h1 {
    font-size: 18px;
  }
}
.fire-effect {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.fire-effect::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(163, 53, 238, 0.12) 0%, rgba(163, 53, 238, 0.04) 40%, transparent 100%);
}
.fire-effect .cinders {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
}
.fire-effect .cinder {
  position: absolute;
  bottom: 10px;
  width: 3px;
  height: 3px;
  background: #a335ee;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 4px 1px rgba(163, 53, 238, 0.5);
  animation: rise 3s ease-out infinite;
}
.fire-effect .cinder:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.fire-effect .cinder:nth-child(2) {
  left: 25%;
  animation-delay: 0.5s;
}
.fire-effect .cinder:nth-child(3) {
  left: 40%;
  animation-delay: 1s;
}
.fire-effect .cinder:nth-child(4) {
  left: 55%;
  animation-delay: 1.5s;
}
.fire-effect .cinder:nth-child(5) {
  left: 70%;
  animation-delay: 2s;
}
.fire-effect .cinder:nth-child(6) {
  left: 85%;
  animation-delay: 2.5s;
}
.fire-effect .cinder:nth-child(7) {
  left: 15%;
  animation-delay: 0.8s;
}
.fire-effect .cinder:nth-child(8) {
  left: 35%;
  animation-delay: 1.3s;
}
.fire-effect .cinder:nth-child(9) {
  left: 60%;
  animation-delay: 0.3s;
}
.fire-effect .cinder:nth-child(10) {
  left: 80%;
  animation-delay: 1.8s;
}
.fire-effect .cinder:nth-child(odd) {
  width: 2px;
  height: 2px;
  animation-duration: 4s;
}
.fire-effect .cinder:nth-child(3n) {
  background: #7b2fbe;
  box-shadow: 0 0 4px 1px rgba(123, 47, 190, 0.5);
}

@keyframes rise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-70px) translateX(10px) scale(0.3);
    opacity: 0;
  }
}
.image-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.image-preview-modal.active {
  opacity: 1;
  visibility: visible;
}
.image-preview-modal.active .image-preview-content {
  transform: scale(1);
}
.image-preview-modal .image-preview-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.image-preview-modal .image-preview-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.image-preview-modal .image-preview-close {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.image-preview-modal .image-preview-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .image-preview-modal .image-preview-close {
    top: -50px;
    right: 0;
  }
}
.image-preview-modal .image-preview-frame {
  width: min(60vh, 55vw);
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: radial-gradient(ellipse at center, rgba(163, 53, 238, 0.08) 0%, rgba(0, 0, 0, 0.6) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
@media (max-width: 768px) {
  .image-preview-modal .image-preview-frame {
    width: min(70vh, 85vw);
  }
}
.image-preview-modal .image-preview-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
  pointer-events: none;
}
.image-preview-modal .image-preview-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0) 100%);
  text-align: center;
  color: #fff;
  z-index: 5;
  pointer-events: none;
}
.image-preview-modal .image-preview-info-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 6px;
  border-radius: 50%;
  object-fit: cover;
}
.image-preview-modal .image-preview-info-name {
  font-family: "Muli", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.image-preview-modal .image-preview-info-spec {
  font-family: "Muli", sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}
.image-preview-modal.mode-character .image-preview-frame {
  width: min(60vh, 55vw);
  aspect-ratio: 3/4;
}
.image-preview-modal.mode-character .image-preview-img {
  transform: scale(2.8);
  transform-origin: center 55%;
}
.image-preview-modal.mode-banner .image-preview-frame {
  width: min(80vw, 900px);
  aspect-ratio: auto;
  background: transparent;
}
.image-preview-modal.mode-banner .image-preview-img {
  transform: none;
  border-radius: 8px;
}

.quick-bis-fab {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 9998;
  display: flex;
  align-items: baseline;
  padding: 12px 20px;
  border: 1px solid rgba(163, 53, 238, 0.4);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(163, 53, 238, 0.9) 0%, rgba(128, 40, 200, 0.9) 100%);
  color: #fff;
  font-family: "Muli", monospace;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(163, 53, 238, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  letter-spacing: 0;
  animation: qb-fab-pulse 2.4s ease-in-out infinite;
}
.quick-bis-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(163, 53, 238, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  animation: none;
}

@keyframes qb-fab-pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(163, 53, 238, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 0 0 0 rgba(163, 53, 238, 0.55);
  }
  50% {
    box-shadow: 0 8px 24px rgba(163, 53, 238, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 0 0 14px rgba(163, 53, 238, 0);
  }
}
.qb-fab-slash {
  font-weight: 400;
  opacity: 0.65;
}

.qb-fab-bis {
  font-weight: 800;
}

.modal.quick-bis-panel {
  align-self: flex-start;
  margin-top: 10vh;
  background: linear-gradient(180deg, rgba(13, 13, 15, 0.88) 0%, rgba(13, 13, 15, 0.94) 100%);
  transition: background-image 0.4s ease;
}
.modal.quick-bis-panel.has-spec-bg {
  background: linear-gradient(180deg, rgba(13, 13, 15, 0.7) 0%, rgba(13, 13, 15, 0.88) 100%), var(--spec-bg) center/cover no-repeat;
}

.qb-title-cmd {
  font-weight: 800;
}

.qb-title-slash {
  font-weight: 400;
  color: rgba(163, 53, 238, 0.85);
}

.qb-title-sep {
  color: rgba(255, 255, 255, 0.18);
  font-weight: 400;
}

.qb-title-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.qb-input-wrap {
  gap: 6px;
  padding: 12px 14px;
  border-radius: 8px;
  min-height: 50px;
}
.qb-input-wrap:focus-within {
  background: rgba(163, 53, 238, 0.04);
}

.qb-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 5;
  max-height: 280px;
  overflow-y: auto;
  background: #1a1a1f;
  border: 1px solid rgba(163, 53, 238, 0.3);
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}
.qb-suggestions::-webkit-scrollbar {
  width: 4px;
}
.qb-suggestions::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.qb-suggestion {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 6px 10px;
  background: transparent;
  border: none;
  border-radius: 5px;
  color: var(--sug-color, #fff);
  font-family: "Muli", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.1s ease;
}
.qb-suggestion:hover, .qb-suggestion.active {
  background: color-mix(in srgb, var(--sug-color, #a335ee) 18%, transparent);
}

.qb-suggestion-icon {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
}

.qb-suggestion-label {
  flex: 1;
}

.qb-suggestion-role {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 3px;
}

.qb-need-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  text-align: center;
}
.qb-need-slot i {
  font-size: 22px;
  color: #a335ee;
  opacity: 0.6;
}
.qb-need-slot p {
  margin: 0;
}

.qb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.qb-pills:empty {
  display: none;
}

.qb-pill {
  padding-left: 4px;
}

.qb-pill-icon {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  object-fit: cover;
  flex-shrink: 0;
}

.qb-pill-pending {
  border-style: dashed !important;
  cursor: help;
}

.qb-input-wrap .qb-input {
  font-size: 14px;
  padding: 4px 0;
}
.qb-input-wrap .qb-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.qb-hint {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  min-height: 16px;
}

.qb-results {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.qb-loading, .qb-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}
.qb-loading i, .qb-empty i {
  font-size: 20px;
}

.qb-result-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
  text-align: center;
}

.qb-slot-card {
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  margin-bottom: 6px;
  backdrop-filter: blur(4px);
}

.qb-slot-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 2px;
}

.qb-slot-item {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.25;
}
.qb-slot-item:hover {
  text-decoration: underline;
}

.qb-slot-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.qb-slot-pct {
  color: #a335ee;
  font-weight: 600;
}

.qb-slot-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.qb-slot-extra {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  text-decoration: none;
  line-height: 1.2;
}
.qb-slot-extra i {
  font-size: 11px;
  opacity: 0.7;
}
.qb-slot-extra:hover {
  text-decoration: underline;
}

.qb-slot-enchant {
  color: rgba(96, 180, 255, 0.85);
}
.qb-slot-enchant:hover {
  color: #60b4ff;
}

.qb-slot-gem {
  color: rgba(220, 130, 255, 0.85);
}
.qb-slot-gem:hover {
  color: #d782ff;
}

.qb-slot-empty-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  font-style: italic;
}

.qb-slot-alt-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(255, 171, 0, 0.18);
  color: rgba(255, 171, 0, 0.85);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: help;
}

.qb-grid-all {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
@media (max-width: 600px) {
  .qb-grid-all {
    grid-template-columns: 1fr;
  }
}

.qb-slot-mini {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qb-slot-mini-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
}

.qb-slot-mini-item {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qb-slot-mini-item:hover {
  text-decoration: underline;
}

.qb-full-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.4);
  font-family: "Muli", sans-serif;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.qb-full-link i {
  font-size: 11px;
  opacity: 0.6;
}
.qb-full-link:hover {
  color: #d09fff;
  text-decoration: underline;
}

.qb-empty-section {
  margin-bottom: 18px;
}

.qb-empty-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
}

.qb-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 640px) {
  .quick-bis-fab {
    padding: 10px 14px;
    font-size: 14px;
  }
  .quick-bis-panel {
    width: 96vw;
    max-height: 90vh;
  }
}
.signup-raid-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.signup-raid-info strong {
  font-size: 14px;
  color: #fff;
}
.signup-raid-info .signup-raid-difficulty {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
}
.signup-raid-info .signup-raid-difficulty.normal {
  background: rgba(30, 255, 0, 0.15);
  color: #1eff00;
}
.signup-raid-info .signup-raid-difficulty.heroic {
  background: rgba(163, 53, 238, 0.15);
  color: #a335ee;
}
.signup-raid-info .signup-raid-difficulty.mythic {
  background: rgba(255, 128, 0, 0.15);
  color: #ff8000;
}

.signup-step-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 10px 0;
}

.signup-character-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 250px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.signup-character-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.signup-character-card:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.12);
}
.signup-character-card.selected {
  background: rgba(163, 53, 238, 0.15);
  border-color: rgba(163, 53, 238, 0.5);
}

.signup-char-icon {
  width: 24px;
  height: 24px;
  border-radius: 3px;
}

.signup-char-info {
  display: flex;
  flex-direction: column;
}

.signup-char-name {
  font-size: 13px;
  font-weight: 600;
}

.signup-char-realm {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.signup-confirm-section {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-selected-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.signup-selected-info span {
  font-size: 13px;
}
.signup-selected-info .signup-spec {
  color: rgba(255, 255, 255, 0.6);
}
.signup-selected-info .signup-ilvl {
  color: rgba(255, 215, 0, 0.7);
  font-size: 11px;
}

.signup-field {
  margin-bottom: 12px;
}
.signup-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.signup-role-buttons {
  display: flex;
  gap: 6px;
}

.signup-role-btn,
.signup-status-btn {
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}
.signup-role-btn:hover,
.signup-status-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.12);
}
.signup-role-btn.active,
.signup-status-btn.active {
  background: rgba(163, 53, 238, 0.15);
  border-color: rgba(163, 53, 238, 0.4);
  color: #fff;
}

.btn-signup-confirm {
  width: 100%;
  margin-top: 4px;
}

.void-cinders {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}
.void-cinders::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(163, 53, 238, 0.12) 0%, rgba(163, 53, 238, 0.06) 40%, transparent 70%);
}
.void-cinders span {
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 2px;
  background: #a335ee;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 4px 1px rgba(163, 53, 238, 0.5);
  animation: void-rise 3.5s ease-out infinite;
}
.void-cinders span:nth-child(1) {
  left: 8%;
  animation-delay: 0s;
}
.void-cinders span:nth-child(2) {
  left: 22%;
  animation-delay: 0.7s;
}
.void-cinders span:nth-child(3) {
  left: 38%;
  animation-delay: 1.4s;
}
.void-cinders span:nth-child(4) {
  left: 52%;
  animation-delay: 0.3s;
}
.void-cinders span:nth-child(5) {
  left: 65%;
  animation-delay: 2s;
}
.void-cinders span:nth-child(6) {
  left: 78%;
  animation-delay: 1.1s;
}
.void-cinders span:nth-child(7) {
  left: 88%;
  animation-delay: 0.5s;
}
.void-cinders span:nth-child(8) {
  left: 45%;
  animation-delay: 1.8s;
}
.void-cinders span:nth-child(odd) {
  width: 3px;
  height: 3px;
  animation-duration: 3.5s;
}
.void-cinders span:nth-child(3n) {
  background: #7b2fbe;
  box-shadow: 0 0 4px 1px rgba(123, 47, 190, 0.5);
}

@keyframes void-rise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-55px) translateX(8px) scale(0.2);
    opacity: 0;
  }
}
.group-builder-modal {
  padding: 0;
  max-height: 90vh;
  overflow: visible;
}
.group-builder-modal .modal-head {
  padding: 16px 20px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gb-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  flex-shrink: 0;
}

.gb-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
@media (max-width: 768px) {
  .gb-body {
    grid-template-columns: 1fr;
  }
}

.gb-pool {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  overflow-y: auto;
}
.gb-pool h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.gb-pool h3 .gb-pool-count {
  color: rgba(255, 255, 255, 0.25);
}

.gb-pool-role {
  margin-bottom: 12px;
}

.gb-pool-role-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
.gb-pool-role-label i {
  font-size: 12px;
}
.gb-pool-role-label.tank {
  color: #0070DE;
}
.gb-pool-role-label.healer {
  color: #10b981;
}
.gb-pool-role-label.dps {
  color: #ff5050;
}

.gb-pool-card {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 5px;
  cursor: grab;
  transition: all 0.15s ease;
  margin-bottom: 3px;
  background: rgba(255, 255, 255, 0.03);
}
.gb-pool-card:hover {
  background: rgba(255, 255, 255, 0.06);
}
.gb-pool-card.dragging {
  opacity: 0.3;
}
.gb-pool-card.tentative {
  border-left: 2px dashed rgba(245, 158, 11, 0.4);
}

.gb-pool-card-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gb-pool-card-name {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.gb-pool-card-stats {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.gb-pool-empty {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.gb-groups {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
}

.gb-groups-empty {
  width: 100%;
  text-align: center;
  padding: 40px 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

.gb-group {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  width: calc(50% - 6px);
  min-width: 260px;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .gb-group {
    width: 100%;
  }
}

.gb-group-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.gb-group-name {
  font-size: 14px;
  font-weight: 700;
  color: #a335ee;
  outline: none;
  border: none;
  background: none;
  cursor: text;
  min-width: 40px;
}
.gb-group-name:focus {
  border-bottom: 1px solid rgba(163, 53, 238, 0.4);
}

.gb-reroll-name:hover {
  color: #a335ee;
}

.gb-group-ilvl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  margin-left: auto;
}

.gb-group-count {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

.gb-remove-group:hover {
  color: rgba(255, 50, 50, 0.8);
}

.gb-group-slots {
  padding: 6px;
}

.gb-group-slot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 5px;
  margin-bottom: 3px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.15);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  transition: all 0.15s ease;
}
.gb-group-slot i {
  font-size: 14px;
}
.gb-group-slot.drag-over {
  border-color: rgba(163, 53, 238, 0.4);
  background: rgba(163, 53, 238, 0.08);
  color: rgba(163, 53, 238, 0.6);
}

.gb-group-member {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 5px;
  margin-bottom: 3px;
  background: rgba(255, 255, 255, 0.03);
  cursor: grab;
  transition: all 0.15s ease;
}
.gb-group-member:hover {
  background: rgba(255, 255, 255, 0.06);
}
.gb-group-member.dragging {
  opacity: 0.3;
}

.gb-remove-member {
  margin-left: auto;
}
.gb-remove-member:hover {
  color: rgba(255, 50, 50, 0.7);
}

.ec-create-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ec-create-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid rgba(163, 53, 238, 0.3);
  border-radius: 6px;
  color: #fff;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ec-create-trigger i {
  font-size: 14px;
  color: #a335ee;
}
.ec-create-trigger:hover {
  background: rgba(163, 53, 238, 0.25);
}
.ec-create-trigger.ec-manage-trigger {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}
.ec-create-trigger.ec-manage-trigger i {
  color: rgba(255, 255, 255, 0.4);
}
.ec-create-trigger.ec-manage-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
}
.ec-create-trigger.ec-clear-trigger {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: rgba(239, 68, 68, 0.7);
}
.ec-create-trigger.ec-clear-trigger i {
  color: rgba(239, 68, 68, 0.5);
}
.ec-create-trigger.ec-clear-trigger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.ec-server-picker {
  margin-bottom: 12px;
}
.ec-server-picker .custom-dropdown {
  width: 100%;
}

.ec-input-wrap {
  margin-bottom: 16px;
}

.input.ec-input {
  padding-right: 48px;
}
.input.ec-input::placeholder {
  font-size: 12px;
}

.ec-mic-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(163, 53, 238, 0.1);
  border: 1px solid rgba(163, 53, 238, 0.25);
  border-radius: 50%;
  color: #a335ee;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.ec-mic-btn i {
  font-size: 16px;
}
.ec-mic-btn:hover {
  background: rgba(163, 53, 238, 0.2);
  border-color: rgba(163, 53, 238, 0.5);
}
.ec-mic-btn.ec-mic-active {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.6);
  color: #ef4444;
  animation: ec-mic-pulse 1.2s ease-in-out infinite;
}

@keyframes ec-mic-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}
.ec-preview {
  min-height: 20px;
}

.ec-preview-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 14px;
}

.ec-preview-type {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #a335ee;
  margin-bottom: 6px;
}

.ec-preview-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.ec-preview-details {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ec-preview-diff {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
}
.ec-preview-diff.ec-diff-normal {
  background: rgba(30, 255, 0, 0.15);
  color: #1eff00;
}
.ec-preview-diff.ec-diff-heroic {
  background: rgba(163, 53, 238, 0.15);
  color: #a335ee;
}
.ec-preview-diff.ec-diff-mythic {
  background: rgba(255, 128, 0, 0.15);
  color: #ff8000;
}
.ec-preview-diff.ec-diff-lfr {
  background: rgba(0, 174, 255, 0.15);
  color: #00aeff;
}

.ec-preview-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.ec-preview-missing {
  font-size: 12px;
  color: rgba(255, 50, 50, 0.6);
}

.ec-preview-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  font-style: italic;
}

.ec-preview-roles {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.ec-role {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
}
.ec-role i {
  font-size: 14px;
}
.ec-role.tank {
  color: #0070DE;
}
.ec-role.healer {
  color: #10b981;
}
.ec-role.dps {
  color: #ff5050;
}

.ec-role-total {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-left: auto;
}

.ec-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.ec-hint {
  margin-top: 12px;
}
.ec-hint p {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
}

.ec-error {
  font-size: 12px;
  color: rgba(255, 50, 50, 0.7);
  margin-top: 8px;
}

.ge-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.ge-label-sm {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 3px;
}

.ge-label-opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.2);
}

.ge-field {
  margin-bottom: 10px;
}

.ge-title {
  font-size: 18px;
  font-weight: 700;
}

select.ge-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='rgba(255,255,255,0.3)' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  cursor: pointer;
}

.ge-row {
  display: flex;
  gap: 10px;
}

.guide-editor-meta {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ge-tag-input-wrap {
  position: relative;
}

.ge-tag-chips {
  display: contents;
}

.ge-tag-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #131316;
  border: 1px solid rgba(163, 53, 238, 0.25);
  border-radius: 5px;
  margin-top: 4px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.ge-tag-dropdown.visible {
  display: block;
}
.ge-tag-dropdown::-webkit-scrollbar {
  width: 4px;
}
.ge-tag-dropdown::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.3);
  border-radius: 2px;
}

.ge-tag-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.7);
  font-family: "Muli", sans-serif;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.1s ease;
}
.ge-tag-option strong {
  color: #fff;
  font-weight: 700;
}
.ge-tag-option:hover {
  background: rgba(163, 53, 238, 0.1);
  color: #fff;
}
.ge-tag-option:last-child {
  border-bottom: none;
}

.ge-tag-option-cat {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.2);
}

.ge-image-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ge-image-picker-preview {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.ge-image-picker-empty {
  color: rgba(255, 255, 255, 0.2);
  font-size: 13px;
}
.ge-image-picker-empty i {
  margin-right: 6px;
  font-size: 16px;
}

.ge-gallery-tabs {
  padding: 2px 0 6px;
  overflow-x: auto;
  flex-wrap: nowrap;
}
.ge-gallery-tabs::-webkit-scrollbar {
  height: 0;
}

.ge-gallery-search-wrap {
  margin-bottom: 6px;
}

.ge-gallery-search {
  width: 100%;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: #fff;
  font-family: "Muli", sans-serif;
  font-size: 11px;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}
.ge-gallery-search:focus {
  border-color: rgba(163, 53, 238, 0.3);
}
.ge-gallery-search::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.ge-gallery-wrap {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 2px;
}
.ge-gallery-wrap::-webkit-scrollbar {
  width: 4px;
}
.ge-gallery-wrap::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.ge-gallery-wrap::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.25);
  border-radius: 2px;
}

.ge-gallery-upload {
  margin-bottom: 8px;
}

.ge-gallery-upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 12px;
  border: 1.5px dashed rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  text-align: center;
  transition: all 0.15s ease;
}
.ge-gallery-upload-dropzone i {
  font-size: 20px;
  color: rgba(163, 53, 238, 0.5);
}
.ge-gallery-upload-dropzone small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
}
.ge-gallery-upload-dropzone.dragover {
  border-color: #a335ee;
  background: rgba(163, 53, 238, 0.06);
  color: #a335ee;
}

.ge-gallery-upload-browse:hover {
  text-decoration: underline;
}

.ge-gallery-upload-progress {
  margin-top: 6px;
}
.ge-gallery-upload-progress:empty {
  display: none;
}

.ge-gallery-upload-item {
  padding: 4px 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
}
.ge-gallery-upload-item.success {
  color: #4CAF50;
}
.ge-gallery-upload-item.error {
  color: #ff4444;
}

.ge-gallery-group-label {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.2);
  padding: 6px 0 3px;
}
.ge-gallery-group-label:first-child {
  padding-top: 0;
}

.ge-image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 5px;
  margin-bottom: 4px;
}

.ge-image-picker-block .ge-gallery-wrap {
  max-height: 160px;
}

.ge-image-picker-block .ge-image-gallery {
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
}

.ge-image-picker-block .ge-gallery-thumb img {
  height: 36px;
}
.ge-image-picker-block .ge-gallery-thumb span {
  font-size: 7px;
  padding: 2px 3px;
}

.ge-gallery-thumb {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
  padding: 0;
  text-align: center;
}
.ge-gallery-thumb img {
  width: 100%;
  height: 48px;
  object-fit: cover;
  display: block;
}
.ge-gallery-thumb span {
  display: block;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.4);
  padding: 3px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ge-gallery-thumb:hover {
  border-color: rgba(163, 53, 238, 0.4);
  transform: scale(1.03);
}
.ge-gallery-thumb:hover span {
  color: rgba(163, 53, 238, 0.9);
}

.ge-gallery-loading {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  padding: 8px 0;
  grid-column: 1/-1;
}

.ge-image-picker-preview-sm {
  width: 60px;
  height: 36px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.15);
  font-size: 16px;
}

.guide-editor-blocks {
  min-height: 100px;
}

.ge-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 13px;
}

.ge-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.ge-block:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.ge-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ge-block-type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(163, 53, 238, 0.6);
}
.ge-block-type i {
  margin-right: 4px;
}

.ge-block-actions {
  display: flex;
  gap: 2px;
}

.ge-block-delete:hover {
  color: #ef4444;
}

.ge-block-content {
  padding: 10px;
}
.ge-block-content .ge-field {
  margin-bottom: 6px;
}
.ge-block-content .ge-field:last-child {
  margin-bottom: 0;
}

.ge-block-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}
.ge-block-row:last-child {
  margin-bottom: 0;
}

.ge-textarea {
  font-family: "Muli", sans-serif;
  line-height: 1.5;
}

.ge-code {
  font-family: "Menlo", "Consolas", monospace;
  font-size: 12px;
}

.ge-divider-preview {
  padding: 8px 0;
}
.ge-divider-preview hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ge-table-editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ge-table-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.ge-table-col-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.3);
}
.ge-table-col-header .ge-table-col-input {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 6px;
}

.ge-table-col-actions {
  display: flex;
  gap: 2px;
}

.ge-table-align,
.ge-table-remove-col {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 20px;
  padding: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.1s ease;
}
.ge-table-align:hover,
.ge-table-remove-col:hover {
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.12);
}
.ge-table-align.active,
.ge-table-remove-col.active {
  color: rgba(163, 53, 238, 0.8);
  border-color: rgba(163, 53, 238, 0.3);
  background: rgba(163, 53, 238, 0.08);
}

.ge-table-remove-col {
  margin-left: auto;
}
.ge-table-remove-col:hover {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.ge-table-cell {
  background: rgba(0, 0, 0, 0.15);
}
.ge-table-cell .ge-table-cell-input {
  width: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  padding: 6px;
  color: rgba(255, 255, 255, 0.7);
}
.ge-table-cell .ge-table-cell-input::placeholder {
  color: rgba(255, 255, 255, 0.1);
}
.ge-table-cell .ge-table-cell-input:focus {
  background: rgba(163, 53, 238, 0.04);
}

.ge-table-actions {
  display: flex;
  gap: 6px;
}

.guide-editor-add {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.ge-add-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 8px;
}

.ge-add-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ge-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-family: "Muli", sans-serif;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ge-add-btn i {
  font-size: 14px;
}
.ge-add-btn:hover {
  background: rgba(163, 53, 238, 0.08);
  border-color: rgba(163, 53, 238, 0.25);
  color: rgba(163, 53, 238, 0.9);
}

.ge-autosave-indicator {
  font-size: 11px;
  font-weight: 600;
  color: #f5a623;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ge-autosave-indicator.is-visible {
  opacity: 1;
}

.guide-editor-modal .modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.ge-recovery-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  background: rgba(20, 142, 255, 0.12);
  border: 1px solid rgba(20, 142, 255, 0.3);
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.ge-recovery-banner span:first-child {
  flex: 1;
}

@media (max-width: 600px) {
  .ge-row {
    flex-direction: column;
  }
  .ge-block-row {
    flex-direction: column;
  }
  .ge-add-btn span {
    display: none;
  }
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: auto;
}
@media (max-width: 1130px) {
  .roster-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1024px) {
  .roster-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 890px) {
  .roster-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .roster-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 650px) {
  .roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 360px) {
  .roster-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.gallery-hero {
  text-align: center;
  padding: 40px 20px 30px;
}
.gallery-hero .gallery-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a335ee;
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid rgba(163, 53, 238, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.gallery-hero h1 {
  margin: 0 0 16px 0;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .gallery-hero h1 {
    font-size: 28px;
  }
}
.gallery-hero .gallery-hero-subtitle {
  margin: 0 auto;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 768px) {
  .gallery-hero .gallery-hero-subtitle {
    font-size: 14px;
  }
}

#gallery-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 49px);
  justify-content: space-between;
}
#gallery-container .gallery-info {
  display: flex;
  justify-content: center;
  margin-top: auto;
}
#gallery-container .gallery-info .location-display {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.5s ease-in;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
}
#gallery-container .gallery-info .location-display .location-name {
  color: var(--color-text);
  padding: 10px 20px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}
#gallery-container .gallery-info .location-display .location-name .gallery-nav-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}
#gallery-container .gallery-info .location-display .location-name .gallery-nav-btn i {
  font-size: 22px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
#gallery-container .gallery-info .location-display .location-name .gallery-nav-btn:hover {
  transform: scale(1.15);
  opacity: 0.9;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.3);
}
#gallery-container .gallery-info .location-display .location-name .gallery-nav-btn:active {
  transform: scale(0.95);
}
#gallery-container .gallery-info .location-display .location-name .location-text {
  flex: 0 1 auto;
}
#gallery-container .gallery-info .location-display .gallery-progress-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 240px;
  margin-top: 12px;
}
#gallery-container .gallery-info .location-display .gallery-progress-container .progress-bar-wrapper {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
#gallery-container .gallery-info .location-display .gallery-progress-container .progress-bar-wrapper .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9));
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 1px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  #gallery-container .gallery-info .location-display .location-name {
    padding: 8px 16px;
    gap: 12px;
    font-size: 11px;
  }
  #gallery-container .gallery-info .location-display .location-name .gallery-nav-btn i {
    font-size: 18px;
  }
  #gallery-container .gallery-info .location-display .gallery-progress-container {
    max-width: 90%;
    margin-top: 10px;
  }
  #gallery-container .gallery-info .location-display .gallery-progress-container .progress-bar-wrapper {
    height: 1px;
  }
}
#events-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}

.events-hero {
  text-align: center;
  padding: 40px 20px 30px;
}
.events-hero .events-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a335ee;
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid rgba(163, 53, 238, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.events-hero h1 {
  margin: 0 0 16px 0;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .events-hero h1 {
    font-size: 28px;
  }
}
.events-hero .events-hero-subtitle {
  margin: 0 auto;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 768px) {
  .events-hero .events-hero-subtitle {
    font-size: 14px;
  }
}

.events-section {
  margin-bottom: 32px;
}

.events-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
  padding-left: 2px;
}

.events-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.events-label-dot.active {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}
.events-label-dot.upcoming {
  background: #a335ee;
  box-shadow: 0 0 8px rgba(163, 53, 238, 0.5);
}
.events-label-dot.later {
  background: rgba(255, 255, 255, 0.25);
}

.events-active-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 1100px) {
  .events-active-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .events-active-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .events-active-grid {
    grid-template-columns: 1fr;
  }
}
.events-active-grid .event-active-row {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px;
  gap: 10px;
  transition: border-color 0.2s ease;
}
.events-active-grid .event-active-row:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}
.events-active-grid .event-active-row .event-upcoming-icon {
  width: 36px;
  height: 36px;
}
.events-active-grid .event-active-row .event-upcoming-info {
  gap: 3px;
}
.events-active-grid .event-active-row .event-active-right {
  width: 100%;
  align-items: flex-start;
  margin-left: 0;
}
.events-active-grid .event-active-row .event-active-progress-bar {
  margin-top: 2px;
}

.event-active-row {
  flex-wrap: wrap;
  padding-bottom: 8px;
}

.event-active-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  margin-left: auto;
}

.event-active-countdown {
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
  white-space: nowrap;
}

.event-returns {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

.event-active-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.event-active-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: #a335ee;
  transition: width 0.3s ease;
}

.events-upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.event-upcoming-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.event-upcoming-row:last-child {
  border-bottom: none;
}
.event-upcoming-row:hover {
  background: rgba(255, 255, 255, 0.03);
}
@media (max-width: 500px) {
  .event-upcoming-row {
    padding: 10px 12px;
    gap: 10px;
  }
}

.event-upcoming-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 40px;
  flex-shrink: 0;
}
.event-upcoming-date .event-date-day {
  font-size: 9px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
}
.event-upcoming-date .event-date-num {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.event-upcoming-date .event-date-month {
  font-size: 9px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
}

.event-upcoming-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.event-upcoming-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-upcoming-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.event-upcoming-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.event-upcoming-category {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.event-upcoming-countdown {
  font-size: 12px;
  font-weight: 600;
  color: #a335ee;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 500px) {
  .event-upcoming-countdown {
    font-size: 11px;
  }
}

.events-later-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
@media (max-width: 600px) {
  .events-later-list {
    grid-template-columns: 1fr;
  }
}

.event-later-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.1);
}

.event-later-rank {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  min-width: 14px;
  text-align: right;
  flex-shrink: 0;
}

.event-later-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.event-later-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-later-name {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-later-date {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.events-empty {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.5);
}
.events-empty i {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 16px;
}
.events-empty p {
  margin: 0;
  font-size: 16px;
}
.events-empty .events-empty-sub {
  font-size: 13px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.3);
}

.card.todo-card {
  background: rgba(0, 0, 0, 0.3);
}
.card.todo-card .todo-meta {
  justify-content: space-between;
  margin-bottom: 2px;
}
.card.todo-card .todo-meta .todo-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.card.todo-card .card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.card.todo-card .todo-description {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.card.todo-card .todo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 11px;
  color: #a335ee;
  text-decoration: none;
  transition: color 0.2s ease;
}
.card.todo-card .todo-link i {
  font-size: 13px;
}
.card.todo-card .todo-link:hover {
  color: #c56af0;
}
.card.todo-card .todo-edit:hover,
.card.todo-card .todo-complete:hover {
  transform: scale(1.1);
}

#todos-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}
#todos-container .todos-grid .todo-card {
  width: calc(20% - 19.2px);
  margin-bottom: 16px;
}
@media (max-width: 1130px) {
  #todos-container .todos-grid .todo-card {
    width: calc(25% - 18px);
  }
}
@media (max-width: 890px) {
  #todos-container .todos-grid .todo-card {
    width: calc(33.333% - 16px);
  }
}
@media (max-width: 650px) {
  #todos-container .todos-grid .todo-card {
    width: calc(50% - 12px);
  }
}
@media (max-width: 360px) {
  #todos-container .todos-grid .todo-card {
    width: 100%;
  }
}
#todos-container .empty-state {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.5);
}
#todos-container .empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.2);
}
#todos-container .empty-state p {
  font-size: 14px;
  line-height: 1.6;
}

#my-youtube-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}
#my-youtube-container .youtube-channels .empty-state {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.5);
}
#my-youtube-container .youtube-channels .empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.2);
}
#my-youtube-container .youtube-channels .empty-state p {
  font-size: 14px;
  line-height: 1.6;
}
#my-youtube-container .youtube-channels .channel-row {
  margin-bottom: 32px;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 16px 20px;
}
#my-youtube-container .youtube-channels .channel-row .channel-content {
  display: flex;
  gap: 20px;
  align-items: stretch;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
  padding-bottom: 38px;
  position: relative;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-name {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-tags .tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(163, 53, 238, 0.12);
  border: 1px solid rgba(163, 53, 238, 0.2);
  border-radius: 4px;
  font-size: 10px;
  color: rgba(163, 53, 238, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions .channel-edit:hover {
  color: #a335ee;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions .channel-refresh:hover {
  color: #fed202;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions .channel-refresh i.spinning {
  animation: spin 1s linear infinite;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions .channel-delete:hover {
  color: #ef4444;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos {
  flex: 1;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0;
  scroll-behavior: smooth;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos::-webkit-scrollbar {
  height: 4px;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos::-webkit-scrollbar-track {
  background: transparent;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card {
  flex: 0 0 170px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
  color: inherit;
  cursor: pointer;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card .video-thumbnail {
  width: 100%;
  height: 96px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card .video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card .video-info {
  padding: 8px 10px;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card .video-info .video-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .video-card .video-info .video-date {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}
#my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos .no-videos {
  padding: 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

@media (max-width: 768px) {
  #my-youtube-container .youtube-channels .channel-row {
    margin-bottom: 16px;
    padding: 12px 14px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content {
    flex-direction: column;
    gap: 10px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col {
    flex: 1;
    padding-top: 4px;
    padding-bottom: 34px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-name {
    font-size: 15px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-tags {
    gap: 4px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions {
    gap: 2px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content .channel-info-col .channel-actions button {
    padding: 4px;
    font-size: 14px;
  }
  #my-youtube-container .youtube-channels .channel-row .channel-content .channel-videos {
    width: 100%;
    padding: 6px 0;
    gap: 10px;
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#mounts-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}
#mounts-container .mount-count {
  font-size: 16px;
  font-weight: 600;
  color: rgba(163, 53, 238, 0.8);
}

.mounts-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .mounts-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

.mounts-toolbar-search {
  width: 250px;
  flex-shrink: 0;
}

.mounts-toolbar-source {
  min-width: 150px;
}

.mounts-toolbar-mode {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
}
.mounts-toolbar-mode .tabs {
  margin: 0;
}

.mounts-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 13px;
}

.mounts-tabs-scroll {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}
.mounts-tabs-scroll .tabs {
  flex: 1;
  min-width: 0;
}

.mounts-tabs-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.mounts-tabs-arrow:hover {
  color: #fff;
  border-color: rgba(163, 53, 238, 0.3);
}

.mount-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media (max-width: 1024px) {
  .mount-card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 768px) {
  .mount-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 500px) {
  .mount-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mount-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.mount-card:hover {
  border-color: rgba(163, 53, 238, 0.3);
  transform: translateY(-2px);
}

.mount-card-art {
  position: relative;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.mount-card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1.5);
  z-index: 0;
}

.mount-card-wh {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  font-size: 0;
  color: transparent;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.mount-card-scrim {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px 10px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 40%, transparent 100%);
}
.mount-card-scrim .tag {
  margin-top: 4px;
}

.mount-card-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.mount-card-desc {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.3;
  margin-top: 2px;
}

#mythic-plus-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 200px);
}
#mythic-plus-container .mplus-hero {
  text-align: center;
  padding: 40px 20px 30px;
}
#mythic-plus-container .mplus-hero .mplus-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a335ee;
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid rgba(163, 53, 238, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
#mythic-plus-container .mplus-hero h1 {
  margin: 0 0 16px 0;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
@media (max-width: 768px) {
  #mythic-plus-container .mplus-hero h1 {
    font-size: 28px;
  }
}
#mythic-plus-container .mplus-hero .mplus-hero-subtitle {
  margin: 0 auto 20px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 768px) {
  #mythic-plus-container .mplus-hero .mplus-hero-subtitle {
    font-size: 14px;
  }
}
#mythic-plus-container .mplus-season-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
#mythic-plus-container .mplus-season-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
#mythic-plus-container .mplus-season-dot.active {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}
#mythic-plus-container .mplus-season-dot.ended {
  background: rgba(255, 255, 255, 0.3);
}
#mythic-plus-container .mplus-season-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
#mythic-plus-container .leaderboard-summary {
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
#mythic-plus-container .dungeon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
#mythic-plus-container .dungeon-card {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 20px 10px 20px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.2s ease;
}
#mythic-plus-container .dungeon-card.has-background {
  background-color: rgba(0, 0, 0, 0.5);
}
#mythic-plus-container .dungeon-card .dungeon-background-overlay {
  position: absolute;
  top: 1px;
  left: 0;
  right: 0;
  bottom: 1px;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
  border-radius: 10px;
}
#mythic-plus-container .dungeon-card:hover {
  transform: translateY(-4px);
}
#mythic-plus-container .dungeon-card .dungeon-card-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
#mythic-plus-container .dungeon-card .dungeon-card-header .dungeon-name {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
#mythic-plus-container .dungeon-card .dungeon-card-header .dungeon-name .dungeon-ranking {
  color: #FFD700;
  font-weight: 700;
}
#mythic-plus-container .dungeon-card .dungeon-card-header .dungeon-stats {
  display: flex;
  gap: 10px;
  font-size: 14px;
}
#mythic-plus-container .dungeon-card .dungeon-card-header .dungeon-stats .keystone-level {
  color: var(--color-text);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}
#mythic-plus-container .dungeon-card .dungeon-card-header .dungeon-stats .duration {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-shadow: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  align-self: flex-start;
  position: relative;
  top: -2px;
}
#mythic-plus-container .dungeon-card .dungeon-team {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member.horde {
  border-color: rgba(196, 30, 58, 0.3);
  box-shadow: 0 0 8px rgba(196, 30, 58, 0.3);
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member.horde:hover {
  box-shadow: 0 0 12px rgba(196, 30, 58, 0.6);
  background: rgba(196, 30, 58, 0.2);
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member.alliance {
  border-color: rgba(0, 120, 255, 0.3);
  box-shadow: 0 0 8px rgba(0, 120, 255, 0.3);
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member.alliance:hover {
  box-shadow: 0 0 12px rgba(0, 120, 255, 0.6);
  background: rgba(0, 120, 255, 0.2);
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member .la-angle-right {
  margin-left: auto;
  font-size: 13px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member:hover .la-angle-right {
  transform: scale(1.15);
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.3);
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member:active .la-angle-right {
  transform: scale(0.95);
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member .member-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: white;
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member .member-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member .member-info .member-name {
  line-height: 1;
}
#mythic-plus-container .dungeon-card .dungeon-team .team-member .member-info .member-realm {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
}
@media (max-width: 1130px) {
  #mythic-plus-container .dungeon-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1023px) {
  #mythic-plus-container .dungeon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  #mythic-plus-container .dungeon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  #mythic-plus-container .dungeon-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
}

#crafters-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}

.crafters-grid {
  padding: 0 0 40px;
}

.crafter-profession {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.crafter-prof-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.crafter-prof-header .crafter-prof-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.crafter-prof-header h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  flex: 1;
}
.crafter-prof-header .crafter-prof-count {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.crafter-char-list {
  padding: 6px 0;
}

.crafter-char-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 16px;
  gap: 12px;
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.crafter-char-row:last-child {
  border-bottom: none;
}
.crafter-char-row:hover {
  background: rgba(255, 255, 255, 0.03);
}
@media (max-width: 600px) {
  .crafter-char-row {
    flex-direction: column;
    gap: 6px;
  }
}

.crafter-char-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 160px;
  padding-top: 2px;
}
.crafter-char-info .crafter-char-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  flex-shrink: 0;
}
.crafter-char-info .crafter-class-icon {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  flex-shrink: 0;
}
.crafter-char-info .crafter-char-name {
  font-size: 13px;
  font-weight: 500;
}

.crafter-tiers-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
@media (max-width: 600px) {
  .crafter-tiers-list {
    width: 100%;
  }
}

.crafter-tier-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.crafter-tier-row.maxed .crafter-skill-fill {
  background: linear-gradient(90deg, #10b981, #34d399);
}
.crafter-tier-row.maxed .crafter-skill-text {
  color: rgb(16, 185, 129);
}
.crafter-tier-row .crafter-tier-name {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  min-width: 100px;
  text-align: right;
}
@media (max-width: 600px) {
  .crafter-tier-row .crafter-tier-name {
    min-width: 60px;
    font-size: 8px;
  }
}
.crafter-tier-row .crafter-skill-bar {
  width: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.crafter-tier-row .crafter-skill-bar .crafter-skill-fill {
  height: 100%;
  background: linear-gradient(90deg, #a335ee, #c56af0);
  border-radius: 2px;
}
.crafter-tier-row .crafter-skill-text {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
  min-width: 50px;
  text-align: right;
}

#vault-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}

.vault-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  background: rgba(163, 53, 238, 0.08);
  border: 1px solid rgba(163, 53, 238, 0.2);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}
.vault-banner p {
  margin: 0;
  flex: 1;
}
.vault-banner .vault-banner-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 4px;
  font-size: 18px;
  flex-shrink: 0;
}
.vault-banner .vault-banner-close:hover {
  color: #fff;
}

@media (max-width: 650px) {
  .vault-roster {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}
@media (max-width: 440px) {
  .vault-roster {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 4px;
  }
}
.vault-roster .vault-member-card {
  cursor: default;
}
.vault-roster .vault-member-card:hover {
  transform: none;
  box-shadow: none;
}
@media (max-width: 440px) {
  .vault-roster .vault-member-card {
    min-width: unset;
  }
  .vault-roster .vault-member-card .card-media {
    height: 100px !important;
  }
  .vault-roster .vault-member-card .card-body {
    padding: 4px 6px;
  }
  .vault-roster .vault-member-card .card-body .card-member-name {
    font-size: 12px;
  }
}

.vault-rewards {
  padding: 8px 10px 12px;
}
@media (max-width: 440px) {
  .vault-rewards {
    padding: 6px 6px 10px;
  }
}

.vault-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.vault-badge {
  position: relative;
}

.vault-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 0 2px;
}

.vault-progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.vault-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #a335ee, #00AEFF, #ff8000);
  transition: width 0.3s ease;
}

.vault-progress-text {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
  flex-shrink: 0;
}

.vault-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.6);
}
.vault-dot.vault-dot-raids {
  background: #ff8000;
  box-shadow: 0 0 4px rgba(255, 128, 0, 0.5);
}
.vault-dot.vault-dot-mplus {
  background: #a335ee;
  box-shadow: 0 0 4px rgba(163, 53, 238, 0.5);
}
.vault-dot.vault-dot-delves {
  background: #00AEFF;
  box-shadow: 0 0 4px rgba(0, 174, 255, 0.5);
}

#raids-container,
#mplus-groups-container,
#collections-container,
#guides-container,
#bis-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}
#raids-container #raids-content,
#mplus-groups-container #raids-content,
#collections-container #raids-content,
#guides-container #raids-content,
#bis-container #raids-content {
  padding: 20px 0;
}
#raids-container .raids-server-group,
#mplus-groups-container .raids-server-group,
#collections-container .raids-server-group,
#guides-container .raids-server-group,
#bis-container .raids-server-group {
  margin-bottom: 24px;
}
#raids-container .raids-server-header,
#mplus-groups-container .raids-server-header,
#collections-container .raids-server-header,
#guides-container .raids-server-header,
#bis-container .raids-server-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
#raids-container .raids-server-header i,
#mplus-groups-container .raids-server-header i,
#collections-container .raids-server-header i,
#guides-container .raids-server-header i,
#bis-container .raids-server-header i {
  font-size: 18px;
  color: #5865F2;
}
#raids-container .raids-server-header span,
#mplus-groups-container .raids-server-header span,
#collections-container .raids-server-header span,
#guides-container .raids-server-header span,
#bis-container .raids-server-header span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
#raids-container .raids-grid,
#mplus-groups-container .raids-grid,
#collections-container .raids-grid,
#guides-container .raids-grid,
#bis-container .raids-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) {
  #raids-container .raids-grid,
  #mplus-groups-container .raids-grid,
  #collections-container .raids-grid,
  #guides-container .raids-grid,
  #bis-container .raids-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  #raids-container .raids-grid,
  #mplus-groups-container .raids-grid,
  #collections-container .raids-grid,
  #guides-container .raids-grid,
  #bis-container .raids-grid {
    grid-template-columns: 1fr;
  }
}
#raids-container .raids-landing,
#mplus-groups-container .raids-landing,
#collections-container .raids-landing,
#guides-container .raids-landing,
#bis-container .raids-landing {
  padding: 0 0 60px;
}
#raids-container .raids-landing-hero,
#mplus-groups-container .raids-landing-hero,
#collections-container .raids-landing-hero,
#guides-container .raids-landing-hero,
#bis-container .raids-landing-hero {
  text-align: center;
  padding: 40px 20px 30px;
}
#raids-container .raids-landing-hero .raids-landing-badge,
#mplus-groups-container .raids-landing-hero .raids-landing-badge,
#collections-container .raids-landing-hero .raids-landing-badge,
#guides-container .raids-landing-hero .raids-landing-badge,
#bis-container .raids-landing-hero .raids-landing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a335ee;
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid rgba(163, 53, 238, 0.3);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
#raids-container .raids-landing-hero h1,
#mplus-groups-container .raids-landing-hero h1,
#collections-container .raids-landing-hero h1,
#guides-container .raids-landing-hero h1,
#bis-container .raids-landing-hero h1 {
  margin: 0 0 16px 0;
  font-size: 35px;
  font-weight: 800;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  background: linear-gradient(180deg, #fff 0%, transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}
@media (max-width: 768px) {
  #raids-container .raids-landing-hero h1,
  #mplus-groups-container .raids-landing-hero h1,
  #collections-container .raids-landing-hero h1,
  #guides-container .raids-landing-hero h1,
  #bis-container .raids-landing-hero h1 {
    font-size: 32px;
  }
}
#raids-container .raids-landing-hero .raids-landing-subtitle,
#mplus-groups-container .raids-landing-hero .raids-landing-subtitle,
#collections-container .raids-landing-hero .raids-landing-subtitle,
#guides-container .raids-landing-hero .raids-landing-subtitle,
#bis-container .raids-landing-hero .raids-landing-subtitle {
  margin: 0 auto;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}
#raids-container .raids-demo-carousel,
#mplus-groups-container .raids-demo-carousel,
#collections-container .raids-demo-carousel,
#guides-container .raids-demo-carousel,
#bis-container .raids-demo-carousel {
  overflow-x: auto;
  margin: 0 -20px 40px;
  padding: 0 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#raids-container .raids-demo-carousel::-webkit-scrollbar,
#mplus-groups-container .raids-demo-carousel::-webkit-scrollbar,
#collections-container .raids-demo-carousel::-webkit-scrollbar,
#guides-container .raids-demo-carousel::-webkit-scrollbar,
#bis-container .raids-demo-carousel::-webkit-scrollbar {
  display: none;
}
#raids-container .raids-demo-track,
#mplus-groups-container .raids-demo-track,
#collections-container .raids-demo-track,
#guides-container .raids-demo-track,
#bis-container .raids-demo-track {
  display: flex;
  gap: 16px;
  padding-bottom: 8px;
  justify-content: center;
}
#raids-container .raids-demo-track .card-event,
#mplus-groups-container .raids-demo-track .card-event,
#collections-container .raids-demo-track .card-event,
#guides-container .raids-demo-track .card-event,
#bis-container .raids-demo-track .card-event {
  flex: 0 0 300px;
  max-width: 300px;
  pointer-events: none;
}
@media (max-width: 1000px) {
  #raids-container .raids-demo-track,
  #mplus-groups-container .raids-demo-track,
  #collections-container .raids-demo-track,
  #guides-container .raids-demo-track,
  #bis-container .raids-demo-track {
    justify-content: flex-start;
  }
}
#raids-container .demo-card,
#mplus-groups-container .demo-card,
#collections-container .demo-card,
#guides-container .demo-card,
#bis-container .demo-card {
  opacity: 0.85;
  pointer-events: none;
  flex-shrink: 0;
}
#raids-container .demo-card .raid-roster-scroll,
#mplus-groups-container .demo-card .raid-roster-scroll,
#collections-container .demo-card .raid-roster-scroll,
#guides-container .demo-card .raid-roster-scroll,
#bis-container .demo-card .raid-roster-scroll {
  max-height: 150px;
}
@media (max-width: 768px) {
  #raids-container .demo-card,
  #mplus-groups-container .demo-card,
  #collections-container .demo-card,
  #guides-container .demo-card,
  #bis-container .demo-card {
    min-width: 280px !important;
    max-width: 280px !important;
  }
}
#raids-container .raids-landing-section-title,
#mplus-groups-container .raids-landing-section-title,
#collections-container .raids-landing-section-title,
#guides-container .raids-landing-section-title,
#bis-container .raids-landing-section-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
#raids-container .raids-landing-features,
#mplus-groups-container .raids-landing-features,
#collections-container .raids-landing-features,
#guides-container .raids-landing-features,
#bis-container .raids-landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 50px;
}
@media (max-width: 768px) {
  #raids-container .raids-landing-features,
  #mplus-groups-container .raids-landing-features,
  #collections-container .raids-landing-features,
  #guides-container .raids-landing-features,
  #bis-container .raids-landing-features {
    grid-template-columns: 1fr;
  }
}
#raids-container .raids-landing-feature,
#mplus-groups-container .raids-landing-feature,
#collections-container .raids-landing-feature,
#guides-container .raids-landing-feature,
#bis-container .raids-landing-feature {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 24px;
  transition: border-color 0.2s ease;
}
#raids-container .raids-landing-feature:hover,
#mplus-groups-container .raids-landing-feature:hover,
#collections-container .raids-landing-feature:hover,
#guides-container .raids-landing-feature:hover,
#bis-container .raids-landing-feature:hover {
  border-color: rgba(163, 53, 238, 0.3);
}
#raids-container .raids-landing-feature .raids-landing-feature-icon,
#mplus-groups-container .raids-landing-feature .raids-landing-feature-icon,
#collections-container .raids-landing-feature .raids-landing-feature-icon,
#guides-container .raids-landing-feature .raids-landing-feature-icon,
#bis-container .raids-landing-feature .raids-landing-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(163, 53, 238, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
#raids-container .raids-landing-feature .raids-landing-feature-icon i,
#mplus-groups-container .raids-landing-feature .raids-landing-feature-icon i,
#collections-container .raids-landing-feature .raids-landing-feature-icon i,
#guides-container .raids-landing-feature .raids-landing-feature-icon i,
#bis-container .raids-landing-feature .raids-landing-feature-icon i {
  font-size: 20px;
  color: #a335ee;
}
#raids-container .raids-landing-feature h3,
#mplus-groups-container .raids-landing-feature h3,
#collections-container .raids-landing-feature h3,
#guides-container .raids-landing-feature h3,
#bis-container .raids-landing-feature h3 {
  margin: 0 0 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
#raids-container .raids-landing-feature p,
#mplus-groups-container .raids-landing-feature p,
#collections-container .raids-landing-feature p,
#guides-container .raids-landing-feature p,
#bis-container .raids-landing-feature p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}
#raids-container .raids-landing-feature code,
#mplus-groups-container .raids-landing-feature code,
#collections-container .raids-landing-feature code,
#guides-container .raids-landing-feature code,
#bis-container .raids-landing-feature code {
  background: rgba(163, 53, 238, 0.15);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  color: #a335ee;
}
#raids-container .raids-landing-how,
#mplus-groups-container .raids-landing-how,
#collections-container .raids-landing-how,
#guides-container .raids-landing-how,
#bis-container .raids-landing-how {
  margin-bottom: 50px;
}
#raids-container .raids-landing-how h2,
#mplus-groups-container .raids-landing-how h2,
#collections-container .raids-landing-how h2,
#guides-container .raids-landing-how h2,
#bis-container .raids-landing-how h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 24px 0;
}
#raids-container .raids-landing-steps,
#mplus-groups-container .raids-landing-steps,
#collections-container .raids-landing-steps,
#guides-container .raids-landing-steps,
#bis-container .raids-landing-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}
#raids-container .raids-landing-step,
#mplus-groups-container .raids-landing-step,
#collections-container .raids-landing-step,
#guides-container .raids-landing-step,
#bis-container .raids-landing-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 18px 20px;
}
#raids-container .raids-landing-step .step-number,
#mplus-groups-container .raids-landing-step .step-number,
#collections-container .raids-landing-step .step-number,
#guides-container .raids-landing-step .step-number,
#bis-container .raids-landing-step .step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(163, 53, 238, 0.2);
  border: 1px solid rgba(163, 53, 238, 0.4);
  color: #a335ee;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
#raids-container .raids-landing-step h4,
#mplus-groups-container .raids-landing-step h4,
#collections-container .raids-landing-step h4,
#guides-container .raids-landing-step h4,
#bis-container .raids-landing-step h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
#raids-container .raids-landing-step p,
#mplus-groups-container .raids-landing-step p,
#collections-container .raids-landing-step p,
#guides-container .raids-landing-step p,
#bis-container .raids-landing-step p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
}
#raids-container .raids-landing-step code,
#mplus-groups-container .raids-landing-step code,
#collections-container .raids-landing-step code,
#guides-container .raids-landing-step code,
#bis-container .raids-landing-step code {
  background: rgba(163, 53, 238, 0.12);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  color: rgba(163, 53, 238, 0.8);
}
#raids-container .raids-landing-cta,
#mplus-groups-container .raids-landing-cta,
#collections-container .raids-landing-cta,
#guides-container .raids-landing-cta,
#bis-container .raids-landing-cta {
  text-align: center;
  padding: 20px 20px;
}
#raids-container .raids-landing-cta .btn-add-bot,
#mplus-groups-container .raids-landing-cta .btn-add-bot,
#collections-container .raids-landing-cta .btn-add-bot,
#guides-container .raids-landing-cta .btn-add-bot,
#bis-container .raids-landing-cta .btn-add-bot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 16px;
}
#raids-container .raids-landing-cta .btn-add-bot i,
#mplus-groups-container .raids-landing-cta .btn-add-bot i,
#collections-container .raids-landing-cta .btn-add-bot i,
#guides-container .raids-landing-cta .btn-add-bot i,
#bis-container .raids-landing-cta .btn-add-bot i {
  font-size: 18px;
  color: #5865F2;
}
#raids-container .raids-landing-cta .btn-add-bot:hover,
#mplus-groups-container .raids-landing-cta .btn-add-bot:hover,
#collections-container .raids-landing-cta .btn-add-bot:hover,
#guides-container .raids-landing-cta .btn-add-bot:hover,
#bis-container .raids-landing-cta .btn-add-bot:hover {
  background: rgba(88, 101, 242, 0.35);
  transform: translateY(-1px);
}
#raids-container .raids-landing-cta .btn-add-bot.disabled,
#mplus-groups-container .raids-landing-cta .btn-add-bot.disabled,
#collections-container .raids-landing-cta .btn-add-bot.disabled,
#guides-container .raids-landing-cta .btn-add-bot.disabled,
#bis-container .raids-landing-cta .btn-add-bot.disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}
#raids-container .raids-landing-cta .raids-landing-cta-text,
#mplus-groups-container .raids-landing-cta .raids-landing-cta-text,
#collections-container .raids-landing-cta .raids-landing-cta-text,
#guides-container .raids-landing-cta .raids-landing-cta-text,
#bis-container .raids-landing-cta .raids-landing-cta-text {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
#raids-container .raids-landing-cta .raids-landing-cta-sub,
#mplus-groups-container .raids-landing-cta .raids-landing-cta-sub,
#collections-container .raids-landing-cta .raids-landing-cta-sub,
#guides-container .raids-landing-cta .raids-landing-cta-sub,
#bis-container .raids-landing-cta .raids-landing-cta-sub {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}
#raids-container .raids-landing-cta .raids-landing-cta-sub code,
#mplus-groups-container .raids-landing-cta .raids-landing-cta-sub code,
#collections-container .raids-landing-cta .raids-landing-cta-sub code,
#guides-container .raids-landing-cta .raids-landing-cta-sub code,
#bis-container .raids-landing-cta .raids-landing-cta-sub code {
  background: rgba(163, 53, 238, 0.12);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  color: rgba(163, 53, 238, 0.8);
}

.role-member.is-editable {
  cursor: pointer;
}
.role-member.is-editable:hover {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.signup-popover {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.signup-popover::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  border-color: rgba(10, 10, 10, 0.95) transparent transparent transparent;
}

.signup-popover-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1.5px;
}

.signup-popover-roles {
  display: flex;
  gap: 4px;
}

.signup-popover-role {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.15s ease;
}
.signup-popover-role:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.signup-popover-role.is-active {
  background: rgba(163, 53, 238, 0.15);
  border-color: rgba(163, 53, 238, 0.4);
  color: #fff;
}

.signup-popover-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
  display: flex;
  justify-content: flex-end;
}

.signup-popover-tentative {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.signup-popover-tentative input {
  cursor: pointer;
}

.dd-home {
  width: 100%;
  color: rgba(255, 255, 255, 0.9);
  padding-bottom: 80px;
}
.dd-home .dd-section {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 32px;
}

@keyframes dd-rise {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dd-glow-pulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(163, 53, 238, 0.35), 0 0 28px -8px rgba(163, 53, 238, 0.55);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(163, 53, 238, 0.5), 0 0 46px -6px rgba(163, 53, 238, 0.55);
  }
}
@keyframes dd-banner-drift {
  0% {
    transform: scale(1.08) translateY(0);
  }
  100% {
    transform: scale(1.12) translateY(-14px);
  }
}
.dd-hero {
  position: relative;
  width: 100%;
  margin-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}

.dd-hero-banner {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center 35%;
  z-index: -2;
  animation: dd-banner-drift 18s ease-in-out infinite alternate;
}

.dd-hero-content {
  position: relative;
  max-width: 1290px;
  margin: 0 auto;
  padding: 30px 32px 90px;
  text-align: center;
}
@media (max-width: 768px) {
  .dd-hero-content {
    padding: 70px 20px 70px;
  }
}

.dd-hero .page-header-badge {
  animation: dd-rise 0.9s 0.1s both;
}

.dd-hero-name {
  font-family: "Cinzel Decorative", serif;
  font-weight: 900;
  font-size: clamp(52px, 9vw, 128px);
  line-height: 0.92;
  margin: 0 0 20px 0;
  letter-spacing: 0.02em;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-shadow: 0 0 60px rgba(163, 53, 238, 0.35), 0 4px 40px rgba(0, 0, 0, 0.85);
  animation: dd-rise 1s 0.2s both;
}
.dd-hero-name .dd-hero-name-word {
  display: block;
}
.dd-hero-name .dd-hero-name-word-first {
  display: inline-block;
  position: relative;
  z-index: 1;
}
.dd-hero-name .dd-hero-name-word-alt {
  background: linear-gradient(180deg, #a335ee 0%, #6d1fa5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dd-hero-logo-desktop {
  position: absolute;
  left: 100%;
  top: -0.5em;
  height: 1.5em;
  width: auto;
  z-index: -1;
  transform: translateX(-0.25em) rotate(15deg);
  pointer-events: none;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
  animation: dd-logo-float 5s ease-in-out infinite;
}
@media (max-width: 900px) {
  .dd-hero-logo-desktop {
    display: none;
  }
}

.dd-hero-logo-mobile {
  display: none;
  margin: 0 auto 20px;
  max-width: 160px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
}
@media (max-width: 900px) {
  .dd-hero-logo-mobile {
    display: block;
  }
}

@keyframes dd-logo-float {
  0%, 100% {
    transform: translateX(-0.25em) translateY(0) rotate(15deg);
  }
  50% {
    transform: translateX(-0.25em) translateY(-6px) rotate(15deg);
  }
}
.dd-hero-logo-centered {
  display: block;
  margin: 0 auto 16px;
  max-width: 120px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
  animation: dd-logo-float 5s ease-in-out infinite;
}
@media (max-width: 768px) {
  .dd-hero-logo-centered {
    max-width: 100px;
  }
}

.dd-hero-name-single {
  display: block;
  background: linear-gradient(180deg, #fff 30%, #a335ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dd-hero-logo-crest {
  display: block;
  margin: 0 auto 12px;
  max-width: 180px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.7));
  animation: dd-logo-float 5s ease-in-out infinite;
}
@media (max-width: 768px) {
  .dd-hero-logo-crest {
    max-width: 140px;
  }
}

.dd-hero-name-crest {
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}

.dd-leadership {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 40px;
  margin-bottom: 18px;
  animation: dd-rise 0.9s 0.15s both;
}

.dd-leader {
  text-align: center;
  width: 72px;
}

.dd-leader-portrait {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 5px;
  border: 2px solid #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}
.dd-leader-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.dd-leader-name {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1px;
}

.dd-leader-rank {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dd-hero-tagline {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto 20px;
  max-width: 580px;
  line-height: 1.5;
  animation: dd-rise 0.9s 0.1s both;
}

.dd-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  color: white;
  font-size: 14px;
  animation: dd-rise 1s 0.55s both;
}
.dd-hero-stats strong {
  font-weight: 700;
  color: #a335ee;
}
.dd-hero-stats em {
  font-style: normal;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-left: 2px;
}
.dd-hero-stats em.dd-diff-normal {
  color: #1eff00;
}
.dd-hero-stats em.dd-diff-heroic {
  color: #a335ee;
}
.dd-hero-stats em.dd-diff-mythic {
  color: #ff8000;
}
.dd-hero-stats em.dd-diff-raid-finder {
  color: rgba(255, 255, 255, 0.6);
}
.dd-hero-stats .dd-hero-stat-sep {
  color: rgba(255, 255, 255, 0.35);
}

.dd-section {
  margin-bottom: 80px;
}
@media (max-width: 768px) {
  .dd-section {
    margin-bottom: 56px;
  }
}

.dd-home .dd-section-activity {
  position: relative;
  z-index: 2;
  margin-top: 0;
}
.dd-home .dd-section-activity .section-header {
  margin-bottom: -60px;
}

.dd-members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1024px) {
  .dd-members-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .dd-members-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .dd-members-grid {
    grid-template-columns: 1fr;
  }
}

.dd-member-card {
  --class-color: #fff;
  --delay: 0s;
  position: relative;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
  animation: dd-rise 0.7s var(--delay) both;
}
.dd-member-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.dd-member-watermark {
  display: none;
}

.dd-member-rank {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: "Muli", sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
  z-index: 2;
}

.dd-member-inner {
  position: relative;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dd-member-info {
  flex: 1;
  min-width: 0;
}

.dd-member-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.dd-member-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.dd-member-name {
  font-family: "Muli", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--class-color);
  margin: 0 0 2px 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dd-member-meta {
  font-family: "Muli", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.dd-member-meta .dd-member-sep {
  margin: 0 4px;
  color: rgba(255, 255, 255, 0.25);
}

.dd-member-ago {
  margin-top: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
}

.dd-timeline-scroll {
  max-height: 480px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}
.dd-timeline-scroll::-webkit-scrollbar {
  width: 4px;
}
.dd-timeline-scroll::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.25);
  border-radius: 2px;
}

.dd-timeline-track {
  display: flex;
  flex-direction: column;
}

.dd-timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}
.dd-timeline-item:last-child {
  border-bottom: none;
}
.dd-timeline-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.dd-timeline-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dd-timeline-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.dd-timeline-icon i {
  font-size: 18px;
}
.dd-timeline-kill .dd-timeline-icon {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.dd-timeline-kill .dd-timeline-icon i {
  color: #ef4444;
}
.dd-timeline-achievement .dd-timeline-icon {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.dd-timeline-achievement .dd-timeline-icon i {
  color: #f59e0b;
}

.dd-timeline-content {
  flex: 1;
  min-width: 0;
}

.dd-timeline-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.dd-timeline-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.dd-timeline-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  white-space: nowrap;
}

.dd-kill-card-ach {
  min-width: 180px !important;
  max-width: 180px;
}

.dd-kill-scroll-vertical {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
}
.dd-kill-scroll-vertical::-webkit-scrollbar {
  width: 4px;
}
.dd-kill-scroll-vertical::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.25);
  border-radius: 2px;
}
.dd-kill-scroll-vertical .dd-kill-track-vertical {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 4px;
  animation: none;
}
@media (max-width: 900px) {
  .dd-kill-scroll-vertical .dd-kill-track-vertical {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 550px) {
  .dd-kill-scroll-vertical .dd-kill-track-vertical {
    grid-template-columns: 1fr;
  }
}
.dd-kill-scroll-vertical .dd-kill-card {
  min-width: 0;
  flex: none;
}

.dd-kill-art-achievement {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(163, 53, 238, 0.1));
}

.dd-kill-portrait-achievement {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}
.dd-kill-portrait-achievement i {
  color: #f59e0b !important;
}

.dd-kill-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 -20px;
  padding: 80px 20px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.dd-kill-scroll::-webkit-scrollbar {
  height: 6px;
}
.dd-kill-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
}
.dd-kill-scroll::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.35);
  border-radius: 3px;
}
.dd-kill-scroll::-webkit-scrollbar-thumb:hover {
  background: #a335ee;
}

.dd-kill-track {
  display: flex;
  gap: 14px;
  padding-bottom: 4px;
}

.dd-kill-scroll-auto {
  overflow: hidden;
}
.dd-kill-scroll-auto .dd-kill-track:hover {
  animation-play-state: paused;
}

.dd-kill-card {
  --delay: 0s;
  flex: 0 0 320px;
  width: 320px;
  position: relative;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 0.2s ease;
  animation: dd-rise 0.6s var(--delay) both;
}
.dd-kill-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.dd-kill-art {
  position: relative;
  width: 100%;
  height: 185px;
  background-color: rgba(0, 0, 0, 0.3);
  background-size: cover;
  background-position: center top;
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dd-kill-art > i {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.2);
}
.dd-kill-art.dd-kill-art-fallback {
  background: rgba(0, 0, 0, 0.3);
}
.dd-kill-art .dd-kill-art-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.25) 30%, rgba(0, 0, 0, 0.85) 65%, rgba(0, 0, 0, 0.97) 100%);
  pointer-events: none;
}
.dd-kill-art .raid-difficulty-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}
.dd-kill-art .dd-kill-art-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.dd-kill-art .dd-kill-art-text {
  flex: 1;
  min-width: 0;
}

.dd-kill-portrait {
  width: 52px;
  height: 52px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dd-kill-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.dd-kill-portrait i {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.4);
}
.dd-kill-portrait.is-placeholder {
  background: rgba(163, 53, 238, 0.08);
}
.dd-kill-portrait.is-placeholder i {
  color: rgba(163, 53, 238, 0.7);
}

.dd-kill-body {
  padding: 10px 16px 14px;
}

.dd-kill-name {
  font-family: "Muli", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 2px 0;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.dd-kill-instance {
  font-size: 11px;
  color: #a335ee;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  white-space: normal;
  line-height: 1.3;
}

.dd-kill-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.dd-kill-meta .dd-kill-sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.25);
}

.dd-home .dd-section-ledger {
  margin-top: 40px;
}

.dd-champ-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 48px;
}

@keyframes dd-champ-shimmer {
  0% {
    background-position: -180px 0;
  }
  100% {
    background-position: 180px 0;
  }
}
@keyframes dd-ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.dd-ticker {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 10000;
}

.dd-ticker-track {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  animation: dd-ticker-scroll 180s linear infinite;
  padding: 6px 0;
}
.dd-ticker-track:hover {
  animation-play-state: paused;
}

.dd-ticker-loading {
  animation: none;
  justify-content: center;
  gap: 16px;
  padding: 8px 20px;
}
.dd-ticker-loading .dd-champ-pill-skeleton {
  border-radius: 8px;
}

.stat.stat-inline.dd-ticker-item {
  padding: 0;
  gap: 5px;
  letter-spacing: 1.5px;
}
.stat.stat-inline.dd-ticker-item .stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  letter-spacing: 1.5px;
}
.stat.stat-inline.dd-ticker-item .stat-value {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.stat.stat-inline.dd-ticker-item .stat-icon {
  color: #a335ee;
  font-size: 12px;
  margin-right: 0;
}

.dd-home .dd-section-graphs {
  margin-top: 40px;
}

.dd-graph-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px;
  transition: border-color 0.2s ease;
}
.dd-graph-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.dd-graph-canvas-wrap {
  position: relative;
  height: 260px;
}
@media (max-width: 600px) {
  .dd-graph-canvas-wrap {
    height: 220px;
  }
}
@media (max-width: 768px) {
  .dd-graph-canvas-wrap .dd-axis-icon {
    display: none !important;
  }
}

.dd-clear-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  vertical-align: middle;
  margin-left: 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.dd-clear-badge.dd-clear-aotc {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.18);
  border: 1px solid rgba(255, 215, 0, 0.5);
}
.dd-clear-badge.dd-clear-ce {
  color: #ff8c42;
  background: rgba(255, 140, 66, 0.2);
  border: 1px solid rgba(255, 140, 66, 0.6);
}

.dd-home .dd-section-crafters {
  margin-top: 40px;
}

.dd-crafters-profs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
}

.dd-crafters-prof-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 4px;
}
.dd-crafters-prof-badge i {
  font-size: 13px;
  color: rgba(163, 53, 238, 0.5);
}

.dd-crafters-search-wrap {
  max-width: 520px;
  margin: 0 auto 20px;
}

.dd-crafters-search-empty {
  text-align: center;
  padding: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.dd-crafters-search-list {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
}

.dd-crafters-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.dd-crafters-search-row:last-child {
  border-bottom: none;
}

.dd-crafters-search-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.dd-crafters-search-info {
  flex: 1;
  min-width: 0;
}

.dd-crafters-search-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #a335ee;
}

.dd-crafters-search-meta {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dd-crafters-search-name {
  text-decoration: none;
}
.dd-crafters-search-name:hover {
  color: #fff !important;
}

.dd-crafters-search-who {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.dd-crafters-search-crafter {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 3px 10px;
  transition: all 0.15s ease;
}
.dd-crafters-search-crafter:hover {
  background: rgba(163, 53, 238, 0.1);
  border-color: rgba(163, 53, 238, 0.3);
}

.dd-crafters-cta {
  text-align: center;
  margin-top: 16px;
}

.dd-crafters-carousel {
  position: relative;
}

.dd-crafters-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(163, 53, 238, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  z-index: 5;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.dd-crafters-arrow i {
  font-size: 16px;
}
.dd-crafters-arrow:hover {
  background: rgba(163, 53, 238, 0.85);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.dd-crafters-arrow.disabled {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 600px) {
  .dd-crafters-arrow {
    display: none;
  }
}

.dd-crafters-arrow-prev {
  left: -10px;
}

.dd-crafters-arrow-next {
  right: -10px;
}

.dd-crafters-ticker {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(163, 53, 238, 0.35) transparent;
  scroll-behavior: auto;
}
.dd-crafters-ticker::-webkit-scrollbar {
  height: 6px;
}
.dd-crafters-ticker::-webkit-scrollbar-track {
  background: transparent;
}
.dd-crafters-ticker::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.3);
  border-radius: 3px;
}
.dd-crafters-ticker::-webkit-scrollbar-thumb:hover {
  background: rgba(163, 53, 238, 0.55);
}

.dd-crafters-ticker-track {
  display: flex;
  gap: 24px;
  width: max-content;
  align-items: flex-start;
  padding-bottom: 8px;
}
.dd-crafters-ticker-track .dd-crafter-column {
  flex: 0 0 280px;
  min-width: 280px;
}

.dd-crafter-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.dd-crafter-column-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dd-crafter-column-header .dd-crafter-column-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}
.dd-crafter-column-header .dd-crafter-column-name {
  font-family: "Muli", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.dd-crafter-column-header .dd-crafter-column-count {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.dd-crafter-column-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 4px;
}
.dd-crafter-column-cards::-webkit-scrollbar {
  width: 4px;
}
.dd-crafter-column-cards::-webkit-scrollbar-track {
  background: transparent;
}
.dd-crafter-column-cards::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.25);
  border-radius: 2px;
}
.dd-crafter-column-cards::-webkit-scrollbar-thumb:hover {
  background: rgba(163, 53, 238, 0.5);
}

.dd-crafter-card {
  min-width: 0;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s ease;
}
.dd-crafter-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.dd-crafter-card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dd-crafter-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dd-crafter-avatar {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  object-fit: cover;
  flex-shrink: 0;
}

.dd-crafter-icon {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}

.dd-crafter-prof-icon-sm {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
}

.dd-crafter-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dd-crafter-prof-name {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dd-crafter-skill {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.dd-crafter-skill-max {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.dd-crafter-bottom-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
}

.dd-crafter-recipes-count {
  font-size: 11px;
  color: #a335ee;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.dd-crafter-card-recipes {
  font-size: 10px;
  color: #a335ee;
  text-align: right;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.dd-crafter-card-clickable {
  cursor: pointer;
}
.dd-crafter-card-clickable:hover {
  border-color: rgba(163, 53, 238, 0.5);
  transform: translateY(-1px);
}

.dd-recipe-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  animation: dd-rise 0.25s ease-out;
}

.dd-recipe-modal-content {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 80vh;
  background: rgba(10, 5, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.dd-recipe-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}
.dd-recipe-modal-close:hover {
  color: #fff;
}

.dd-recipe-modal-header {
  flex-shrink: 0;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dd-recipe-modal-title {
  font-family: "Muli", sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px 0;
}

.dd-recipe-modal-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.dd-recipe-modal-prof-icon {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dd-recipe-modal-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}

.dd-recipe-modal-search {
  flex-shrink: 0;
  margin-bottom: 14px;
}

.dd-recipe-modal-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
}
.dd-recipe-modal-list::-webkit-scrollbar {
  width: 6px;
}
.dd-recipe-modal-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
}
.dd-recipe-modal-list::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.4);
  border-radius: 3px;
}
.dd-recipe-modal-list::-webkit-scrollbar-thumb:hover {
  background: rgba(163, 53, 238, 0.6);
}

.dd-recipe-modal-list-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
}
@media (max-width: 600px) {
  .dd-recipe-modal-list-inner {
    grid-template-columns: 1fr;
  }
}

.dd-recipe-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.15s ease;
  overflow: hidden;
}
.dd-recipe-item:hover {
  color: #fff;
  border-color: rgba(163, 53, 238, 0.4);
  background: rgba(163, 53, 238, 0.1);
}

.dd-recipe-item-icon {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  flex-shrink: 0;
}

.dd-recipe-item-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dd-home .dd-section-glance {
  margin-top: 200px;
}

.dd-glance {
  margin: 0 auto;
  max-width: 680px;
}

.dd-glance-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.dd-glance-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.dd-glance-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

.dd-glance-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dd-glance-legend-name {
  font-weight: 600;
}

.dd-glance-legend-count {
  color: rgba(255, 255, 255, 0.4);
}

.dd-glance-factions {
  display: flex;
  gap: 14px;
  font-size: 11px;
  flex-shrink: 0;
}
.dd-glance-factions strong {
  font-weight: 700;
  margin-right: 2px;
}
.dd-glance-factions .dd-glance-alliance {
  color: #4a9eff;
}
.dd-glance-factions .dd-glance-alliance strong {
  color: #7ebbff;
}
.dd-glance-factions .dd-glance-horde {
  color: #ff6b6b;
}
.dd-glance-factions .dd-glance-horde strong {
  color: #ff8a8a;
}

.dd-champ-pill-skeleton {
  height: 28px;
  width: 180px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(163, 53, 238, 0.18) 50%, rgba(255, 255, 255, 0.04) 100%);
  background-size: 360px 100%;
  animation: dd-champ-shimmer 1.6s ease-in-out infinite;
}

.dd-champ-pill {
  --champ-color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), rgba(0, 0, 0, 0.5));
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
}
.dd-champ-pill:hover {
  transform: translateY(-1px);
}
.dd-champ-pill .dd-champ-pill-crown {
  font-size: 14px;
  color: #ffd700;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
}
.dd-champ-pill .dd-champ-pill-title {
  font-family: "Cinzel Decorative", serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a335ee;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
.dd-champ-pill .dd-champ-pill-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--champ-color);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.dd-champ-pill .dd-champ-pill-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--champ-color);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.dd-ledger-carousel {
  position: relative;
}

.dd-ledger-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(163, 53, 238, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  z-index: 5;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.dd-ledger-arrow i {
  font-size: 16px;
}
.dd-ledger-arrow:hover {
  background: rgba(163, 53, 238, 0.85);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.dd-ledger-arrow.disabled {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 600px) {
  .dd-ledger-arrow {
    display: none;
  }
}

.dd-ledger-arrow-prev {
  left: -10px;
}

.dd-ledger-arrow-next {
  right: -10px;
}

.dd-ledger-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 12px;
  scroll-padding-left: 4px;
}
.dd-ledger-grid::-webkit-scrollbar {
  height: 6px;
}
.dd-ledger-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
}
.dd-ledger-grid::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.35);
  border-radius: 3px;
}
.dd-ledger-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(163, 53, 238, 0.6);
}
.dd-ledger-grid > .dd-ledger-col {
  flex: 0 0 280px;
  scroll-snap-align: start;
}
@media (max-width: 600px) {
  .dd-ledger-grid > .dd-ledger-col {
    flex: 0 0 80vw;
  }
}

.dd-ledger-col {
  height: 300px;
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.dd-ledger-col:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.dd-ledger-col.dd-ledger-col-banner {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.75) 100%), var(--col-bg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.dd-ledger-col .dd-ledger-col-title {
  font-family: "Muli", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  margin: 0;
  flex-shrink: 0;
}
.dd-ledger-col .dd-ledger-col-sub {
  margin: 0 0 10px 0;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}
.dd-ledger-col .dd-ledger-col-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}
.dd-ledger-col .dd-ledger-col-body::-webkit-scrollbar {
  width: 6px;
}
.dd-ledger-col .dd-ledger-col-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
}
.dd-ledger-col .dd-ledger-col-body::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.35);
  border-radius: 3px;
}
.dd-ledger-col .dd-ledger-col-body::-webkit-scrollbar-thumb:hover {
  background: rgba(163, 53, 238, 0.6);
}

.dd-ledger-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  transition: border-color 0.2s ease;
}
.dd-ledger-row:last-child {
  margin-bottom: 0;
}
.dd-ledger-row:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.dd-ledger-row .dd-ledger-rank {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
  width: 22px;
  flex-shrink: 0;
  text-align: center;
}
.dd-ledger-row .dd-ledger-icons {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}
.dd-ledger-row .dd-ledger-icon {
  width: 22px;
  height: 22px;
  border-radius: 3px;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.6);
}
.dd-ledger-row .dd-ledger-row-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dd-ledger-row .dd-ledger-row-value {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: baseline;
  gap: 4px;
  justify-content: flex-end;
  flex-shrink: 0;
}
.dd-ledger-row .dd-ledger-row-value strong {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.dd-ledger-row.dd-ledger-row-2line {
  align-items: flex-start;
}
.dd-ledger-row.dd-ledger-row-2line .dd-ledger-rank {
  margin-top: 4px;
}
.dd-ledger-row .dd-ledger-row-2line-content {
  flex: 1;
  min-width: 0;
}
.dd-ledger-row .dd-ledger-row-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dd-ledger-row .dd-ledger-row-top .dd-ledger-row-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dd-ledger-row .dd-ledger-row-kills {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  padding-left: 0;
}
.dd-ledger-row .dd-ledger-kills-label {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 2px;
}
.dd-ledger-row .dd-ledger-row-bars {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: flex-end;
  flex-shrink: 0;
}
.dd-ledger-row .dd-ledger-bar {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.dd-ledger-row .dd-ledger-bar.dd-diff-normal {
  background: rgba(30, 255, 0, 0.15);
  color: #1eff00;
  border: 1px solid rgba(30, 255, 0, 0.3);
}
.dd-ledger-row .dd-ledger-bar.dd-diff-heroic {
  background: rgba(163, 53, 238, 0.15);
  color: #a335ee;
  border: 1px solid rgba(163, 53, 238, 0.3);
}
.dd-ledger-row .dd-ledger-bar.dd-diff-mythic {
  background: rgba(255, 128, 0, 0.15);
  color: #ff8000;
  border: 1px solid rgba(255, 128, 0, 0.3);
}

.dd-ledger-dungeon-row {
  position: relative;
  margin-bottom: 6px;
  background-color: rgba(0, 0, 0, 0.4);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.dd-ledger-dungeon-row:last-child {
  margin-bottom: 0;
}
.dd-ledger-dungeon-row:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.dd-ledger-dungeon-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}

.dd-ledger-dungeon-inner {
  position: relative;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dd-ledger-dungeon-player {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dd-ledger-dungeon-player .dd-ledger-icon {
  width: 20px;
  height: 20px;
}
.dd-ledger-dungeon-player .dd-ledger-dungeon-rank {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  min-width: 16px;
}
.dd-ledger-dungeon-player .dd-ledger-dungeon-char {
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.dd-ledger-dungeon-player .dd-ledger-dungeon-stats {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dd-ledger-dungeon-player.dd-ledger-dungeon-player-2nd .dd-ledger-icon {
  width: 16px;
  height: 16px;
}
.dd-ledger-dungeon-player.dd-ledger-dungeon-player-2nd .dd-ledger-dungeon-char {
  font-size: 11px;
  font-weight: 600;
}
.dd-ledger-dungeon-player.dd-ledger-dungeon-player-2nd .dd-ledger-dungeon-stats {
  font-size: 10px;
}

.dd-ledger-dungeon-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 2px 0;
}

.dd-ledger-dungeon-bottom {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: nowrap;
}
.dd-ledger-dungeon-bottom .dd-ledger-dungeon-name {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.dd-ledger-dungeon-bottom .dd-ledger-dungeon-level {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.dd-ledger-dungeon-bottom .dd-ledger-dungeon-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.dd-ledger-dungeon-bottom .dd-ledger-dungeon-rating {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.dd-ledger-empty,
.dd-ledger-loading {
  text-align: center;
  padding: 30px 10px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}
.dd-ledger-empty i,
.dd-ledger-loading i {
  color: #a335ee;
  margin-right: 6px;
}

@keyframes dd-scroll-bounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}
.dd-scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  z-index: 9998;
  pointer-events: none;
  box-shadow: 0 6px 24px -6px rgba(255, 255, 255, 0.35);
  animation: dd-scroll-bounce 2s ease-in-out infinite;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.dd-scroll-hint.is-hidden {
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
}

.dd-loading,
.dd-error {
  text-align: center;
  padding: 120px 20px;
  color: rgba(255, 255, 255, 0.55);
}
.dd-loading i,
.dd-error i {
  color: #a335ee;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 18px rgba(163, 53, 238, 0.55));
}
.dd-loading h2,
.dd-error h2 {
  font-family: "Muli", sans-serif;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
  font-size: 24px;
  letter-spacing: 0.02em;
}
.dd-loading p,
.dd-error p {
  font-family: "Muli", sans-serif;
  margin: 0;
  font-size: 16px;
}

.dd-new-guide-banner {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0 auto 40px;
  padding: 0;
  background: rgba(163, 53, 238, 0.12);
  border: 1px solid rgba(163, 53, 238, 0.3);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  max-width: 100%;
  animation: dd-rise 0.8s 0.15s both;
}
.dd-new-guide-banner .dd-new-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}
.dd-new-guide-banner .dd-new-guide-link i {
  color: #a335ee;
  font-size: 16px;
}
.dd-new-guide-banner .dd-new-guide-link:hover .dd-new-guide-title {
  color: #a335ee;
}
.dd-new-guide-banner .dd-new-guide-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  color: #a335ee;
}
.dd-new-guide-banner .dd-new-guide-title {
  font-weight: 600;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.dd-new-guide-banner .dd-new-guide-author {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}
.dd-new-guide-banner .dd-new-guide-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 10px 14px 10px 4px;
  font-size: 14px;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}
.dd-new-guide-banner .dd-new-guide-close:hover {
  color: #fff;
}
@media (max-width: 600px) {
  .dd-new-guide-banner .dd-new-guide-author {
    display: none;
  }
  .dd-new-guide-banner .dd-new-guide-title {
    max-width: 180px;
  }
}

.dd-home .dd-section-guides {
  margin-top: 40px;
}
.dd-home .dd-section-guides .dd-guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  justify-content: center;
  gap: 16px;
}
@media (max-width: 500px) {
  .dd-home .dd-section-guides .dd-guides-grid {
    grid-template-columns: 1fr;
  }
}
.dd-home .dd-section-guides .dd-guides-footer {
  text-align: center;
  margin-top: 24px;
}
.dd-home .dd-section-guides .dd-guides-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a335ee;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border: 1px solid rgba(163, 53, 238, 0.3);
  border-radius: 6px;
  background: rgba(163, 53, 238, 0.1);
  transition: all 0.2s ease;
}
.dd-home .dd-section-guides .dd-guides-view-all:hover {
  background: rgba(163, 53, 238, 0.2);
  border-color: rgba(163, 53, 238, 0.5);
  color: #fff;
}
.dd-home .dd-section-guides .dd-guides-view-all i {
  font-size: 14px;
}

#changelog-container,
#privacy-container,
#terms-container {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}

.changelog-content {
  padding-bottom: 40px;
}

.changelog-divider {
  text-align: center;
  padding: 32px 20px 24px;
}
.changelog-divider .changelog-divider-text {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #a335ee;
  margin-bottom: 4px;
}
.changelog-divider .changelog-divider-sub {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.changelog-entry {
  position: relative;
  padding: 20px 24px;
  margin-bottom: 2px;
  background: rgba(0, 0, 0, 0.3);
}
.changelog-entry:first-child {
  border-radius: 10px 10px 0 0;
}
.changelog-entry:last-child {
  border-radius: 0 0 10px 10px;
}
@media (max-width: 500px) {
  .changelog-entry {
    padding: 16px;
  }
}

.changelog-date {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 6px;
}

.changelog-title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
}

.changelog-entry p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 10px;
}

.changelog-entry a {
  color: #a335ee;
  text-decoration: none;
  transition: color 0.2s ease;
}
.changelog-entry a:hover {
  color: #c56af0;
}

.changelog-entry ul {
  margin: 0 0 10px;
  padding-left: 20px;
}
.changelog-entry ul li {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.changelog-entry code {
  font-size: 12px;
  background: rgba(163, 53, 238, 0.1);
  padding: 1px 5px;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.7);
}

.changelog-entry strong {
  color: rgba(255, 255, 255, 0.8);
}

.changelog-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.changelog-tag {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(163, 53, 238, 0.12);
  border: 1px solid rgba(163, 53, 238, 0.25);
  color: #a335ee;
}

#transmog-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}

.tmog-page-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0;
}

.tmog-page-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tmog-page-tab i {
  font-size: 16px;
}
.tmog-page-tab:hover {
  color: rgba(255, 255, 255, 0.7);
}
.tmog-page-tab.active {
  color: #fff;
  border-bottom-color: #a335ee;
}
@media (max-width: 500px) {
  .tmog-page-tab {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12px;
  }
}

.tmog-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .tmog-layout {
    flex-direction: column;
  }
}

.tmog-sidebar {
  width: 220px;
  flex-shrink: 0;
}
.tmog-sidebar .custom-dropdown {
  min-width: unset;
  width: 100%;
}
.tmog-sidebar .custom-dropdown .dropdown-toggle {
  padding: 6px 10px;
  font-size: 11px;
}
.tmog-sidebar .custom-dropdown .dropdown-menu {
  min-width: 100%;
}
.tmog-sidebar .custom-dropdown .dropdown-item {
  padding: 6px 10px;
  font-size: 11px;
}
@media (max-width: 900px) {
  .tmog-sidebar {
    width: 100%;
  }
  .tmog-sidebar .custom-dropdown .dropdown-toggle, .tmog-sidebar .custom-dropdown .dropdown-item {
    font-size: 12px;
    padding: 8px 12px;
  }
}
@media (max-width: 500px) {
  .tmog-sidebar .custom-dropdown {
    width: 100%;
    min-width: unset;
  }
  .tmog-sidebar .custom-dropdown .dropdown-toggle {
    font-size: 13px;
    padding: 10px 12px;
  }
  .tmog-sidebar .custom-dropdown .dropdown-menu {
    min-width: 100%;
  }
  .tmog-sidebar .custom-dropdown .dropdown-item {
    font-size: 13px;
    padding: 10px 12px;
  }
}

.tmog-sidebar-inner {
  position: sticky;
  top: 70px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
@media (max-width: 900px) {
  .tmog-sidebar-inner {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
    padding: 12px;
  }
}
@media (max-width: 500px) {
  .tmog-sidebar-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }
}

@media (max-width: 900px) {
  .tmog-sidebar-section {
    flex: 1 1 30%;
    min-width: 0;
  }
  .tmog-sidebar-section:has(.tmog-toggle) {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
  }
}
@media (max-width: 500px) {
  .tmog-sidebar-section {
    flex: 1 1 100%;
    width: 100%;
  }
  .tmog-sidebar-section:has(.tmog-toggle) {
    justify-content: flex-start;
    align-items: flex-start;
  }
}

.tmog-sidebar-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}

.tmog-main {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.tmog-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  align-self: center;
  margin-left: auto;
}
@media (max-width: 500px) {
  .tmog-toggle {
    width: 100%;
    align-self: flex-start;
    margin-left: 0;
  }
}
.tmog-toggle input[type=checkbox] {
  accent-color: #a335ee;
}

.tmog-sidebar-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 900px) {
  .tmog-sidebar-stats {
    flex-direction: row;
    width: 100%;
    justify-content: center;
    padding-top: 4px;
  }
}

.tmog-stat {
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 900px) {
  .tmog-stat {
    flex-direction: column;
    flex: 1;
  }
}

.tmog-stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
@media (max-width: 900px) {
  .tmog-stat-value {
    font-size: 14px;
  }
}

.tmog-stat-label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
}

.tmog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
  padding-bottom: 40px;
}
@media (max-width: 900px) {
  .tmog-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.tmog-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.tmog-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
.tmog-card.tmog-complete {
  border-color: rgba(16, 185, 129, 0.15);
  opacity: 0.7;
}
.tmog-card.tmog-complete:hover {
  opacity: 1;
}
.tmog-card.tmog-complete .tmog-set-name {
  color: rgba(255, 255, 255, 0.5);
}
.tmog-card.tmog-complete .tmog-progress-fill {
  background: #10b981;
}

.tmog-card-header {
  padding: 14px 16px 10px;
}

.tmog-card-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.tmog-set-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.tmog-set-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.tmog-armor-tag {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.3);
}

.tmog-expansion-tag {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.25);
}

.tmog-class-pill {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tmog-progress-text {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}

.tmog-diff-tabs-wrap {
  position: relative;
  margin-top: 10px;
  margin-bottom: 8px;
}
.tmog-diff-tabs-wrap .tmog-diff-tabs {
  margin-top: 0;
  margin-bottom: 0;
}
.tmog-diff-tabs-wrap .tmog-diff-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(163, 53, 238, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.85);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
  z-index: 3;
}
.tmog-diff-tabs-wrap .tmog-diff-arrow i {
  font-size: 11px;
  line-height: 1;
}
.tmog-diff-tabs-wrap .tmog-diff-arrow:hover {
  background: rgba(163, 53, 238, 0.85);
  color: #fff;
}
.tmog-diff-tabs-wrap .tmog-diff-arrow.disabled {
  opacity: 0 !important;
  pointer-events: none;
}
.tmog-diff-tabs-wrap.has-overflow:hover .tmog-diff-arrow:not(.disabled) {
  opacity: 1;
}
.tmog-diff-tabs-wrap .tmog-diff-arrow-prev {
  left: -6px;
}
.tmog-diff-tabs-wrap .tmog-diff-arrow-next {
  right: -6px;
}

.tmog-diff-tabs {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  margin-bottom: 8px;
}

.tmog-diff-tab {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.tmog-diff-tab:hover {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.15);
}
.tmog-diff-tab.active {
  background: rgba(163, 53, 238, 0.12);
  border-color: rgba(163, 53, 238, 0.3);
  color: #fff;
}
.tmog-diff-tab.tab-complete .tmog-tab-progress {
  color: #10b981;
}
.tmog-diff-tab .tmog-tab-progress {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.25);
  margin-left: 4px;
}

.tmog-progress-info {
  margin-top: 8px;
}

.tmog-progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.tmog-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: #a335ee;
  transition: width 0.3s ease;
}
.tmog-progress-fill.complete {
  background: #10b981;
}

.tmog-pieces {
  padding: 4px 0 6px;
  display: none;
}
.tmog-pieces.active {
  display: block;
}

.tmog-piece {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  transition: background 0.15s ease;
  cursor: pointer;
}
.tmog-piece:hover {
  background: rgba(255, 255, 255, 0.03);
}
.tmog-piece.owned .tmog-piece-name {
  color: rgba(255, 255, 255, 0.7);
}
.tmog-piece.missing .tmog-piece-name {
  opacity: 0.45;
  color: rgba(255, 255, 255, 0.5);
}
.tmog-piece.missing .tmog-piece-check,
.tmog-piece.missing .tmog-piece-find,
.tmog-piece.missing .tmog-piece-source {
  opacity: 0.45;
}
.tmog-piece.missing:hover .tmog-piece-name,
.tmog-piece.missing:hover .tmog-piece-check,
.tmog-piece.missing:hover .tmog-piece-find,
.tmog-piece.missing:hover .tmog-piece-source {
  opacity: 0.7;
}

.tmog-piece-icon-link {
  flex-shrink: 0;
  line-height: 0;
  cursor: default;
}

.tmog-piece-icon {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  object-fit: cover;
}

.tmog-piece-icon-placeholder {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.tmog-piece-slot {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.25);
  min-width: 65px;
  flex-shrink: 0;
}

.tmog-piece-name {
  font-size: 12px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tmog-piece-name:hover {
  color: #a335ee !important;
}

.tmog-piece-check {
  color: #10b981;
  font-size: 14px;
  flex-shrink: 0;
}

.tmog-piece-find {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  flex-shrink: 0;
}

.tmog-piece-source {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  text-align: right;
}
@media (max-width: 500px) {
  .tmog-piece-source {
    font-size: 8px;
    max-width: 100px;
    white-space: normal;
    line-height: 1.3;
  }
}

@media (max-width: 500px) {
  .tmog-piece {
    padding: 5px 12px;
    gap: 6px;
  }
  .tmog-piece-slot {
    min-width: 45px;
    font-size: 8px;
  }
  .tmog-piece-name {
    font-size: 11px;
  }
  .tmog-piece-icon {
    width: 18px;
    height: 18px;
  }
}
.tmog-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tmog-modal {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(163, 53, 238, 0.2);
  border-radius: 5px;
  padding: 24px;
  max-width: 420px;
  width: 100%;
  position: relative;
}
@media (max-width: 500px) {
  .tmog-modal {
    max-width: unset;
    margin: 0 10px;
    padding: 20px;
  }
}

.tmog-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
}
.tmog-modal-close:hover {
  color: #fff;
}

.tmog-modal-content {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.tmog-modal-icon-link {
  flex-shrink: 0;
  line-height: 0;
  cursor: default;
}

.tmog-modal-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.tmog-modal-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tmog-modal-slot {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
}

.tmog-modal-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.tmog-modal-status {
  font-size: 11px;
  font-weight: 600;
}
.tmog-modal-status.owned {
  color: #10b981;
}
.tmog-modal-status.missing {
  color: rgba(255, 255, 255, 0.35);
}

.tmog-modal-source {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tmog-modal-source-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.tmog-modal-source-row i {
  color: #a335ee;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.tmog-modal-actions {
  display: flex;
  gap: 8px;
}
@media (max-width: 500px) {
  .tmog-modal-actions {
    flex-direction: column;
  }
}

#tmog-add-todo.added {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.tmog-modal-wowhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.tmog-modal-wowhead:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.tmog-loot-dungeon {
  margin-bottom: 24px;
}

.tmog-loot-dungeon-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tmog-loot-dungeon-name i {
  color: #a335ee;
}

.tmog-loot-boss {
  margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.tmog-loot-boss-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  gap: 6px;
}
.tmog-loot-boss-name i {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.tmog-loot-items {
  padding: 4px 0;
}

.mplus-server-group {
  margin-bottom: 24px;
}

.mplus-server-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mplus-server-header i {
  font-size: 18px;
  color: #5865F2;
}
.mplus-server-header span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.mplus-sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
@media (max-width: 500px) {
  .mplus-sessions-grid {
    grid-template-columns: 1fr;
  }
}

.mplus-card-admin-icons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 4px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.card-event:hover .mplus-card-admin-icons {
  opacity: 1;
}

.mplus-make-groups-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.mplus-configure-wrap {
  position: relative;
}
.mplus-configure-wrap .mplus-configure-tip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 10;
}
.mplus-configure-wrap:hover .mplus-configure-tip {
  opacity: 1;
}

.btn-mplus-make-groups {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(163, 53, 238, 0.2);
  border: 1px solid rgba(163, 53, 238, 0.4);
  border-radius: 5px;
  color: #fff;
  font-family: "Muli", sans-serif;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-mplus-make-groups:hover {
  background: rgba(163, 53, 238, 0.35);
  border-color: rgba(163, 53, 238, 0.6);
}
.btn-mplus-make-groups:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-mplus-delete {
  background: rgba(255, 50, 50, 0.15);
  border: 1px solid rgba(255, 50, 50, 0.3);
  border-radius: 4px;
  color: rgba(255, 50, 50, 0.7);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-mplus-delete:hover {
  background: rgba(255, 50, 50, 0.3);
  color: #fff;
}

.mplus-admin-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.mplus-create-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid rgba(163, 53, 238, 0.3);
  border-radius: 6px;
  color: #fff;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mplus-create-btn i {
  font-size: 14px;
  color: #a335ee;
}
.mplus-create-btn:hover {
  background: rgba(163, 53, 238, 0.25);
}

.mplus-create-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mplus-create-form {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(163, 53, 238, 0.2);
  border-radius: 5px;
  position: relative;
  padding: 24px;
  width: 100%;
  max-width: 420px;
}
.mplus-create-form h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: #fff;
}

.mplus-form-field {
  margin-bottom: 12px;
}
.mplus-form-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mplus-form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}

.tentative-icon {
  color: rgba(245, 158, 11, 0.6);
  font-size: 12px;
  margin-left: 2px;
}

.my-guides {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.my-guides-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.my-guides-title {
  font-family: "Muli", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.my-guides-title i {
  margin-right: 6px;
  color: rgba(163, 53, 238, 0.6);
}

.my-guides-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 6px;
  margin-top: 10px;
}
.my-guides-label:first-of-type {
  margin-top: 0;
}

.my-guides-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}

.my-guide-row {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.my-guide-row:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.my-guide-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.03);
}

.my-guide-info {
  padding: 8px 10px 0;
  min-width: 0;
}

.my-guide-name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.my-guide-meta {
  display: flex;
  gap: 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 3px;
}
.my-guide-meta i {
  margin-right: 2px;
}

.my-guide-status-draft {
  color: #f59e0b;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.my-guide-status-published {
  color: #10b981;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.my-guide-actions {
  display: flex;
  gap: 2px;
  padding: 4px 8px 8px;
  margin-top: auto;
}

.my-guide-edit,
.my-guide-delete {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.25);
  font-size: 15px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.my-guide-edit:hover,
.my-guide-delete:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.my-guide-delete:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.guides-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .guides-layout {
    grid-template-columns: 1fr;
  }
}

.guides-main {
  min-width: 0;
}

.guides-sidebar {
  position: sticky;
  top: 68px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 14px;
}
@media (max-width: 900px) {
  .guides-sidebar {
    position: static;
    order: -1;
  }
}

.gs-admin-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.15s ease;
}
.gs-admin-link i {
  font-size: 14px;
}
.gs-admin-link:hover {
  color: #a335ee;
}

.gs-section {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.gs-section:first-child {
  padding-top: 0;
}
.gs-section:last-child {
  border-bottom: none;
}

.gs-expand-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease;
}
.gs-expand-toggle:hover {
  background: rgba(163, 53, 238, 0.12);
  color: #fff;
}
.gs-expand-toggle .gs-expand-chevron {
  font-size: 14px;
  transition: transform 0.25s ease;
}

@media (max-width: 900px) {
  .gs-expand-toggle {
    display: inline-flex;
  }
  .gs-collapsible {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
  }
  .guides-sidebar.is-expanded .gs-collapsible {
    max-height: 2000px;
    opacity: 1;
    pointer-events: auto;
  }
  .guides-sidebar.is-expanded .gs-expand-chevron {
    transform: rotate(180deg);
  }
}
.gs-section-clear {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.gs-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}

.gs-sort-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gs-sort-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 5px 8px;
  font-family: "Muli", sans-serif;
  font-size: 11px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}
.gs-sort-btn i {
  font-size: 13px;
  width: 16px;
  text-align: center;
}
.gs-sort-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.gs-sort-btn.active {
  color: #a335ee;
  background: rgba(163, 53, 238, 0.1);
}

.gs-type-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gs-type-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 5px 8px;
  font-family: "Muli", sans-serif;
  font-size: 11px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}
.gs-type-btn i {
  font-size: 13px;
  width: 16px;
  text-align: center;
}
.gs-type-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.gs-type-btn.active {
  color: #a335ee;
  background: rgba(163, 53, 238, 0.1);
}

.gs-tag-category {
  margin-bottom: 8px;
}
.gs-tag-category:last-child {
  margin-bottom: 0;
}

.gs-tag-cat-label {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}

.gs-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.gs-result-count {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 0 24px;
}
@media (max-width: 1100px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
}

.videos-heading {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 64px;
  margin-bottom: 14px;
}
.videos-heading a {
  color: #a335ee;
  text-decoration: none;
  font-weight: 600;
}
.videos-heading a:hover {
  color: #fff;
}

.videos-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 -20px;
  padding: 4px 20px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.videos-scroll::-webkit-scrollbar {
  height: 6px;
}
.videos-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
}
.videos-scroll::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.35);
  border-radius: 3px;
}
.videos-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(163, 53, 238, 0.6);
}

.videos-track {
  display: flex;
  gap: 14px;
  padding-bottom: 4px;
}

.video-card {
  flex: 0 0 220px;
  width: 220px;
  scroll-snap-align: start;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.video-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.video-card:hover .video-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}
.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(163, 53, 238, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.video-card-play i {
  font-size: 20px;
  color: #fff;
  margin-left: 2px;
}

.video-card-body {
  padding: 10px 12px 12px;
}

.video-card-title {
  font-family: "Muli", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 11px;
}

.video-card-channel {
  color: rgba(163, 53, 238, 0.8);
  font-weight: 600;
}

.video-card-date {
  color: rgba(255, 255, 255, 0.35);
  margin-left: auto;
}

.guide-detail {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.guide-preview-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 171, 0, 0.9);
  color: #1a1a2e;
  font-family: "Muli", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
}
.guide-preview-bar i {
  font-size: 15px;
}

body:has(.guide-preview-bar) {
  padding-top: 38px;
}

body.guide-detail-page .bg-rotator-container {
  display: none !important;
}

body.guide-detail-page {
  background: radial-gradient(ellipse at center, #0a0a0f 40%, #120a1a 100%);
}
body.guide-detail-page::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 250px;
  background: linear-gradient(to top, rgba(163, 53, 238, 0.06) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.guide-hero.content-hero-cover {
  width: 100%;
  min-height: 50vh;
  border-radius: 0;
  padding: 60px 0 36px;
}
@media (max-width: 768px) {
  .guide-hero.content-hero-cover {
    min-height: 40vh;
    padding: 40px 20px 24px;
  }
}
.guide-hero .content-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
.guide-hero .byline-avatar {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.guide-like-btn.liked {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.08);
}
.guide-like-btn.liked i {
  color: #ef4444;
}
.guide-like-btn.liked:hover {
  color: #fff;
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.5);
}

.guide-tags-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.guide-tags-bar a {
  text-decoration: none;
}

body.guide-detail-page .container {
  overflow: visible;
}

.guide-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-layout .guide-toc {
    display: none;
  }
}

.guide-toc {
  position: sticky;
  top: 70px;
}

.guide-toc-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
}

.guide-toc-link {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 4px 0;
  border-left: 2px solid rgba(255, 255, 255, 0.06);
  padding-left: 12px;
  transition: all 0.15s ease;
}
.guide-toc-link:hover {
  color: #fff;
  border-left-color: #a335ee;
}
.guide-toc-link.guide-toc-h3 {
  padding-left: 24px;
  font-size: 11px;
}
.guide-toc-link.guide-toc-h4 {
  padding-left: 36px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.guide-body {
  min-width: 0;
}

.guide-heading {
  color: #fff;
  margin: 32px 0 12px 0;
  scroll-margin-top: 80px;
}
.guide-heading:first-child {
  margin-top: 0;
}

.guide-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}
.guide-text code {
  background: rgba(163, 53, 238, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 13px;
}
.guide-text a {
  color: #a335ee;
  text-decoration: none;
}
.guide-text a:hover {
  color: #fff;
}

.guide-image {
  margin: 20px 0;
}
.guide-image img {
  width: 100%;
  border-radius: 6px;
  display: block;
}
.guide-image figcaption {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}

.guide-video {
  position: relative;
  cursor: pointer;
  margin: 20px 0;
  border-radius: 6px;
  overflow: hidden;
}
.guide-video .guide-video-thumb {
  width: 100%;
  display: block;
}
.guide-video .guide-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(163, 53, 238, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-video .guide-video-play i {
  font-size: 24px;
  color: #fff;
  margin-left: 3px;
}
.guide-video .guide-video-play {
  transition: transform 0.2s ease;
}
.guide-video:hover .guide-video-play {
  transform: translate(-50%, -50%) scale(1.1);
}
.guide-video .guide-video-caption {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  padding: 8px;
}

.guide-callout {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 14px;
  border-left: 3px solid;
}
.guide-callout i {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.guide-callout.guide-callout-tip {
  background: rgba(16, 185, 129, 0.08);
  border-color: #10b981;
  color: rgba(255, 255, 255, 0.8);
}
.guide-callout.guide-callout-tip i {
  color: #10b981;
}
.guide-callout.guide-callout-tip a {
  color: #10b981;
}
.guide-callout.guide-callout-tip a:hover {
  color: #fff;
}
.guide-callout.guide-callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: #f59e0b;
  color: rgba(255, 255, 255, 0.8);
}
.guide-callout.guide-callout-warning i {
  color: #f59e0b;
}
.guide-callout.guide-callout-warning a {
  color: #f59e0b;
}
.guide-callout.guide-callout-warning a:hover {
  color: #fff;
}
.guide-callout.guide-callout-danger {
  background: rgba(239, 68, 68, 0.08);
  border-color: #ef4444;
  color: rgba(255, 255, 255, 0.8);
}
.guide-callout.guide-callout-danger i {
  color: #ef4444;
}
.guide-callout.guide-callout-danger a {
  color: #ef4444;
}
.guide-callout.guide-callout-danger a:hover {
  color: #fff;
}
.guide-callout.guide-callout-note {
  background: rgba(64, 199, 235, 0.08);
  border-color: #40c7eb;
  color: rgba(255, 255, 255, 0.8);
}
.guide-callout.guide-callout-note i {
  color: #40c7eb;
}
.guide-callout.guide-callout-note a {
  color: #40c7eb;
}
.guide-callout.guide-callout-note a:hover {
  color: #fff;
}

.guide-wowhead {
  margin: 12px 0;
}
.guide-wowhead a {
  color: #a335ee;
  font-weight: 600;
  text-decoration: none;
}

.guide-inline-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  vertical-align: text-top;
  margin: 0 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.guide-wowhead-inline {
  color: #a335ee;
  font-weight: 600;
  text-decoration: none;
}
.guide-wowhead-inline:hover {
  color: #fff;
}

.guide-code {
  margin: 16px 0;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
}
.guide-code .guide-code-lang {
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.guide-code pre {
  margin: 0;
  padding: 14px;
  overflow-x: auto;
}
.guide-code code {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.guide-table-wrap {
  margin: 16px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.guide-table-wrap::-webkit-scrollbar {
  height: 4px;
}
.guide-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.25);
  border-radius: 2px;
}

.guide-table {
  display: grid;
  min-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.guide-table-th {
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-table-td {
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.guide-table-td:hover {
  background: rgba(255, 255, 255, 0.02);
}
.guide-table-td strong {
  color: #fff;
}
.guide-table-td a {
  color: #a335ee;
  text-decoration: none;
}
.guide-table-td a:hover {
  color: #fff;
}
.guide-table-td code {
  background: rgba(0, 0, 0, 0.3);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
}

.guide-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 32px 0;
}

.guide-boss-ability {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  margin: 12px 0;
}
.guide-boss-ability .guide-boss-ability-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  flex-shrink: 0;
}
.guide-boss-ability strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
}
.guide-boss-ability p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.guide-updated {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-align: right;
  font-style: italic;
}
.guide-updated i {
  font-size: 12px;
  margin-right: 4px;
  opacity: 0.7;
}

.guide-related {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.guide-related h2 {
  font-size: 18px;
  color: #fff;
  margin: 0 0 16px 0;
}

.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .guide-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-related-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.guide-related-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.guide-related-img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.3);
}

.guide-related-body {
  padding: 10px 12px;
}

.guide-related-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.guide-related-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.guide-heading-collapsible {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  padding-right: 4px;
}
.guide-heading-collapsible .guide-section-toggle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.guide-heading-collapsible:hover .guide-section-toggle {
  color: rgba(255, 255, 255, 0.5);
}
.guide-heading-collapsible.collapsed .guide-section-toggle {
  transform: rotate(-90deg);
}

.guide-share-discord-btn {
  color: rgba(88, 101, 242, 0.8);
}
.guide-share-discord-btn:hover {
  color: #5865f2;
  border-color: rgba(88, 101, 242, 0.4);
  background: rgba(88, 101, 242, 0.12);
}

.guide-share-social.guide-share-twitter:hover {
  background: rgba(29, 161, 242, 0.18);
  border-color: rgba(29, 161, 242, 0.5);
  color: #1da1f2;
}
.guide-share-social.guide-share-facebook:hover {
  background: rgba(24, 119, 242, 0.18);
  border-color: rgba(24, 119, 242, 0.5);
  color: #1877f2;
}

.guide-comments {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-comments-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px 0;
}
.guide-comments-title i {
  margin-right: 6px;
  color: rgba(163, 53, 238, 0.6);
}

.guide-comment-form {
  margin-bottom: 20px;
}

.guide-comment-input {
  margin-bottom: 8px;
}

.guide-comment-login {
  margin-bottom: 20px;
}

.guide-comment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-comment {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.guide-comment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.guide-comment-delete {
  margin-left: auto;
}
.guide-comment-delete:hover {
  color: #ef4444;
}

.guide-comment-body {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.guide-back-top {
  margin: 0 0 10px 0 !important;
  padding: 10px 0 10px 0 !important;
  text-align: right;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guide-back {
  margin-top: 32px;
  padding: 16px 0;
}
.guide-back a {
  color: #a335ee;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.guide-back a:hover {
  color: #fff;
}
.guide-back a i {
  margin-right: 4px;
}

.gm-page {
  max-width: 100%;
  margin: 40px 0 0;
  padding-bottom: 48px;
}

.gm-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.gm-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 600px) {
  .gm-header {
    flex-direction: column;
  }
}

.gm-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px 0;
}

.gm-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.gm-header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.gm-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
}

.gm-btn-back {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}
.gm-btn-back:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.gm-section {
  margin-bottom: 28px;
}

.gm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.gm-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}
.gm-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.gm-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.02);
}

.gm-card-status {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gm-status-draft {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.gm-status-published {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.gm-card-body {
  padding: 12px 14px;
  flex: 1;
}

.gm-card-title {
  font-family: "Muli", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.gm-card-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gm-card-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}

.gm-card-type {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(163, 53, 238, 0.15);
  color: #a335ee;
  border: 1px solid rgba(163, 53, 238, 0.3);
}

.gm-card-stats {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
}
.gm-card-stats i {
  margin-right: 2px;
}

.gm-card-actions {
  display: flex;
  gap: 4px;
  padding: 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  flex-wrap: wrap;
}

.gm-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: "Muli", sans-serif;
  font-size: 10px;
  font-weight: 600;
  border: none;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}
.gm-action i {
  font-size: 13px;
}
.gm-action:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.gm-action-edit:hover {
  color: #a335ee;
  background: rgba(163, 53, 238, 0.08);
}

.gm-action-view:hover {
  color: #40c7eb;
  background: rgba(64, 199, 235, 0.08);
}

.gm-action-toggle:hover {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

.gm-action-delete:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.gm-input {
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  color: #fff;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s ease;
}
.gm-input:focus {
  border-color: rgba(163, 53, 238, 0.4);
}
.gm-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

select.gm-input {
  appearance: none;
  padding-right: 24px;
  cursor: pointer;
}

.gm-count {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.2);
}

.gm-tag-add-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.gm-tag-add-row input {
  width: 160px;
}
@media (max-width: 600px) {
  .gm-tag-add-row {
    flex-wrap: wrap;
  }
  .gm-tag-add-row input, .gm-tag-add-row select {
    flex: 1;
    min-width: 100px;
  }
}

.gm-tag-cat-select {
  width: 120px;
}

.gm-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gm-upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: default;
}
.gm-upload-dropzone > i {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 8px;
}
.gm-upload-dropzone p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 4px;
}
.gm-upload-dropzone span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}
.gm-upload-dropzone.dragover {
  border-color: rgba(163, 53, 238, 0.4);
  background: rgba(163, 53, 238, 0.04);
}
.gm-upload-dropzone.dragover > i {
  color: #a335ee;
}

.gm-upload-progress {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.gm-upload-item {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
}
.gm-upload-item.success {
  color: #10b981;
}
.gm-upload-item.error {
  color: #ef4444;
}

.gm-image-uploaded {
  border-color: rgba(163, 53, 238, 0.2);
  position: relative;
}
.gm-image-uploaded .gm-image-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  opacity: 0;
}
.gm-image-uploaded:hover .gm-image-delete {
  opacity: 1;
}

.gm-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}
.gm-image-grid.gm-image-grid-icons {
  grid-template-columns: repeat(auto-fill, 50px);
}

.gm-image-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
}
.gm-image-card img {
  width: 100%;
  height: 65px;
  object-fit: cover;
  display: block;
}
.gm-image-card span {
  display: block;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.35);
  padding: 4px 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gm-image-card.gm-image-clickable {
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.gm-image-card.gm-image-clickable:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}
.gm-image-card.gm-image-icon {
  width: 50px;
}
.gm-image-card.gm-image-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.gm-image-card.gm-image-icon span {
  font-size: 7px;
  padding: 2px 3px;
}

#link-container {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}

.link-page {
  padding-bottom: 40px;
}

.link-visual {
  text-align: center;
  margin: 30px 0;
}

.link-icon-card {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 24px 40px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.link-icon-card .la-discord {
  font-size: 48px;
  color: #5865F2;
}
.link-icon-card .link-bnet-logo {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.link-icon-card.link-success {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

.link-connector {
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-connector i {
  font-size: 24px;
  color: #a335ee;
}
.link-connector .la-check-circle {
  color: #10b981;
}

.link-status-text {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #10b981;
}

.link-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.link-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.link-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(163, 53, 238, 0.2);
  border: 1px solid rgba(163, 53, 238, 0.4);
  color: #a335ee;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-step h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.link-step h4 code {
  font-size: 13px;
  background: rgba(163, 53, 238, 0.1);
  padding: 1px 6px;
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.7);
}

.link-step p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.link-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
@media (max-width: 600px) {
  .link-features {
    grid-template-columns: 1fr;
  }
}

.link-feature {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}
.link-feature i {
  font-size: 24px;
  color: #a335ee;
  margin-bottom: 10px;
}
.link-feature h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.link-feature p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.link-cta {
  text-align: center;
  margin-top: 24px;
}
.link-cta .link-cta-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 16px;
}

.link-btn {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid rgba(163, 53, 238, 0.3);
  border-radius: 6px;
  color: #fff;
  font-family: "Muli", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin: 0 6px;
  transition: all 0.2s ease;
}
.link-btn:hover {
  background: rgba(163, 53, 238, 0.25);
}

.bis-page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.bis-page-bg .bis-page-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 2s ease-in-out;
}
.bis-page-bg .bis-page-bg-layer-1 {
  opacity: 1;
  z-index: 1;
}
.bis-page-bg .bis-page-bg-layer-2 {
  opacity: 0;
  z-index: 2;
}
.bis-page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}
.bis-page-bg.active {
  opacity: 1;
}

.bis-page {
  padding-bottom: 48px;
}

.bis-hero-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}
.bis-hero-meta span {
  display: flex;
  align-items: center;
}

.bis-class-hero-lockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.bis-class-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  font-size: 35px;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
  text-shadow: none;
}
.bis-class-title .bis-title-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .bis-class-title {
    font-size: 32px;
  }
  .bis-class-title .bis-title-icon {
    width: 36px;
    height: 36px;
  }
}

.bis-spec-title {
  text-align: center;
  font-size: 35px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 30px 0 20px;
  background: linear-gradient(180deg, #fff 0%, transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.bis-class-cinders {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
  overflow: visible;
}
.bis-class-cinders span {
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 2px;
  background: var(--class-color);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 4px 1px var(--class-color);
  animation: bis-cinder-rise 3.5s ease-out infinite;
}
.bis-class-cinders span:nth-child(1) {
  left: 8%;
  animation-delay: 0s;
}
.bis-class-cinders span:nth-child(2) {
  left: 22%;
  animation-delay: 0.7s;
}
.bis-class-cinders span:nth-child(3) {
  left: 38%;
  animation-delay: 1.4s;
}
.bis-class-cinders span:nth-child(4) {
  left: 52%;
  animation-delay: 0.3s;
}
.bis-class-cinders span:nth-child(5) {
  left: 65%;
  animation-delay: 2s;
}
.bis-class-cinders span:nth-child(6) {
  left: 78%;
  animation-delay: 1.1s;
}
.bis-class-cinders span:nth-child(7) {
  left: 88%;
  animation-delay: 0.5s;
}
.bis-class-cinders span:nth-child(8) {
  left: 45%;
  animation-delay: 1.8s;
}
.bis-class-cinders span:nth-child(odd) {
  width: 3px;
  height: 3px;
  animation-duration: 3.5s;
}

@keyframes bis-cinder-rise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  15% {
    opacity: 0.4;
  }
  40% {
    opacity: 0.3;
  }
  70% {
    opacity: 0.15;
  }
  100% {
    transform: translateY(-55px) translateX(8px) scale(0.2);
    opacity: 0;
  }
}
.bis-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bis-back {
  background: none;
  border: none;
  color: #a335ee;
  font-family: "Muli", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 0.15s ease;
}
.bis-back i {
  margin-right: 4px;
}
.bis-back:hover {
  color: #fff;
}

.bis-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bis-meta-item {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}
.bis-meta-item i {
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.2);
}

.bis-class-icons-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.bis-class-icons-row .bis-class-icon-nav {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}
.bis-class-icons-row .bis-class-icon-nav:hover {
  transform: scale(1.15);
}
@media (max-width: 768px) {
  .bis-class-icons-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .bis-class-icons-row .bis-class-icon-nav {
    width: 36px;
    height: 36px;
  }
}

.bis-class-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.bis-class-card {
  width: calc(25% - 12px);
}
@media (max-width: 768px) {
  .bis-class-card {
    width: calc(33.333% - 12px);
  }
}
@media (max-width: 480px) {
  .bis-class-card {
    width: calc(50% - 12px);
  }
}

.bis-class-card {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.6);
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;
}
.bis-class-card:hover {
  transform: translateY(-2px);
}

.bis-class-card-banner {
  position: relative;
  overflow: hidden;
}

.bis-class-card-img {
  display: block;
  width: 100%;
  height: auto;
}

.bis-class-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
}

.bis-class-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  padding: 0 16px;
  z-index: 2;
  text-align: center;
}

.bis-class-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 6px;
}

.bis-class-name {
  display: block;
  font-family: "Muli", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.bis-class-specs {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1px;
}

.bis-spec-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.bis-spec-card {
  width: calc(25% - 12px);
}
@media (max-width: 768px) {
  .bis-spec-card {
    width: calc(33.333% - 12px);
  }
}
@media (max-width: 480px) {
  .bis-spec-card {
    width: calc(50% - 12px);
  }
}

.bis-spec-card {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.6);
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
.bis-spec-card.bis-spec-active {
  box-shadow: 0 0 12px color-mix(in srgb, var(--class-color), transparent 60%);
}

.bis-spec-card-banner {
  position: relative;
  overflow: hidden;
}

.bis-spec-card-img {
  display: block;
  width: 100%;
  height: auto;
}

.bis-spec-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
}

.bis-spec-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  padding: 0 16px;
  z-index: 2;
  text-align: center;
}

.bis-spec-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  object-fit: cover;
}

.bis-spec-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.bis-loading {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}
.bis-loading i {
  display: block;
  font-size: 24px;
  margin-bottom: 12px;
}

.bis-empty {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.3);
}
.bis-empty > i {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
  opacity: 0.3;
}
.bis-empty p {
  font-size: 14px;
  margin: 0 0 6px;
}
.bis-empty span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}

.bis-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .bis-slots {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .bis-slots {
    grid-template-columns: 1fr;
  }
}

.bis-slot {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.bis-slot:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.bis-slot-header {
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}
.bis-slot-header i {
  display: none;
}

.bis-slot-items {
  padding: 6px 0;
}

.bis-slot-empty {
  padding: 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.15);
}

.bis-item {
  padding: 8px 14px;
  transition: background 0.15s ease;
}
.bis-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.bis-item-top .bis-item-name {
  font-weight: 700;
}

.bis-item-main {
  margin-bottom: 4px;
}

.bis-item-name {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.bis-item-name:hover {
  opacity: 0.8;
}
.bis-item-name img, .bis-item-name .iconlarge, .bis-item-name .iconmedium, .bis-item-name .iconsmall {
  margin-right: 6px;
  vertical-align: middle;
}

.bis-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 2px;
  margin-top: 2px;
}

.bis-item-ilvl, .bis-item-pop {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}
.bis-item-ilvl strong, .bis-item-pop strong {
  color: rgba(255, 255, 255, 0.6);
}

.bis-item-sep {
  color: rgba(255, 255, 255, 0.15);
}

.bis-enhancements {
  margin-top: 8px;
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.15);
}

.bis-enhance-title {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 8px;
}

.bis-enhance-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bis-enhance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.bis-enhance-row a {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}
.bis-enhance-row a:hover {
  color: #fff;
}
.bis-enhance-row a i {
  margin-right: 4px;
}
.bis-enhance-row a img, .bis-enhance-row a .iconsmall {
  margin-right: 6px;
  vertical-align: middle;
}

.bis-enchant-link {
  color: #10b981;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.bis-enchant-link i {
  margin-right: 4px;
}
.bis-enchant-link:hover {
  color: #fff;
}

.bis-gem-link {
  color: #40c7eb;
}

.bis-crafters {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0 2px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
}

.bis-crafter {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
}
.bis-crafter:hover {
  filter: brightness(1.3);
}

.bis-enhance-pct {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.guild-preview-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  padding: 6px 16px;
  background: rgba(163, 53, 238, 0.9);
  color: #fff;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.guild-preview-banner i {
  margin-right: 4px;
}
.guild-preview-banner a {
  color: #fff;
  margin-left: 12px;
  text-decoration: underline;
}

.sa-page {
  max-width: 100%;
  margin: 40px 0 0;
  padding-bottom: 48px;
}

.sa-header {
  margin-bottom: 20px;
}

.sa-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.sa-title i {
  color: #a335ee;
  margin-right: 8px;
}

.sa-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.sa-stat-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.sa-stat-card i {
  font-size: 24px;
  display: block;
  margin-bottom: 8px;
}

.sa-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}

.sa-stat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
}

.sa-section {
  margin-bottom: 28px;
}

.sa-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sa-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
}

.sa-muted {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
}

.sa-guild-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sa-guild-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.sa-guild-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.sa-guild-info strong {
  color: #fff;
}

.sa-guild-domain {
  color: #a335ee;
  text-decoration: none;
  font-size: 12px;
}
.sa-guild-domain:hover {
  color: #fff;
}

.sa-guild-status {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 3px;
}
.sa-guild-status.active {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.sa-guild-status.inactive {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.sa-guild-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 14px;
}

.sa-guild-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.sa-guild-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.sa-guild-card-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.sa-guild-card-body {
  padding: 12px 16px;
}

.sa-guild-field {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  padding: 3px 0;
}

.sa-field-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.25);
  min-width: 70px;
}

.sa-guild-card-actions {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.sa-action-edit:hover {
  color: #a335ee;
}

.sa-action-toggle:hover {
  color: #f59e0b;
}

.sa-action-delete:hover {
  color: #ef4444;
}

.sa-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sa-modal {
  background: #0d0d0f;
  border: 1px solid rgba(163, 53, 238, 0.2);
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sa-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sa-modal-header h2 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.sa-modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  cursor: pointer;
}
.sa-modal-close:hover {
  color: #fff;
}

.sa-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.sa-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sa-form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 4px;
}
@media (max-width: 500px) {
  .sa-form-row {
    flex-direction: column;
  }
}

.sa-form-field {
  flex: 1;
  margin-bottom: 12px;
}
.sa-form-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.sa-hint {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.2);
}

.sa-settings-form {
  max-width: 500px;
}

.sa-guild-admins-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 12px 16px;
}

.sa-admins-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sa-admins-header {
  margin-bottom: 4px;
}

.sa-admin-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  font-size: 12px;
}

.sa-admin-tag {
  flex: 1;
  color: rgba(255, 255, 255, 0.7);
}

.sa-admin-role {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(163, 53, 238, 0.7);
}

.sa-admin-add {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin-top: 8px;
}
.sa-admin-add .sa-admin-input {
  flex: 1;
  max-width: 240px;
}

#user-management-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}

.um-content {
  padding: 0 0 40px;
}

.um-loading, .um-empty {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}
.um-loading i, .um-empty i {
  margin-right: 6px;
}

.um-summary {
  text-align: center;
  margin-bottom: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.um-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.um-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: border-color 0.2s ease;
}
.um-row:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.um-row.um-row-banned {
  opacity: 0.5;
  border-color: rgba(239, 68, 68, 0.2);
}

.um-row-info {
  flex: 1;
  min-width: 0;
}

.um-row-main {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.um-battletag {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.um-character {
  font-size: 13px;
  font-weight: 600;
}

.um-character-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

.um-badge-discord {
  font-size: 14px;
  color: #5865F2;
}

.um-badge-mod {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a335ee;
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid rgba(163, 53, 238, 0.3);
  padding: 2px 8px;
  border-radius: 10px;
}
.um-badge-mod i {
  margin-right: 2px;
  font-size: 10px;
}

.um-badge-guildie {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 10px;
}
.um-badge-guildie i {
  margin-right: 2px;
  font-size: 10px;
}

.um-badge-banned {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 2px 8px;
  border-radius: 10px;
}
.um-badge-banned i {
  margin-right: 2px;
  font-size: 10px;
}

.um-row-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

.um-row-actions {
  flex-shrink: 0;
  margin-left: 16px;
}

@media (max-width: 600px) {
  .um-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .um-row-actions {
    margin-left: 0;
  }
  .um-row-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
}
.sa-crafters-add {
  text-align: center;
  margin-bottom: 20px;
}

.sa-crafters-add-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.sa-crafter-search-field {
  width: 300px;
  position: relative;
}

.sa-crafter-search-results {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #131316;
  border: 1px solid rgba(163, 53, 238, 0.25);
  border-radius: 5px;
  margin-top: 4px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.sa-crafter-result {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.7);
  font-family: "Muli", sans-serif;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.1s ease;
}
.sa-crafter-result:hover {
  background: rgba(163, 53, 238, 0.1);
  color: #fff;
}
.sa-crafter-result:last-child {
  border-bottom: none;
}

.sa-crafters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.sa-crafter-card {
  cursor: default;
}
.sa-crafter-card .sa-crafter-remove {
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.sa-crafter-card:hover .sa-crafter-remove {
  opacity: 1;
}

.sa-crafter-result-empty {
  padding: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

#site-admin-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}

.sa-content {
  padding: 0 0 60px;
}

.sa-config-section {
  margin-bottom: 32px;
}

.sa-logo-editor {
  display: flex;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .sa-logo-editor {
    flex-direction: column;
    gap: 20px;
  }
}

.sa-logo-preview-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
}

.sa-logo-current {
  flex-shrink: 0;
  text-align: center;
}

.sa-logo-preview {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid #a335ee;
  border-radius: 8px;
  padding: 16px;
}
.sa-logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.sa-logo-variations {
  min-width: 0;
}

.sa-logo-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sa-logo-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sa-logo-slot .sa-logo-remove {
  opacity: 0;
  transition: opacity 0.15s ease;
}
.sa-logo-slot:hover .sa-logo-remove {
  opacity: 1;
}

.sa-logo-option {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.sa-logo-option img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}
.sa-logo-option:hover {
  border-color: rgba(163, 53, 238, 0.4);
}
.sa-logo-option.is-active {
  border-color: #a335ee;
  background: rgba(163, 53, 238, 0.08);
}

.sa-logo-add {
  width: 140px;
}

.sa-logo-add-dropzone {
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}
.sa-logo-add-dropzone i {
  font-size: 20px;
}
.sa-logo-add-dropzone span {
  font-size: 9px;
  text-align: center;
  line-height: 1.3;
}
.sa-logo-add-dropzone:hover, .sa-logo-add-dropzone.dragover {
  border-color: rgba(163, 53, 238, 0.4);
  color: #a335ee;
}

.sa-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .sa-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.sa-layout-col {
  min-width: 0;
}

.sa-layout-hint {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 20px;
}

.sa-wireframe {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sa-wireframe-row {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: grab;
  transition: all 0.2s ease;
  user-select: none;
}
.sa-wireframe-row:hover {
  border-color: rgba(163, 53, 238, 0.4);
  background: rgba(163, 53, 238, 0.05);
}
.sa-wireframe-row.sa-dragging {
  opacity: 0.4;
  cursor: grabbing;
}
.sa-wireframe-row.sa-drag-over {
  border-color: #a335ee;
  border-style: solid;
  background: rgba(163, 53, 238, 0.1);
  transform: scale(1.01);
}

.sa-wireframe-handle {
  color: rgba(255, 255, 255, 0.3);
  font-size: 20px;
  margin-right: 16px;
}
.sa-wireframe-row:hover .sa-wireframe-handle {
  color: #a335ee;
}

.sa-wireframe-label {
  flex: 1;
  text-align: center;
  font-family: "Muli", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sa-layout-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.sa-hero-templates {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sa-hero-template {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  color: #fff;
  font-family: "Muli", sans-serif;
}
.sa-hero-template:hover {
  border-color: rgba(163, 53, 238, 0.3);
  background: rgba(163, 53, 238, 0.04);
}
.sa-hero-template.is-active {
  border-color: #a335ee;
  background: rgba(163, 53, 238, 0.08);
}

.sa-hero-template-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sa-hero-template-label {
  font-size: 13px;
  font-weight: 700;
}

.sa-hero-template-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.sa-hero-wf-preview {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  pointer-events: none;
}

.sa-hero-wf-banner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(163, 53, 238, 0.15) 0%, rgba(30, 30, 40, 0.4) 100%);
}

.sa-hero-wf-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 8px;
  gap: 3px;
}

.sa-hero-wf-tagline {
  width: 50%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1px;
}

.sa-hero-wf-stats {
  width: 45%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
}

.sa-hero-wf-split {
  text-align: center;
}

.sa-hero-wf-word1 {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  display: inline-block;
}

.sa-hero-wf-logo-dot {
  position: absolute;
  top: -3px;
  right: -7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(163, 53, 238, 0.5);
}

.sa-hero-wf-word2 {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, #a335ee, #6d1fa5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sa-hero-wf-logo-center {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(163, 53, 238, 0.4);
}

.sa-hero-wf-name-single {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.sa-hero-wf-logo-large {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(163, 53, 238, 0.4);
}

.sa-hero-wf-name-small {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sa-guides-summary {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}

.sa-guides-section {
  margin-bottom: 28px;
}

.sa-guides-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sa-guides-section-label i {
  font-size: 14px;
}

.sa-guides-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sa-guides-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1024px) {
  .sa-guides-2col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.sa-guides-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sa-guides-section-count {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  margin-left: 2px;
}

.sa-guide-archived-hint {
  color: rgba(255, 171, 0, 0.7) !important;
}

.sa-archived-hint {
  font-weight: 400;
  text-transform: none;
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  letter-spacing: 0;
  margin-left: 4px;
}

.sa-guides-section-archived {
  opacity: 0.9;
}

.sa-tag-add-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.sa-tag-input {
  flex: 1;
  max-width: 240px;
}

.sa-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sa-image-filter-wrap {
  margin-bottom: 16px;
}

.sa-image-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1024px) {
  .sa-image-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .sa-image-column-list {
    flex-direction: row !important;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none !important;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .sa-image-column-list::-webkit-scrollbar {
    height: 4px !important;
    width: 0;
  }
  .sa-image-column-list .sa-image-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
}
.sa-image-column {
  min-width: 0;
}

.sa-image-column-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 700px;
  overflow-y: auto;
  padding-right: 4px;
}
.sa-image-column-list::-webkit-scrollbar {
  width: 4px;
}
.sa-image-column-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.sa-image-column-list .sa-image-card {
  flex-shrink: 0;
}
.sa-image-column-list .sa-image-card img {
  aspect-ratio: 16/9;
}

.sa-count {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
}

.sa-upload-area {
  margin-bottom: 12px;
}

.sa-upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  transition: all 0.2s ease;
}
.sa-upload-dropzone i {
  font-size: 28px;
  margin-bottom: 4px;
}
.sa-upload-dropzone span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}
.sa-upload-dropzone.dragover {
  border-color: #a335ee;
  background: rgba(163, 53, 238, 0.05);
  color: #a335ee;
}

.sa-upload-progress {
  margin-top: 8px;
}

.sa-upload-item {
  padding: 6px 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.sa-upload-item.success {
  color: #4CAF50;
}
.sa-upload-item.error {
  color: #ff4444;
}

.sa-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.sa-image-grid.sa-image-grid-icons {
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
}

.sa-image-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}
.sa-image-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.sa-image-card span {
  display: block;
  padding: 4px 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sa-image-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}
.sa-image-card.sa-image-icon img {
  aspect-ratio: 1;
  object-fit: cover;
}
.sa-image-card.sa-image-clickable {
  cursor: pointer;
}
.sa-image-card.sa-image-clickable:hover {
  border-color: rgba(163, 53, 238, 0.4);
}

.sa-image-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  opacity: 0;
}
.sa-image-card:hover .sa-image-delete {
  opacity: 1;
}
.sa-image-delete:hover {
  color: #ff4444;
  background: rgba(0, 0, 0, 0.8);
}

.sa-subtab-row {
  display: flex;
  align-items: center;
  gap: var(--ui-space-2);
  padding: var(--ui-space-2) 0 var(--ui-space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: var(--ui-space-3);
}
.sa-subtab-row > .tabs {
  flex: 1;
  border-bottom: 0;
  margin-bottom: 0;
}

.sa-events-group + .sa-events-group {
  margin-top: var(--ui-space-4);
}

.sa-events-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 var(--ui-space-2);
}

.sa-events-rows {
  display: flex;
  flex-direction: column;
  gap: var(--ui-space-2);
}

.sa-bl-add {
  display: flex;
  gap: 8px;
  margin: 12px 0 16px;
  align-items: stretch;
  flex-wrap: wrap;
}
.sa-bl-add .sa-bl-name {
  flex: 1 1 200px;
  max-width: 240px;
}
.sa-bl-add .sa-bl-realm {
  flex: 1 1 200px;
  max-width: 280px;
}

#housing-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 317px);
}

.hs-toolbar {
  margin-bottom: 14px;
}

.hs-search-wrap {
  max-width: 520px;
  margin: 0 auto;
}

.hs-content {
  padding: 0 0 60px;
}

.hs-currency-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hs-currency-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.55);
  font-family: "Muli", sans-serif;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.hs-currency-chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.hs-currency-chip.active {
  color: #fff;
  background: rgba(230, 195, 95, 0.15);
  border-color: rgba(230, 195, 95, 0.4);
}
.hs-currency-chip .hs-currency-chip-count {
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
}
.hs-currency-chip.active .hs-currency-chip-count {
  background: rgba(230, 195, 95, 0.3);
  color: #fff;
}

.hs-section {
  margin-bottom: 32px;
}
.hs-section:last-child {
  margin-bottom: 16px;
}

.hs-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Muli", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.hs-section-title i {
  font-size: 16px;
  color: #a335ee;
}

.hs-section-count {
  font-size: 11px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.35);
}

.hs-empty {
  text-align: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}
.hs-empty i {
  font-size: 24px;
  margin-right: 6px;
}

.hs-note-banner {
  padding: 12px 14px;
  margin-bottom: 20px;
  background: rgba(163, 53, 238, 0.08);
  border: 1px solid rgba(163, 53, 238, 0.2);
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.hs-note-banner i {
  color: #a335ee;
  margin-right: 6px;
}

.hs-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.hs-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hs-item-list li {
  padding: 4px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}
.hs-item-list li:last-child {
  border-bottom: none;
}
.hs-item-list li a {
  text-decoration: none;
}
.hs-item-list li a:hover {
  text-decoration: underline;
}
.hs-item-list li .hs-wh-link {
  font-weight: 600;
}
.hs-item-list .hs-item-note {
  color: rgba(255, 171, 0, 0.7);
  font-style: italic;
  font-size: 11px;
}

.hs-item-entry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hs-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.hs-vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.hs-vendor-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}
.hs-vendor-card:hover {
  border-color: rgba(163, 53, 238, 0.25);
}

.hs-vendor-header {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hs-vendor-name {
  font-family: "Muli", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.hs-vendor-zone {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}
.hs-vendor-zone i {
  margin-right: 4px;
  color: rgba(163, 53, 238, 0.7);
}

.hs-vendor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.hs-vendor-meta i {
  margin-right: 3px;
}

.hs-vendor-currency i {
  color: #e6c35f;
}

.hs-vendor-renown i {
  color: #60b4ff;
}

.hs-drop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.hs-drop-card {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.hs-drop-header {
  margin-bottom: 8px;
}

.hs-drop-boss {
  font-family: "Muli", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.hs-drop-instance {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1px;
}

.hs-drop-meta {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
  font-size: 11px;
  color: rgba(255, 171, 0, 0.6);
  font-style: italic;
}

.hs-quest-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}

.hs-quest-card {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.hs-quest-header {
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hs-quest-name {
  font-family: "Muli", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffe066;
}

.hs-quest-giver {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}
.hs-quest-giver i {
  margin-right: 3px;
  color: rgba(96, 180, 255, 0.6);
}

.hs-achieve-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}

.hs-achieve-card {
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.hs-achieve-name {
  font-family: "Muli", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffc125;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hs-prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.hs-prof-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 14px 16px;
}

.hs-prof-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hs-prof-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.hs-prof-name {
  flex: 1;
  font-family: "Muli", sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.hs-prof-count {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 10px;
}

.craft-crafter {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .craft-crafter {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.craft-crafter-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.craft-crafter-name {
  font-size: 18px;
  font-weight: 700;
}

.craft-crafter-realm {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 5px;
}

.craft-crafter-tag {
  font-size: 11px;
  color: #00adf0;
  font-weight: 600;
}

.craft-crafter-prof {
  display: flex;
  align-items: center;
  gap: 10px;
}

.craft-crafter-prof-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.craft-skill-bar {
  width: 120px;
  height: 18px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  overflow: hidden;
  position: relative;
}

.craft-skill-fill {
  height: 100%;
  background: linear-gradient(90deg, #a335ee, #ff8000);
  border-radius: 9px;
  transition: width 0.4s ease;
}

.craft-skill-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.craft-crafter-row1 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.craft-crafter-prof-sm {
  margin-left: auto;
}
.craft-crafter-prof-sm .craft-crafter-prof-name {
  font-size: 10px;
  letter-spacing: 1px;
}
.craft-crafter-prof-sm .craft-skill-bar {
  width: 80px;
  height: 14px;
  border-radius: 7px;
}
.craft-crafter-prof-sm .craft-skill-text {
  font-size: 8px;
}

.craft-crafter-stats {
  display: flex;
  gap: 16px;
  margin-left: auto;
}
@media (max-width: 768px) {
  .craft-crafter-stats {
    margin-left: 0;
  }
}

.craft-stat {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.craft-stat small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 3px;
}

.craft-back {
  margin-bottom: 16px;
}

.craft-actions {
  display: flex;
  justify-content: center;
  margin: 0 0 16px;
}

.craft-search-bar {
  max-width: 520px;
  margin: 0 auto 20px;
}

.craft-search-empty {
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.craft-search-list {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}

.craft-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.craft-search-row:last-child {
  border-bottom: none;
}

.craft-search-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.craft-search-info {
  flex: 1;
  min-width: 0;
}

.craft-search-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #a335ee;
  text-decoration: none;
}
.craft-search-name:hover {
  color: #fff;
}

.craft-search-meta {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.craft-search-crafters {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.craft-search-crafter {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 4px 10px;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.craft-search-crafter:hover {
  background: rgba(163, 53, 238, 0.1);
  border-color: rgba(163, 53, 238, 0.3);
}

.craft-popular {
  margin-bottom: 20px;
}

.craft-popular-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 6px;
  text-align: center;
}

.craft-popular-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.craft-popular-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.45);
  font-family: "Muli", sans-serif;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.craft-popular-item:hover {
  background: rgba(163, 53, 238, 0.08);
  border-color: rgba(163, 53, 238, 0.25);
  color: #fff;
}

.craft-popular-icon {
  width: 14px;
  height: 14px;
  border-radius: 2px;
}

.craft-popular-count {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.2);
}

.craft-hub-crafters {
  margin-top: 8px;
}

.craft-hub-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 12px;
  text-align: center;
}

.craft-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center;
  gap: 10px;
}

.craft-hub-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  font-family: "Muli", sans-serif;
  transition: all 0.3s ease;
  background-size: cover;
  background-position: center;
  min-height: 180px;
}
.craft-hub-card:hover {
  border-color: rgba(163, 53, 238, 0.4);
  transform: translateY(-2px);
}
.craft-hub-card:hover .craft-hub-card-overlay {
  opacity: 0.7;
}

.craft-hub-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 30%, rgba(0, 0, 0, 0.5) 100%);
  transition: opacity 0.3s ease;
  opacity: 0.85;
}

.craft-hub-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px;
  height: 100%;
  justify-content: center;
}

.craft-hub-card-name {
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.craft-hub-card-profs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.craft-hub-prof-wrap {
  position: relative;
  display: inline-flex;
}

.craft-hub-prof-img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  object-fit: cover;
}

.craft-hub-card-stat {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.craft-filter-bar {
  margin-bottom: 20px;
}

.craft-section {
  margin-bottom: 28px;
}

.craft-section-title {
  font-family: "Muli", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.craft-section-title i {
  margin-right: 6px;
  color: rgba(163, 53, 238, 0.5);
}
.craft-section-title .craft-section-count {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.2);
  margin-left: 4px;
}

.craft-quality {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1px 6px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: baseline;
}

.craft-quality-bronze {
  color: #CD7F32;
  background: rgba(205, 127, 50, 0.1);
  border: 1px solid rgba(205, 127, 50, 0.25);
}

.craft-quality-silver {
  color: #C0C0C0;
  background: rgba(192, 192, 192, 0.1);
  border: 1px solid rgba(192, 192, 192, 0.25);
}

.craft-quality-gold {
  color: #FFD700;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.craft-quality-toggle {
  cursor: pointer;
  font-family: "Muli", sans-serif;
  transition: all 0.15s ease;
}
.craft-quality-toggle:hover {
  filter: brightness(1.3);
  transform: scale(1.1);
}
.craft-quality-toggle:disabled {
  opacity: 0.5;
  cursor: wait;
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 10px;
}
@media (max-width: 768px) {
  .craft-grid {
    grid-template-columns: 1fr;
  }
}

.craft-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.craft-card:hover {
  border-color: rgba(163, 53, 238, 0.25);
}
.craft-card.craft-card-locked {
  opacity: 0.45;
}
.craft-card.craft-card-locked:hover {
  opacity: 0.65;
}

.craft-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.craft-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  object-fit: cover;
}

.craft-card-icon-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.2);
  font-size: 18px;
}

.craft-card-info {
  flex: 1;
  min-width: 0;
}

.craft-card-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #a335ee;
  text-decoration: none;
}
.craft-card-name:hover {
  color: #fff;
}

.craft-card-cat {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.craft-card-status {
  flex-shrink: 0;
}

.craft-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 3px;
}
.craft-badge i {
  font-size: 12px;
}

.craft-badge-known {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.craft-badge-locked {
  color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.craft-card-mats {
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(0, 0, 0, 0.15);
}

.craft-mat-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 5px;
}

.craft-mat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.craft-mat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 3px;
}

.craft-mat {
  text-decoration: none;
  cursor: pointer;
}
.craft-mat:hover {
  color: #fff;
}

.craft-mat-qty {
  color: #fff;
  font-weight: 700;
  margin-right: 1px;
}

.craft-mat-reagent {
  color: #1eff00;
}
.craft-mat-reagent:hover {
  background: rgba(30, 255, 0, 0.08);
  border-color: rgba(30, 255, 0, 0.2);
}

.craft-mat-quality {
  color: #0070dd;
}
.craft-mat-quality:hover {
  background: rgba(0, 112, 221, 0.08);
  border-color: rgba(0, 112, 221, 0.2);
}

.craft-mat-spark {
  color: #ff8000;
  background: rgba(255, 128, 0, 0.08);
  border-color: rgba(255, 128, 0, 0.2);
}
.craft-mat-spark i {
  font-size: 11px;
}

.craft-card-slots {
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.craft-slot {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
}
.craft-slot i {
  font-size: 12px;
  color: rgba(163, 53, 238, 0.5);
}

.craft-empty {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 13px;
}
.craft-empty i {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
}

.search-page {
  min-height: 100vh;
  position: relative;
}

.search-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  padding: 40px 20px 0;
  text-align: center;
  transition: min-height 0.4s ease, padding 0.4s ease;
}
.has-results .search-hero {
  min-height: auto;
  padding-top: 80px;
}

.search-hero-title {
  font-family: "Cinzel Decorative", serif;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: 1px;
}
.has-results .search-hero-title {
  font-size: 22px;
}

.search-hero-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.5;
}
.has-results .search-hero-subtitle {
  font-size: 12px;
  margin-bottom: 20px;
}

.search-form {
  max-width: 100%;
  width: 900px;
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}

.search-form-fields {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.search-form-fields .input {
  flex: 1;
  min-width: 200px;
  height: auto;
}

.search-form-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.search-form-row .btn {
  white-space: nowrap;
}

.search-reset-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}
.search-reset-link:hover {
  color: #fff;
}

.search-form-region {
  display: flex;
  gap: 6px;
  align-items: center;
}
.search-form-region .tag {
  padding: 8px 16px;
}
.search-form-region .tag.tag-active {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.search-recent {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  max-width: 800px;
}

.search-recent-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 1px;
}

#search-results-container {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}
#search-results-container:empty {
  padding: 0;
}

.rwf-section {
  max-width: 1290px;
  margin: 0 auto;
  padding: 20px 20px 80px;
  text-align: center;
}

.rwf-grid {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.rwf-card {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 30px 30px 22px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  min-width: 170px;
  font-family: inherit;
}
.rwf-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}
.rwf-card:hover .rwf-card-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.rwf-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: background 0.25s ease;
}

.rwf-card-name {
  position: relative;
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.rwf-card-realm {
  position: relative;
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.rwf-card-faction {
  position: relative;
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.rwf-card-horde .rwf-card-faction {
  color: #C41F3B;
}

.rwf-card-alliance .rwf-card-faction {
  color: #0078FF;
}

.mplus-leaderboard-section {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.mplus-regions {
  display: flex;
  gap: 40px;
  justify-content: center;
}
@media (max-width: 768px) {
  .mplus-regions {
    flex-direction: column;
    gap: 24px;
  }
}

.mplus-region {
  flex: 1;
  max-width: 420px;
}

.mplus-region-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1.5px;
  margin: 0 0 12px;
  text-align: center;
}

.mplus-region-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mplus-player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mplus-player:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.mplus-player-rank {
  font-size: 12px;
  font-weight: 700;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.3);
}

.mplus-player-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.mplus-player-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.mplus-player-name {
  font-weight: 700;
  font-size: 14px;
}

.mplus-player-meta {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mplus-player-score {
  font-weight: 700;
  color: #ff8000;
  font-size: 15px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .search-hero {
    min-height: 45vh;
    padding-top: 80px;
  }
  .search-hero-title {
    font-size: 24px;
  }
  .search-hero-subtitle {
    font-size: 13px;
  }
  .search-page .guild-search-bar .search-input {
    max-width: 100%;
  }
  .rwf-grid {
    gap: 10px;
  }
  .rwf-card {
    min-width: 140px;
    padding: 16px 20px;
  }
}
.delve-summary {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.delve-summary-stat {
  text-align: center;
}

.delve-summary-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.delve-summary-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 1.5px;
}

#delves-content {
  text-align: center;
}
#delves-content > .banner {
  display: inline-flex;
  margin-bottom: 24px;
}
#delves-content > * {
  text-align: left;
}

.delve-search-bar {
  max-width: 520px;
  margin: 0 auto 20px;
}

.delve-search-empty {
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

#delve-search-result {
  margin-bottom: 16px;
}

.delve-table {
  max-width: 100%;
}

.delve-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.15s ease;
}
.delve-row:not(.delve-row-header):hover {
  background: rgba(255, 255, 255, 0.04);
}
.delve-row.is-expanded {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px 6px 0 0;
}

.delve-row-header {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 1.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}

.delve-row-rank {
  width: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.delve-row-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.delve-row-names {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.delve-row-name {
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delve-login-hint {
  font-size: 9px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.2);
  margin-left: 6px;
}

.delve-row-alts {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delve-row-stat {
  width: 60px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.delve-row-t11 {
  color: #ff8000;
  font-weight: 700;
}

.delve-row-score {
  width: 60px;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: #2dd4bf;
  flex-shrink: 0;
}

.delve-detail {
  display: none;
  padding: 0 14px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 6px 6px;
  margin-bottom: 4px;
}
.delve-detail.is-open {
  display: block;
}

.delve-detail-inner,
.delve-detail-4col {
  display: flex;
  gap: 24px;
  padding-top: 10px;
}
@media (max-width: 768px) {
  .delve-detail-inner,
  .delve-detail-4col {
    flex-direction: column;
  }
}

.delve-detail-4col .delve-detail-col {
  flex: 1;
  min-width: 0;
}
.delve-detail-4col .delve-detail-col-badge {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  padding-top: 36px;
}

.delve-detail-col {
  flex: 1;
  min-width: 0;
}

.delve-score-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  border-radius: 10px;
  text-align: center;
  height: 100%;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(163, 53, 238, 0.12));
  border: 1px solid rgba(45, 212, 191, 0.2);
  position: relative;
  overflow: hidden;
}
.delve-score-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 55%, transparent 60%);
  animation: delve-shimmer 4s ease-in-out infinite;
}

@keyframes delve-shimmer {
  0% {
    transform: translateX(-100%) rotate(0deg);
  }
  100% {
    transform: translateX(100%) rotate(0deg);
  }
}
.delve-score-badge-value {
  font-size: 36px;
  font-weight: 700;
  color: #2dd4bf;
  line-height: 1;
  position: relative;
}

.delve-score-badge-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
  letter-spacing: 1.5px;
  position: relative;
}

.delve-score-badge-rank {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  position: relative;
}

.delve-alts-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  max-height: 220px;
  overflow-y: auto;
}
.delve-alts-list::-webkit-scrollbar {
  width: 3px;
}
.delve-alts-list::-webkit-scrollbar-thumb {
  background: rgba(163, 53, 238, 0.25);
  border-radius: 2px;
}

.delve-alt-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.delve-alt-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.delve-alt-name {
  font-weight: 600;
}

.delve-alt-clears {
  color: rgba(255, 255, 255, 0.3);
  margin-left: auto;
  font-size: 11px;
}

.delve-detail-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 1.5px;
  height: 16px;
  line-height: 16px;
}

.delve-detail-subheader {
  height: 20px;
}

.delve-tier-header {
  display: flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 1px;
}

.delve-detail-alts-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.delve-detail-alts-row .delve-detail-label {
  margin-bottom: 0;
  flex-shrink: 0;
}

.delve-alts-inline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.delve-alt-inline {
  font-weight: 600;
}

.delve-matrix-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 22px;
}

.delve-matrix-name {
  flex: 1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delve-matrix-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.delve-matrix-bar {
  height: 100%;
  background: #2dd4bf;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.delve-matrix-count {
  width: 24px;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.delve-tier-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.delve-tier-chip {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
}

.delve-tier-matrix {
  font-size: 11px;
}

.delve-tier-row {
  display: flex;
  align-items: center;
  height: 22px;
}
.delve-tier-row.delve-tier-row-header {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.delve-tier-name {
  flex: 1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delve-tier-cell {
  width: 30px;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}
.delve-tier-cell.is-done {
  color: #2dd4bf;
  font-weight: 600;
}

.delve-rank-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.delve-rank-card-clears {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.delve-rank-card-position {
  font-size: 16px;
  font-weight: 700;
  color: #2dd4bf;
}

.delve-fun-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.delve-alts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.delve-alt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.delve-alt-icon {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  object-fit: cover;
}

.delve-alt-clears {
  color: rgba(255, 255, 255, 0.3);
  margin-left: auto;
}

.delve-detail-note {
  text-align: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  padding-top: 10px;
}

@media (max-width: 600px) {
  .delve-row-stat {
    width: 30px;
    font-size: 11px;
  }
  .delve-row-score {
    width: 50px;
    font-size: 12px;
  }
  .delve-row-icon {
    width: 22px;
    height: 22px;
  }
  .delve-matrix-name {
    width: 100px;
    font-size: 11px;
  }
}
#components-container {
  max-width: 1290px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 80px;
}

.cs-section {
  margin-bottom: 40px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--ui-radius-lg);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.cs-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cs-section-title {
  margin: 0;
  font-family: var(--ui-font-body);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.cs-section-body {
  padding: 20px;
}

.cs-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cs-status-signed {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: var(--ui-success);
}

.cs-status-wip {
  background: rgba(255, 193, 37, 0.15);
  border: 1px solid rgba(255, 193, 37, 0.4);
  color: var(--ui-warning);
}

.cs-status-todo {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ui-text-dim);
}

.cs-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.cs-row:first-child {
  padding-top: 0;
}
.cs-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cs-row-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ui-text-dim);
}

.cs-row-content {
  width: 100%;
}

.cs-code {
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.cs-code summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ui-text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  transition: color var(--ui-transition-base), background var(--ui-transition-base);
}
.cs-code summary::-webkit-details-marker {
  display: none;
}
.cs-code summary i.las {
  font-size: 12px;
  flex-shrink: 0;
}
.cs-code summary .cs-code-chevron {
  margin-left: auto;
  opacity: 0.6;
  transition: transform var(--ui-transition-base), opacity var(--ui-transition-base);
}
.cs-code summary:hover {
  color: var(--ui-text-muted);
  background: rgba(255, 255, 255, 0.02);
}
.cs-code[open] summary {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cs-code[open] summary i.las {
  color: var(--ui-primary);
}
.cs-code[open] summary .cs-code-chevron {
  transform: rotate(180deg);
  opacity: 0.9;
}

.cs-code-block {
  margin: 0;
  padding: 0;
  background: transparent !important;
  overflow-x: auto;
  font-family: "Menlo", "Consolas", "SF Mono", monospace;
  font-size: 12px;
  line-height: 1.55;
}
.cs-code-block code {
  font-family: inherit;
  white-space: pre;
  padding: 14px 16px;
  display: block;
  background: transparent !important;
}
.cs-code-block .hljs {
  color: rgba(255, 255, 255, 0.88);
}

.cs-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.cs-swatch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
}

.cs-swatch-color {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.cs-swatch-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cs-swatch-info code {
  font-size: 11px;
  color: #fff;
}

.cs-swatch-val {
  font-size: 10px;
  color: var(--ui-text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cs-spaces {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-space {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-space-bar {
  height: 12px;
  background: var(--ui-primary);
  border-radius: 2px;
}

.cs-space code {
  font-size: 11px;
  color: var(--ui-text-muted);
}

.cs-radii {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cs-radius {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cs-radius-box {
  width: 48px;
  height: 48px;
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid rgba(163, 53, 238, 0.4);
}

.cs-radius code {
  font-size: 10px;
  color: var(--ui-text-muted);
}

.cs-btn-group {
  margin-bottom: 14px;
}
.cs-btn-group:last-child {
  margin-bottom: 0;
}

.cs-variant-label {
  display: block;
  font-size: 10px;
  color: var(--ui-text-dim);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.cs-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cs-backlog-group + .cs-backlog-group {
  margin-top: 20px;
}

.cs-backlog-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 8px;
}

.cs-upcoming {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.cs-upcoming-item {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.cs-upcoming-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ui-text);
  margin-bottom: 4px;
}

.cs-upcoming-note {
  font-size: 11px;
  color: var(--ui-text-muted);
  line-height: 1.4;
}

.cs-tooltip-demo:hover .tooltip {
  opacity: 1;
}

.keystone-planner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.kp-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px 8px 0 0;
  border-bottom: none;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .kp-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

.kp-toolbar-item {
  min-width: 200px;
}

.kp-toolbar-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}

.kp-toolbar-chips {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  margin-left: auto;
}
@media (max-width: 600px) {
  .kp-toolbar-chips {
    margin-left: 0;
  }
}

.kp-chip {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Muli", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.kp-chip:hover {
  color: #fff;
  border-color: rgba(163, 53, 238, 0.3);
}
.kp-chip-active {
  color: #a335ee;
  background: rgba(163, 53, 238, 0.1);
  border-color: rgba(163, 53, 238, 0.4);
}

.kp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}
.kp-empty i {
  margin-bottom: 16px;
  color: rgba(163, 53, 238, 0.3);
}
.kp-empty-error i {
  color: #ef4444;
}

.kp-empty-state {
  text-align: center;
}

.kp-empty-text {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
}

.kp-empty-dungeons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 768px) {
  .kp-empty-dungeons {
    grid-template-columns: repeat(2, 1fr);
  }
}

.kp-empty-dungeon {
  position: relative;
  height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.kp-empty-dungeon:hover {
  opacity: 0.8;
}

.kp-empty-dungeon-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 10%, rgba(0, 0, 0, 0.2) 100%);
}

.kp-empty-dungeon-name {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.kp-summary-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 8px 8px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .kp-summary-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.kp-char-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--class-color, rgba(163, 53, 238, 0.5));
  flex-shrink: 0;
}

.kp-char-info {
  flex: 1;
  min-width: 0;
}

.kp-char-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.kp-char-guild {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.kp-char-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.kp-char-meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.2);
}

.kp-share-btn {
  margin-left: auto;
  flex-shrink: 0;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  font-family: "Muli", sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.kp-share-btn:hover {
  color: #fff;
  border-color: rgba(163, 53, 238, 0.3);
}
.kp-share-btn i {
  font-size: 14px;
}

.kp-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

.kp-rating-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.kp-rating-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 2px;
}

.kp-rating-value {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.kp-rating-projected {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.06);
}
.kp-rating-projected .kp-rating-value {
  color: #f59e0b;
}

.kp-rating-gain {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.06);
}
.kp-rating-gain .kp-rating-value {
  color: #10b981;
}

.kp-rating-arrow {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.2);
}

.kp-runs-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.kp-runs-tabs .tabs {
  gap: 8px;
}

.kp-dungeon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.kp-dungeon-card {
  width: calc(25% - 8px);
}
@media (max-width: 900px) {
  .kp-dungeon-card {
    width: calc(50% - 5px);
  }
}
@media (max-width: 500px) {
  .kp-dungeon-card {
    width: 100%;
  }
}

.kp-dungeon-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.kp-dungeon-card:hover {
  border-color: rgba(163, 53, 238, 0.3);
  transform: translateY(-2px);
}

.kp-dungeon-art {
  position: relative;
  height: 120px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.kp-dungeon-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 0.3) 100%);
}

.kp-dungeon-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.kp-dungeon-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.kp-dungeon-current {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.kp-dungeon-key {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 700;
  color: #a335ee;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  flex-shrink: 0;
}

.kp-dungeon-stats {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
}

.kp-dungeon-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}
.kp-dungeon-stat:last-child {
  border-right: none;
}

.kp-dungeon-stat-label {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.3);
}

.kp-dungeon-stat-value {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}

.kp-dungeon-stat-gain .kp-dungeon-stat-value {
  color: #10b981;
}

.kp-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin-top: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}

.kp-total-value {
  font-size: 18px;
  color: #10b981;
  font-variant-numeric: tabular-nums;
}

.kp-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 16px;
}
.kp-note i {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.kp-note-info {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}
.kp-note-success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}
.kp-note-warning {
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.25);
  color: #fcd34d;
}
.kp-note-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.kp-note-error strong {
  color: #fecaca;
  display: block;
  margin-bottom: 4px;
}
