:root {
  --rps-contrast: rgb(18, 23, 28);
  --rps-base: rgb(255, 255, 255);
  --rps-yellow: rgb(245, 220, 86);
  --rps-font-family-sans: "Roboto Flex", sans-serif;
  --rps-font-family-mono: "Fira Mono", "Consolas", "Menlo", monospace;
}

body {
  background: var(--rps-contrast);
  color: var(--rps-base);
  font-family: var(--rps-font-family-sans);
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/banner-edge.jpg") center/cover no-repeat;
  opacity: 0.25;
  z-index: -2;
  pointer-events: none;
  animation: slowZoom 45s ease-in-out infinite;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.background-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: opacity 0.2s ease-in-out;
}

.rps-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}
.rps-banner.mobile {
  display: none;
}

@media (max-width: 1160px) {
  .rps-banner {
    zoom: 0.8;
  }
}
@media (max-width: 940px) {
  .rps-banner {
    zoom: 0.6;
  }
}
@media (max-width: 700px) {
  .rps-banner.mobile {
    zoom: 0.8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .rps-banner.desktop {
    display: none;
  }
}
.rps-flex-center {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.rps-emblem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 474px;
  height: 96px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}
.rps-emblem:hover {
  transform: scale(1.02);
}
.rps-emblem img {
  position: absolute;
  max-width: 100%;
  height: auto;
}
.rps-emblem .rps-player-name {
  position: absolute;
  left: 6rem;
  z-index: 1;
  color: var(--rps-base);
  font-size: 1.4rem;
}
.rps-emblem .rps-player-power {
  position: absolute;
  right: 1rem;
  z-index: 1;
  color: var(--rps-yellow);
  font-size: 2rem;
  font-weight: 400;
  display: flex;
  align-items: center;
}
.rps-emblem .rps-player-power span {
  font-size: 1rem;
  margin-right: 0.5rem;
}

.rps-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  position: relative;
}
.rps-container--wrap {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.rps-player-details-single {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.rps-player-details-single.active {
  opacity: 1;
  visibility: visible;
}
.rps-player-details-single.active .rps-container-details {
  transform: translateY(0);
}
.rps-player-details-single .rps-container-details {
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.rps-player-details-single #player-details-content {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  position: relative;
  width: 100%;
  height: 100%;
}
.rps-player-details-single .close-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--rps-base);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  font-weight: 100;
}
.rps-player-details-single .close-overlay:hover {
  color: var(--rps-yellow);
}

.loading,
.error {
  text-align: center;
  padding: 2rem;
  color: var(--rps-base);
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  box-sizing: border-box;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  display: block;
  margin: 0;
  flex-shrink: 0;
}

.spinner-path {
  fill: transparent;
  stroke: none;
  animation: fillPath 2s ease-in-out infinite;
}

.spinner-path:nth-child(1) {
  animation-delay: 0s;
}

.spinner-path:nth-child(2) {
  animation-delay: 0.2s;
}

.spinner-path:nth-child(3) {
  animation-delay: 0.4s;
}

.spinner-path:nth-child(4) {
  animation-delay: 0.6s;
}

.spinner-path:nth-child(5) {
  animation-delay: 0.8s;
}

.spinner-path:nth-child(6) {
  animation-delay: 1s;
}

.spinner-path:nth-child(7) {
  animation-delay: 1.2s;
}

.spinner-path:nth-child(8) {
  animation-delay: 1.4s;
}

.spinner-center {
  animation-delay: 1.6s !important;
}

@keyframes fillPath {
  0% {
    fill: transparent;
  }
  50% {
    fill: var(--rps-base);
  }
  100% {
    fill: transparent;
  }
}
.loading-text {
  color: var(--rps-base);
  font-size: 1rem;
}

.error {
  color: #ff6b6b;
}

.rps-emblem-mini {
  cursor: pointer;
  transition: transform 0.2s ease-in-out, background 0.2s ease-in-out;
}
.rps-emblem-mini:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
}
.rps-emblem-mini img {
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border-radius: 50%;
  position: relative;
  object-fit: cover;
}

.rps-static {
  position: sticky;
  top: 2rem;
  height: 100%;
}

.rps-stats-section {
  margin: 2rem 0 0 0;
  background: rgba(0, 0, 0, 0.25);
  padding: 2rem;
  backdrop-filter: blur(10px);
  max-width: calc(100% - 6rem);
}
.rps-stats-section h2 {
  color: var(--rps-yellow);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.rps-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.rps-stat-item {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  border: solid 1px rgba(255, 255, 255, 0.1);
}
.rps-stat-item .stat-label {
  color: var(--rps-base);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
}
.rps-stat-item .stat-value {
  font-weight: 300;
  font-size: 1.2rem;
}

.rps-raids-section {
  margin: 0 0 0 1rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem 2rem;
  backdrop-filter: blur(10px);
  width: 100%;
  position: relative;
}
.rps-raids-section h2 {
  color: var(--rps-base);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.rps-raids-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rps-raids-header {
  display: flex;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
  gap: 1rem;
  position: absolute;
  top: 0;
  left: -1rem;
  transform-origin: 0 0;
  transform: rotate(90deg);
}

.rps-raid-row {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rps-raid-row:hover {
  background: rgba(255, 255, 255, 0.05);
}
.rps-raid-row:last-child {
  border-bottom: none;
}

.raid-name-col {
  flex: 1;
  padding: 1rem;
  color: var(--rps-base);
}

.raid-name-col-2 {
  flex: 2;
  padding: 1rem;
  color: var(--rps-base);
}

.raid-totals {
  flex: 1;
  color: var(--rps-base);
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}

/* Full-screen modal styles */
.rps-fullscreen-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  z-index: 9999;
  overflow-x: hidden;
}

.rps-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-y: scroll;
  overflow-x: hidden;
}

.rps-modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.rps-characters-sidebar {
  position: relative;
  z-index: 2;
  padding: 2rem;
  margin: 0;
}

.rps-characters-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rps-character-item {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.rps-character-item:hover {
  transform: translateX(10px);
}

.rps-character-item.active {
  transform: translateX(10px);
}

.rps-character-item.active::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: var(--rps-yellow);
  border-radius: 2px;
}

.rps-character-emblem {
  max-width: 474px;
  max-height: 96px;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: auto;
}

.rps-character-emblem img {
  max-width: calc(100% - 2rem);
  height: auto;
  object-fit: cover;
}

.rps-character-info {
  position: absolute;
  bottom: 1rem;
  left: 6rem;
  right: 0;
  color: white;
}

.rps-character-class {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.rps-character-power {
  font-size: 0.9rem;
  opacity: 0.9;
}

.rps-player-details {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 2rem;
}

.close-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-overlay:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.rps-detailed-column {
  gap: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rps-detailed-stats {
  background: rgba(0, 0, 0, 0.25);
  padding: 2rem;
  margin-top: 2rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.rps-detailed-stats h2 {
  color: var(--rps-yellow);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.rps-stat-row {
  display: flex;
  align-items: center;
}

.stat-icon {
  width: 32px;
  height: 32px;
  margin-right: 1rem;
  object-fit: contain;
  filter: brightness(0.9);
}

.stat-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.stat-info .stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}
.stat-info .stat-value {
  color: var(--rps-base);
  font-size: 1rem;
  font-weight: 600;
}

.loading-activities,
.no-activities,
.activity-error {
  text-align: center !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-style: italic;
  padding: 1rem !important;
}

/* New 3-Column Character Layout */
.rps-characters-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.rps-character-column {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 500px;
}

.rps-character-screenshot {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.rps-character-screenshot .subclass-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px 12px 0 0;
}

.rps-character-emblem-section {
  padding: 1rem;
  position: relative;
}
.rps-character-emblem-section .emblem-background {
  position: relative;
  display: flex;
  align-items: center;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
}
.rps-character-emblem-section .emblem-background .emblem-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.rps-character-emblem-section .emblem-background .emblem-info {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  text-align: right;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.rps-character-emblem-section .emblem-background .emblem-info .character-class {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.rps-character-emblem-section .emblem-background .emblem-info .character-power {
  font-size: 0.9rem;
  opacity: 0.9;
}

.rps-character-stats,
.rps-character-weapons {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.rps-character-stats h4,
.rps-character-weapons h4 {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--rps-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.rps-character-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
}

.rps-character-stats__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0.25rem;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px) 0 0, linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px) 0 100%, linear-gradient(to left, rgba(255, 255, 255, 0.1) 1px, transparent 1px) 100% 0, linear-gradient(to left, rgba(255, 255, 255, 0.1) 1px, transparent 1px) 100% 100%, linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px) 0 0, linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px) 100% 0, linear-gradient(to top, rgba(255, 255, 255, 0.1) 1px, transparent 1px) 0 100%, linear-gradient(to top, rgba(255, 255, 255, 0.1) 1px, transparent 1px) 100% 100%;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

.stat-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}
.stat-row .stat-value {
  font-weight: 400;
  width: 32px;
  text-align: right;
}

.weapon-row,
.armor-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.weapon-row:last-child,
.armor-row:last-child {
  border-bottom: none;
}
.weapon-row .stat-icon,
.weapon-row .weapon-icon,
.weapon-row .armor-icon,
.armor-row .stat-icon,
.armor-row .weapon-icon,
.armor-row .armor-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border: solid 1px rgba(255, 255, 255, 0.1);
}
.weapon-row .stat-label,
.weapon-row .weapon-label,
.weapon-row .armor-label,
.armor-row .stat-label,
.armor-row .weapon-label,
.armor-row .armor-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  min-width: 60px;
  flex-shrink: 0;
}
.weapon-row .weapon-info,
.weapon-row .armor-info,
.armor-row .weapon-info,
.armor-row .armor-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.weapon-row .weapon-info .weapon-name,
.weapon-row .weapon-info .armor-name,
.weapon-row .armor-info .weapon-name,
.weapon-row .armor-info .armor-name,
.armor-row .weapon-info .weapon-name,
.armor-row .weapon-info .armor-name,
.armor-row .armor-info .weapon-name,
.armor-row .armor-info .armor-name {
  font-size: 1rem;
  color: white;
  line-height: 1.2;
}
.weapon-row .weapon-info .weapon-name a,
.weapon-row .weapon-info .armor-name a,
.weapon-row .armor-info .weapon-name a,
.weapon-row .armor-info .armor-name a,
.armor-row .weapon-info .weapon-name a,
.armor-row .weapon-info .armor-name a,
.armor-row .armor-info .weapon-name a,
.armor-row .armor-info .armor-name a {
  color: white;
  text-decoration: none;
}
.weapon-row .weapon-info .weapon-name a:hover,
.weapon-row .weapon-info .armor-name a:hover,
.weapon-row .armor-info .weapon-name a:hover,
.weapon-row .armor-info .armor-name a:hover,
.armor-row .weapon-info .weapon-name a:hover,
.armor-row .weapon-info .armor-name a:hover,
.armor-row .armor-info .weapon-name a:hover,
.armor-row .armor-info .armor-name a:hover {
  text-decoration: underline;
}

.weapon-row {
  align-items: start;
}

.weapon-perks {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.perk-item {
  position: relative;
  display: inline-block;
}

.perk-icon {
  width: 32px;
  height: 32px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}
.perk-icon:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
  z-index: 10;
  position: relative;
}
.perk-icon.enhanced-perk {
  border-color: #f7dc6f;
  box-shadow: 0 0 8px rgba(247, 220, 111, 0.3);
}
.perk-icon.enhanced-perk:hover {
  border-color: #f7dc6f;
  box-shadow: 0 0 12px rgba(247, 220, 111, 0.5);
}

.perk-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  white-space: nowrap;
  background: linear-gradient(135deg, rgba(20, 20, 30, 0.98), rgba(30, 30, 40, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.5rem 0.5rem 0.25rem 0.5rem;
  z-index: 10000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}
.perk-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.perk-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(20, 20, 30, 0.98);
}
.perk-tooltip .perk-tooltip-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: white;
  text-align: center;
}
.perk-tooltip .perk-tooltip-header .enhanced-badge {
  background: linear-gradient(45deg, #f7dc6f, #f4d03f);
  color: #1a1a1a;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
}
.perk-tooltip .perk-tooltip-description {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.rps-empty-character {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}
.rps-empty-character .empty-message {
  font-size: 1.1rem;
}

/* Activity section - now full width below characters */
.rps-activity-section {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: calc(100% - 4rem);
  max-width: 1400px;
  margin: 0 auto 2rem auto;
  box-sizing: border-box;
}
.rps-activity-section .rps-activity-header {
  margin: 0 0 1.5rem 0;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.rps-activity-section .rps-activity-table-container {
  overflow-x: auto;
}
.rps-activity-section .rps-activity-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}
.rps-activity-section .rps-activity-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rps-activity-section .rps-activity-table th:first-child {
  border-top-left-radius: 6px;
}
.rps-activity-section .rps-activity-table th:last-child {
  border-top-right-radius: 6px;
}
.rps-activity-section .rps-activity-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--rps-base);
  font-size: 0.9rem;
}
.rps-activity-section .rps-activity-table td.activity-mode {
  text-align: center;
  width: 60px;
}
.rps-activity-section .rps-activity-table td.activity-mode .activity-mode-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0.9);
}
.rps-activity-section .rps-activity-table td.activity-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rps-activity-section .rps-activity-table td.activity-name img {
  height: 32px;
  width: 32px;
}
.rps-activity-section .rps-activity-table td.activity-date {
  font-size: 0.85rem;
  white-space: nowrap;
}
.rps-activity-section .rps-activity-table td.activity-duration {
  text-align: left;
  font-family: var(--rps-font-family-mono);
}
.rps-activity-section .rps-activity-table td.activity-kills {
  text-align: left;
  font-family: var(--rps-font-family-mono);
}
.rps-activity-section .rps-activity-table td.activity-kdr {
  text-align: left;
  font-family: var(--rps-font-family-mono);
}
.rps-activity-section .rps-activity-table tr:hover {
  background: rgba(245, 220, 86, 0.05);
}
.rps-activity-section .rps-activity-table tr:last-child td {
  border-bottom: none;
}
.rps-activity-section .rps-activity-table tr:last-child td:first-child {
  border-bottom-left-radius: 6px;
}
.rps-activity-section .rps-activity-table tr:last-child td:last-child {
  border-bottom-right-radius: 6px;
}
.rps-activity-section .rps-no-activities,
.rps-activity-section .rps-activity-error {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  padding: 2rem;
}

/* Tablet styles */
@media (max-width: 1024px) {
  .rps-characters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .rps-detailed-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  .rps-detailed-column {
    flex: none;
  }
  .rps-stats-section {
    margin: 1rem 0 0 0;
  }
  .rps-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .rps-stat-item {
    padding: 0.5rem 0.75rem;
  }
}
/* Mobile styles */
@media (max-width: 768px) {
  .rps-characters-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  .rps-character-emblem-section {
    padding: 0.75rem;
  }
  .rps-character-emblem-section .emblem-background {
    height: 60px;
  }
  .rps-character-stats,
  .rps-character-weapons,
  .rps-character-armor {
    padding: 0.75rem;
  }
  .rps-character-stats h4,
  .rps-character-weapons h4,
  .rps-character-armor h4 {
    font-size: 0.9rem;
  }
  .rps-activity-section {
    padding: 1rem;
    width: calc(100% - 2rem);
  }
  .rps-activity-section .rps-activity-header {
    font-size: 1.2rem;
  }
  .rps-characters-sidebar {
    width: 100%;
    padding: 1rem;
  }
  .rps-character-item:hover,
  .rps-character-item.active {
    transform: translateY(-5px);
  }
  .rps-player-details {
    flex: 1;
    height: calc(100vh - 140px);
    padding: 1rem;
  }
  .rps-stats-section {
    margin: 1rem 0 0 0;
  }
  .rps-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .rps-activity-table {
    font-size: 0.8rem;
  }
  .rps-activity-table th,
  .rps-activity-table td {
    padding: 0.5rem 0.75rem;
  }
  .rps-activity-table th {
    font-size: 0.75rem;
  }
  .rps-activity-table .activity-name {
    max-width: 120px;
  }
  .rps-activity-table .activity-date {
    font-size: 0.75rem;
  }
  .rps-stat-item {
    padding: 0.5rem 0.75rem;
  }
  .rps-stat-item .stat-label {
    font-size: 0.65rem;
  }
  .rps-stat-item .stat-value {
    font-size: 1rem;
  }
  .rps-detailed-stats {
    padding: 1.5rem;
    margin-top: 1rem;
    flex-direction: column;
    gap: 1.5rem;
  }
  .rps-detailed-column {
    gap: 0.75rem;
  }
  .rps-stat-row {
    padding: 0.5rem 0;
  }
  .stat-icon {
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
  }
  .stat-info .stat-label {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }
  .stat-info .stat-value {
    font-size: 0.9rem;
  }
  .close-overlay {
    top: 0.5rem;
    right: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }
}
/* Members Table Styles */
.rps-members-table-wrapper {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 2rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
  -webkit-overflow-scrolling: touch;
}

/* DataTables Custom Styling */
.rps-members-datatable {
  width: 100% !important;
  min-width: 800px;
  background: transparent !important;
  /* Disable any responsive behaviors */
  /* Ensure all columns are always visible */
}
.rps-members-datatable.dtr-inline.collapsed tbody td:first-child:before, .rps-members-datatable.dtr-inline.collapsed tbody td:first-child:after {
  display: none !important;
}
.rps-members-datatable th,
.rps-members-datatable td {
  display: table-cell !important;
}
.rps-members-datatable thead th {
  background: rgba(0, 0, 0, 0.4) !important;
  border-bottom: 2px solid var(--rps-yellow) !important;
  color: var(--rps-yellow) !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 1rem !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}
.rps-members-datatable tbody td {
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  padding: 1rem !important;
  color: var(--rps-base) !important;
  vertical-align: middle !important;
}
.rps-members-datatable tbody tr {
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.rps-members-datatable tbody tr:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  transform: scale(1.01);
}

/* DataTables Controls Styling */
.dataTables_wrapper {
  color: var(--rps-base) !important;
  /* Hide pagination and info elements */
}
.dataTables_wrapper .dataTables_filter {
  color: var(--rps-base) !important;
  margin-bottom: 1rem;
  text-align: right;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  display: none !important;
}
.dataTables_wrapper .dataTables_filter input {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: var(--rps-base) !important;
  border-radius: 4px;
  padding: 0.5rem;
  margin: 0 0.5rem;
}
.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--rps-yellow) !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(245, 220, 86, 0.2);
}

.rps-member-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rps-member-cell {
  text-align: left !important;
}

.rps-member-emblem {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.rps-member-info {
  display: flex;
  flex-direction: column;
}

.rps-member-name {
  font-weight: 500;
  font-size: 1rem;
  color: var(--rps-base);
}

.rps-stat-cell {
  font-weight: 400;
  text-align: center !important;
}

.rps-power-icon {
  color: var(--rps-yellow);
  margin-right: 0.25rem;
}

.rps-kd-cell {
  font-weight: 600 !important;
  color: var(--rps-yellow) !important;
  text-align: center !important;
}

/* Responsive DataTables - Horizontal scroll instead of hiding columns */
@media (max-width: 1200px) {
  .rps-members-table-wrapper {
    padding: 1.25rem;
  }
}
@media (max-width: 1024px) {
  .rps-members-table-wrapper {
    padding: 1rem;
  }
  .rps-member-emblem {
    width: 40px;
    height: 40px;
  }
  .rps-member-name {
    font-size: 0.9rem;
  }
  .rps-members-datatable thead th,
  .rps-members-datatable tbody td {
    padding: 0.75rem !important;
    font-size: 0.8rem;
  }
}
@media (max-width: 768px) {
  .rps-members-table-wrapper {
    padding: 0.75rem;
    margin: 1rem 0;
  }
  .rps-member-content {
    gap: 0.5rem;
  }
  .rps-member-emblem {
    width: 36px;
    height: 36px;
  }
  .rps-member-name {
    font-size: 0.8rem;
  }
  .rps-members-datatable {
    min-width: 700px;
  }
  .rps-members-datatable thead th {
    font-size: 0.7rem;
    padding: 0.5rem !important;
  }
  .rps-members-datatable tbody td {
    padding: 0.6rem 0.4rem !important;
    font-size: 0.75rem;
  }
}
@media (max-width: 480px) {
  .rps-members-table-wrapper {
    padding: 0.5rem;
    margin: 1rem 0.5rem;
  }
  .rps-member-content {
    gap: 0.4rem;
  }
  .rps-member-emblem {
    width: 32px;
    height: 32px;
  }
  .rps-member-name {
    font-size: 0.75rem;
  }
  .rps-members-datatable {
    min-width: 600px;
  }
  .rps-members-datatable thead th {
    font-size: 0.65rem;
    padding: 0.4rem !important;
  }
  .rps-members-datatable tbody td {
    padding: 0.5rem 0.3rem !important;
    font-size: 0.7rem;
  }
}

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