/* === Tier Set Page Styles === */

/* Page Navigation */
.page-nav {
  display: flex;
  gap: 8px;
  padding: 16px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.nav-item {
  padding: 8px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-item:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent);
  color: var(--text-primary);
}

.nav-item.active {
  background: rgba(79, 195, 247, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

/* Header modifications */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tier-season {
  padding: 6px 14px;
  background: rgba(229, 204, 128, 0.15);
  border: 1px solid rgba(229, 204, 128, 0.3);
  border-radius: 4px;
  color: var(--parse-gold);
  font-size: 13px;
  font-weight: 600;
}

/* Stats Section */
.tier-stats-section {
  margin-bottom: 24px;
}

.tier-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.tier-stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.tier-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tier-stat-card.four-piece {
  border-color: rgba(229, 204, 128, 0.4);
  background: linear-gradient(135deg, rgba(229, 204, 128, 0.1) 0%, var(--bg-secondary) 100%);
}

.tier-stat-card.two-piece {
  border-color: rgba(163, 53, 238, 0.4);
  background: linear-gradient(135deg, rgba(163, 53, 238, 0.08) 0%, var(--bg-secondary) 100%);
}

.tier-stat-card.partial {
  border-color: rgba(0, 112, 255, 0.4);
  background: linear-gradient(135deg, rgba(0, 112, 255, 0.08) 0%, var(--bg-secondary) 100%);
}

.tier-stat-card.none {
  border-color: var(--border-color);
}

.tier-stat-card.total {
  border-color: rgba(79, 195, 247, 0.4);
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.08) 0%, var(--bg-secondary) 100%);
}

/* Active Filter State */
.tier-stat-card.active-filter {
  box-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
  transform: translateY(-4px);
}

.tier-stat-card.four-piece.active-filter {
  box-shadow: 0 0 20px rgba(229, 204, 128, 0.4);
}

.tier-stat-card.two-piece.active-filter {
  box-shadow: 0 0 20px rgba(163, 53, 238, 0.4);
}

.tier-stat-card.partial.active-filter {
  box-shadow: 0 0 20px rgba(0, 112, 255, 0.4);
}

.tier-stat-card.none.active-filter {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.tier-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 6px;
}

.tier-stat-card.four-piece .tier-stat-value {
  color: var(--parse-gold);
}

.tier-stat-card.two-piece .tier-stat-value {
  color: var(--parse-purple);
}

.tier-stat-card.partial .tier-stat-value {
  color: var(--parse-blue);
}

.tier-stat-card.total .tier-stat-value {
  color: var(--accent);
}

.tier-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Progress Bar */
.tier-progress-bar {
  position: relative;
  height: 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tier-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(229, 204, 128, 0.3) 0%, rgba(163, 53, 238, 0.2) 50%, rgba(79, 195, 247, 0.15) 100%);
  transition: width 0.5s ease;
}

.tier-progress-text {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Table Section */
.tier-table-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
}

.tier-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.tier-table-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.tier-table-actions {
  display: flex;
  gap: 8px;
}

.btn-refresh {
  padding: 8px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-refresh:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
  color: var(--accent);
}

/* Tier Table */
.tier-table-wrapper {
  overflow-x: auto;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tier-table th,
.tier-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.tier-table th {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
}

.tier-table th .th-icon {
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}

.tier-table th .th-label {
  font-size: 12px;
}

.tier-table th.col-name,
.tier-table td.col-name {
  text-align: left;
  padding-left: 16px;
  min-width: 120px;
}

.tier-table th.col-class,
.tier-table td.col-class {
  text-align: left;
  min-width: 100px;
}

.tier-table th.col-slot,
.tier-table td.col-slot {
  min-width: 70px;
}

.tier-table th.col-count,
.tier-table td.col-count {
  min-width: 60px;
  font-weight: 600;
}

.tier-table th.col-status,
.tier-table td.col-status {
  min-width: 90px;
}

/* Table Rows */
.tier-table tbody tr {
  transition: background 0.15s ease;
}

.tier-table tbody tr:hover {
  background: var(--bg-hover);
}

.tier-table tbody tr.editable {
  cursor: pointer;
}

.tier-table tbody tr.editable:hover {
  background: rgba(79, 195, 247, 0.08);
}

/* Character Name */
.tier-char-name {
  font-weight: 500;
  color: var(--text-primary);
}

/* Character link in tier table */
.tier-table td.col-name .char-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(79, 195, 247, 0.4);
  text-underline-offset: 3px;
  font-weight: 600;
  transition: opacity 0.2s;
}

.tier-table td.col-name .char-link::after {
  content: ' ↗';
  font-size: 10px;
  opacity: 0.5;
}

.tier-table td.col-name .char-link:hover {
  opacity: 0.8;
}

/* Class colors for character names in tier table (no background) */
.tier-table td.col-name.class-1 { color: #C79C6E; background: transparent; }
.tier-table td.col-name.class-2 { color: #F58CBA; background: transparent; }
.tier-table td.col-name.class-3 { color: #ABD473; background: transparent; }
.tier-table td.col-name.class-4 { color: #FFF569; background: transparent; }
.tier-table td.col-name.class-5 { color: #FFFFFF; background: transparent; }
.tier-table td.col-name.class-6 { color: #C41F3B; background: transparent; }
.tier-table td.col-name.class-7 { color: #0070DE; background: transparent; }
.tier-table td.col-name.class-8 { color: #69CCF0; background: transparent; }
.tier-table td.col-name.class-9 { color: #9482C9; background: transparent; }
.tier-table td.col-name.class-10 { color: #00FF96; background: transparent; }
.tier-table td.col-name.class-11 { color: #FF7D0A; background: transparent; }
.tier-table td.col-name.class-12 { color: #A330C9; background: transparent; }
.tier-table td.col-name.class-13 { color: #33937F; background: transparent; }

/* Class Colors */
.tier-class {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.class-1 { background: rgba(199, 156, 110, 0.2); color: #C79C6E; }
.class-2 { background: rgba(245, 140, 186, 0.2); color: #F58CBA; }
.class-3 { background: rgba(171, 212, 115, 0.2); color: #ABD473; }
.class-4 { background: rgba(255, 245, 105, 0.2); color: #FFF569; }
.class-5 { background: rgba(255, 255, 255, 0.15); color: #FFFFFF; }
.class-6 { background: rgba(196, 31, 59, 0.2); color: #C41F3B; }
.class-7 { background: rgba(0, 112, 222, 0.2); color: #0070DE; }
.class-8 { background: rgba(105, 204, 240, 0.2); color: #69CCF0; }
.class-9 { background: rgba(148, 130, 201, 0.2); color: #9482C9; }
.class-10 { background: rgba(0, 255, 150, 0.2); color: #00FF96; }
.class-11 { background: rgba(255, 125, 10, 0.2); color: #FF7D0A; }
.class-12 { background: rgba(163, 48, 201, 0.2); color: #A330C9; }
.class-13 { background: rgba(51, 147, 127, 0.2); color: #33937F; }

/* Slot Indicators */
.tier-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 16px;
}

.tier-slot.has {
  background: rgba(102, 187, 106, 0.2);
  border: 1px solid rgba(102, 187, 106, 0.5);
  color: var(--success);
  font-size: 11px;
  font-weight: 600;
}

/* Level colors for tier slots */
.tier-slot.level-pt {
  background: rgba(139, 195, 74, 0.2);
  border-color: rgba(139, 195, 74, 0.5);
  color: #8bc34a;
}

.tier-slot.level-h {
  background: rgba(33, 150, 243, 0.2);
  border-color: rgba(33, 150, 243, 0.5);
  color: #2196f3;
}

.tier-slot.level-m {
  background: rgba(156, 39, 176, 0.2);
  border-color: rgba(156, 39, 176, 0.5);
  color: #9c27b0;
}

.tier-slot.missing {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  opacity: 0.5;
}

/* Editable slot cells */
.editable-slot {
  cursor: pointer;
}

.editable-slot:hover .tier-slot {
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(79, 195, 247, 0.4);
}

/* === Simplified Level Selector Modal === */
.slot-level-selector {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 10px 0;
}

.slot-level-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 0;
}

.slot-level-header .slot-icon-large {
  font-size: 36px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(79, 195, 247, 0.1);
  border: 2px solid var(--accent);
  border-radius: 12px;
}

.slot-level-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.slot-level-options {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.slot-level-btn {
  flex: 1;
  max-width: 100px;
  padding: 16px 0;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.3;
}

.slot-level-btn .level-desc {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
}

.slot-level-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.slot-level-btn.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(79, 195, 247, 0.3);
}

.slot-level-btn.level-pt.selected {
  background: #8bc34a;
  border-color: #8bc34a;
  box-shadow: 0 4px 20px rgba(139, 195, 74, 0.3);
}

.slot-level-btn.level-h.selected {
  background: #2196f3;
  border-color: #2196f3;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.3);
}

.slot-level-btn.level-m.selected {
  background: #9c27b0;
  border-color: #9c27b0;
  box-shadow: 0 4px 20px rgba(156, 39, 176, 0.3);
}

.slot-level-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}

.slot-level-actions .btn-remove {
  padding: 12px 24px;
  background: rgba(239, 83, 80, 0.15);
  border: 1px solid rgba(239, 83, 80, 0.5);
  border-radius: 8px;
  color: #ef5350;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slot-level-actions .btn-remove:hover {
  background: rgba(239, 83, 80, 0.25);
}

.slot-level-actions .btn-cancel {
  padding: 12px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slot-level-actions .btn-cancel:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* Status Badges */
.tier-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.tier-status.four-piece {
  background: rgba(229, 204, 128, 0.15);
  border: 1px solid rgba(229, 204, 128, 0.4);
  color: var(--parse-gold);
}

.tier-status.two-piece {
  background: rgba(163, 53, 238, 0.15);
  border: 1px solid rgba(163, 53, 238, 0.4);
  color: var(--parse-purple);
}

.tier-status.partial {
  background: rgba(0, 112, 255, 0.15);
  border: 1px solid rgba(0, 112, 255, 0.4);
  color: var(--parse-blue);
}

.tier-status.none {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.btn-link {
  display: inline-block;
  padding: 10px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-link:hover {
  background: var(--bg-hover);
  border-color: var(--accent);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 520px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.2s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-header h3 span {
  color: var(--accent);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.modal-body {
  padding: 20px;
  min-height: 360px;
}

/* === 弹窗部位列表 === */
.tier-slots-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slot-list-item {
  display: grid;
  grid-template-columns: 44px 1fr auto 24px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slot-list-item:hover {
  border-color: var(--accent);
  background: rgba(79, 195, 247, 0.05);
}

.slot-icon-large {
  font-size: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  border-radius: 8px;
}

.slot-list-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.slot-list-status {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-primary);
  color: var(--text-secondary);
}

.slot-list-status.has-item {
  background: rgba(102, 187, 106, 0.15);
  color: #66bb6a;
}

.slot-list-status.has-pt {
  background: rgba(139, 195, 74, 0.15);
  color: #8bc34a;
}

.slot-list-status.has-h {
  background: rgba(33, 150, 243, 0.15);
  color: #2196f3;
}

.slot-list-status.has-m {
  background: rgba(156, 39, 176, 0.15);
  color: #9c27b0;
}

.slot-list-arrow {
  font-size: 20px;
  color: var(--text-muted);
}

/* === 单个部位编辑视图 === */
.slot-edit-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.2s ease;
}

.slot-edit-view.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.btn-back {
  align-self: flex-start;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.slot-edit-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 0;
}

.slot-edit-header .slot-icon-large {
  font-size: 40px;
  width: 72px;
  height: 72px;
  background: rgba(79, 195, 247, 0.1);
  border: 2px solid var(--accent);
}

.slot-edit-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
}

.slot-edit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slot-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-primary);
}

.slot-checkbox-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}

.slot-level-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.level-section-title {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.level-options {
  display: flex;
  gap: 12px;
}

.level-option {
  flex: 1;
  padding: 14px 0;
  text-align: center;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.level-option:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.level-option.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.level-option.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.slot-source-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.slot-source-input {
  padding: 12px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
}

.slot-source-input:focus {
  border-color: var(--accent);
}

.slot-source-input::placeholder {
  color: var(--text-muted);
}

.btn-confirm {
  padding: 14px 24px;
  background: rgba(79, 195, 247, 0.15);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.btn-confirm:hover {
  background: rgba(79, 195, 247, 0.25);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
}

.btn-cancel {
  padding: 10px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-save {
  padding: 10px 24px;
  background: rgba(79, 195, 247, 0.15);
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-save:hover {
  background: rgba(79, 195, 247, 0.25);
}

/* === Tier Class Filter === */
.tier-class-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tier-class-filter::-webkit-scrollbar { display: none; }

.tcf-item {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  cursor: pointer;
  flex-shrink: 0;
  background: var(--bg-tertiary);
  overflow: hidden;
  transition: opacity 0.15s, box-shadow 0.15s;
}
.tcf-item:hover { opacity: 0.8; }
.tcf-item.tcf-active {
  opacity: 1;
  box-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}
.tcf-all {
  width: auto;
  padding: 0 14px;
  border-radius: 19px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-color: var(--accent);
}
.tcf-all.tcf-active {
  color: var(--accent);
}
.tcf-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Responsive Adjustments */
@media (max-width: 1100px) {
  .tier-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .tier-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tier-table th,
  .tier-table td {
    padding: 10px 6px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .tier-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tier-stat-value {
    font-size: 24px;
  }
}
