.rarity-poor {
  color: #6b7280;
}
.rarity-common {
  color: #ffffff;
}
.rarity-uncommon {
  color: #22c55e;
}
.rarity-rare {
  color: #3b82f6;
}
.rarity-epic {
  color: #a855f7;
}
.rarity-legendary {
  color: #f59e0b;
}
.rarity-dark-common {
  background: #d9d9d9;
}
.rarity-dark-uncommon {
  background: #17843f;
}
.rarity-dark-rare {
  background: #0a59da;
}
.rarity-dark-epic {
  background: #830cf4;
}
.rarity-dark-legendary {
  background: #ac6f07;
}
.rarity-common,
.rarity-uncommon,
.rarity-rare,
.rarity-epic,
.rarity-legendary {
  color: #fff;
}
.rarity-bg-common {
  background: #ffffff;
  color: #000 !important;
}
.rarity-bg-uncommon {
  background: #22c55e;
  color: #fff;
}
.rarity-bg-rare {
  background: #3b82f6;
  color: #fff;
}
.rarity-bg-epic {
  background: #a855f7;
  color: #fff;
}
.rarity-bg-legendary {
  background: #f59e0b;
  color: #fff;
}
.rarity-bg-poor {
  background: #6b7280;
  color: #fff;
}
.rarity-bg-dark-common {
  background: #d9d9d9;
  color: #000 !important;
}
.rarity-bg-dark-uncommon {
  background: #17843f;
  color: #fff;
}
.rarity-bg-dark-rare {
  background: #0a59da;
  color: #fff;
}
.rarity-bg-dark-epic {
  background: #830cf4;
  color: #fff;
}
.rarity-bg-dark-legendary {
  background: #ac6f07;
  color: #fff;
}
.rarity-bg-dark-poor {
  background: #484d56;
  color: #fff;
}
body {
  background-color: #0d1117;
  color: #e6edf3;
  font-family: system-ui, -apple-system, sans-serif;
}
.site-header {
  background: #0b0f14;
  border-bottom: 1px solid #21262d;
}
.navbar-brand {
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.donation-banner {
  background: linear-gradient(90deg, #1f2937, #111827);
  padding: 14px 20px;
  border-top: 1px solid #21262d;
  border-bottom: 1px solid #21262d;
}
.donation-content {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.donation-text {
  flex: 1;
  font-size: 0.9rem;
}
.donation-progress-wrapper {
  min-width: 220px;
}
.donation-progress-bar {
  height: 10px;
  background: #1f2937;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 5px;
}
.donation-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  transition: width 0.6s ease;
}
.donate-btn {
  font-weight: 600;
  background: #22c55e;
  border: none;
}
.donate-btn:hover {
  background: #16a34a;
}
.donation-progress-label {
  font-size: 0.75rem;
  color: #8b949e;
}
.donation-actions {
  display: flex;
  gap: 10px;
}
.community-banner {
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  padding: 12px 20px;
}
.community-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.community-text {
  font-size: 0.9rem;
}
.dark-modal {
  background: #111827;
  color: #e6edf3;
  border: 1px solid #21262d;
}
.dark-input {
  background: #1f2937;
  border: 1px solid #21262d;
  color: #e6edf3;
}
.dark-input:focus {
  background: #1f2937;
  color: #e6edf3;
  border-color: #3b82f6;
  box-shadow: none;
}
.filter-sidebar {
  background: #111827;
  border: 1px solid #21262d;
  border-radius: 8px;
  padding: 18px;
  position: sticky;
  top: 20px;
}
.form-check-input {
  background-color: #1f2937;
  border-color: #21262d;
}
.form-check-input:checked {
  background-color: #22c55e;
  border-color: #22c55e;
}
.site-footer {
  background: #0b0f14;
  border-top: 1px solid #21262d;
  font-size: 0.85rem;
}
.footer-links a {
  margin: 0 10px;
  color: #8b949e;
  text-decoration: none;
}
.footer-links a:hover {
  color: #e6edf3;
}
.filament-wrapper {
  position: relative;
  overflow: visible !important;
}
.filament-table {
  background: #161b22;
  border-color: #21262d;
}
.filament-table thead th {
  color: #8b949e;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-color: #21262d;
  background: #161b22;
}
.filament-table tbody td {
  background: #161b22;
  border-color: #21262d;
  color: #e6edf3;
}
.filament-table tbody tr:hover td {
  background: #1f2630;
}
.filament-icon {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}
.filament-name {
  position: relative;
  font-weight: 600;
  cursor: pointer;
}
.rarity-common {
  color: #ffffff;
}
.rarity-uncommon {
  color: #22c55e;
}
.rarity-rare {
  color: #3b82f6;
}
.rarity-epic {
  color: #a855f7;
}
.rarity-legendary {
  color: #f59e0b;
}
.tooltip-card {
  display: none;
  position: absolute;
  top: 26px;
  left: 0;
  width: 280px;
  background: #111827;
  border: 1px solid #21262d;
  border-radius: 10px;
  padding: 14px;
  z-index: 9999;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  font-size: 0.8rem;
  color: #e6edf3;
}
.filament-name:hover .tooltip-card {
  display: block;
}
.tooltip-title {
  font-weight: 600;
  margin-bottom: 6px;
}
.tooltip-rating {
  color: #8b949e;
  margin-bottom: 10px;
}
.tooltip-section {
  margin-bottom: 12px;
  line-height: 1.4;
}
.stat-label {
  font-size: 0.7rem;
  color: #8b949e;
  margin-bottom: 3px;
}
.stat-bar {
  height: 8px;
  background: #1f2937;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}
.stat-fill {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transition: width 0.3s ease;
}
.filament-pagination-top .page-link,
.filament-pagination-bottom .page-link {
  background: #161b22;
  border-color: #21262d;
  color: #e6edf3;
  transition: all 0.15s ease;
  font-weight: 500;
}
.filament-pagination-top .page-link:hover,
.filament-pagination-bottom .page-link:hover {
  background: #1f2630;
  color: #e6edf3;
}
.filament-pagination-top .page-item.active .page-link,
.filament-pagination-bottom .page-item.active .page-link {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #fff;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}
.filament-pagination-top .page-item.disabled .page-link,
.filament-pagination-bottom .page-item.disabled .page-link {
  background: #161b22;
  color: #8b949e;
  opacity: 0.5;
}
.pagination-info {
  font-size: 0.9rem;
}
.detail-card {
  background: #111827;
  border: 1px solid #21262d;
  border-radius: 10px;
  padding: 24px;
}
.detail-image-card {
  background: #111827;
  border: 1px solid #21262d;
  padding: 15px;
  border-radius: 10px;
}
.gallery-card {
  background: #111827;
  border: 1px solid #21262d;
  padding: 15px;
  border-radius: 8px;
}
.price-gold {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fbbf24;
}
.filament-icon {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #21262d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.filament-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}
.rarity-border-poor {
  box-shadow: 0 0 6px #6b7280;
}
.rarity-border-common {
  box-shadow: 0 0 6px #ffffff55;
}
.rarity-border-uncommon {
  box-shadow: 0 0 6px #22c55e;
}
.rarity-border-rare {
  box-shadow: 0 0 8px #3b82f6;
}
.rarity-border-epic {
  box-shadow: 0 0 10px #a855f7;
}
.rarity-border-legendary {
  box-shadow: 0 0 12px #f59e0b;
}
.tooltip-rating {
  background: linear-gradient(90deg, #facc15, #fbbf24);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
.detail-spool {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #21262d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.detail-spool:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}
.profile-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #21262d;
}
.review-stars {
  background: linear-gradient(90deg, #facc15, #fbbf24);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
th[data-sort] {
  user-select: none;
  transition: color 0.2s ease;
}
th[data-sort]:hover {
  color: #3b82f6;
}
.rating-sidebar {
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 10px;
  padding: 20px;
}
.rating-score {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  color: #fff;
  margin-bottom: 10px;
}
.rating-rank {
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  color: #fff;
  margin-bottom: 15px;
  font-size: 0.9rem;
}
.rating-count {
  text-align: center;
  color: #8b949e;
}
.user-rating-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #21262d;
}
.user-rating-row:last-child {
  border-bottom: none;
}
.stars-right {
  color: #facc15;
}
.review-card {
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 10px;
  padding: 20px;
}
.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.review-user {
  font-weight: 600;
}
.review-stars {
  color: #facc15;
}
.review-recommended {
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 5px;
}
.review-recommended.recommended {
  background: #1f3d1f;
  color: #22c55e;
}
.review-recommended.not-recommended {
  background: #3d1f1f;
  color: #ef4444;
}
.review-text {
  line-height: 1.6;
  color: #e6edf3;
}
.vote-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 5px;
  color: #8b949e;
  transition: 0.2s;
}
.vote-btn:hover {
  color: #3b82f6;
}
.browse-reviews-link {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: #1f2630;
  border: 1px solid #21262d;
  color: #e6edf3;
  text-decoration: none;
  transition: 0.2s ease;
}
.browse-reviews-link:hover {
  background: #3b82f6;
  color: #fff;
}
.language-dropdown {
  background: #161b22;
  border: 1px solid #21262d;
}
.language-dropdown .dropdown-item {
  color: #e6edf3;
}
.language-dropdown .dropdown-item:hover {
  background: #1f2630;
  color: #e6edf3;
}
.language-dropdown .dropdown-item.active {
  background: #3b82f6;
  color: #fff;
}
