/* ===== SKILLS REYWAY - 技能商店 · 禪意白底版 ===== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700&display=swap');

:root {
  /* === 背景 === */
  --bg: #fafaf8;
  --bg-card: #ffffff;
  --bg-surface: #f4f3ef;
  --bg-hover: #f0ede6;

  /* === 文字 === */
  --text-primary: #1c1c1e;
  --text-secondary: #5a5a62;
  --text-muted: #9a9a9f;

  /* === 邊框 === */
  --border: #e4e2db;
  --border-strong: #ccc9c0;

  /* === 藍色 === */
  --blue: #3a6fa5;
  --blue-mid: #c4d8ee;
  --blue-light: #edf3fa;
  --blue-deep: #1f4f82;

  /* === 金色 === */
  --gold: #b8901a;
  --gold-warm: #c9a23c;
  --gold-light: #fdf6e3;
  --gold-shimmer-1: #d4aa47;
  --gold-shimmer-2: #b8880d;

  /* === 稀有度 === */
  --rarity-common: #9a9a9f;
  --rarity-rare: #3a6fa5;
  --rarity-epic: #1f4f82;
  --rarity-legendary-start: #d4aa47;
  --rarity-legendary-end: #b8880d;

  /* === 其他 === */
  --radius-card: 10px;
  --radius-sm: 6px;
  --transition: 0.18s ease;
  --shadow-card: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-hover: 0 4px 12px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* 極淡頂部光暈 */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60vh;
  background: radial-gradient(ellipse 80% 40% at 50% 0%, rgba(58,111,165,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ===== LAYOUT ===== */
#app {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ===== HEADER ===== */
.site-header {
  text-align: center;
  padding: 64px 0 48px;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  border-radius: 99px;
  padding: 4px 16px;
  font-size: 12px;
  color: var(--blue);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.site-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.title-accent {
  color: var(--gold);
}

/* 標題下金色細線 */
.site-title-underline {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 12px;
}

.site-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* ===== SEARCH ===== */
.search-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

/* search-glow 保留空殼，不顯示 */
.search-glow {
  display: none;
}

.search-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-wrapper:focus-within .search-inner {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(58,111,165,0.1);
}

.search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 12px;
}

.search-wrapper:focus-within .search-icon {
  color: var(--blue);
}

#search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  padding: 13px 0;
  caret-color: var(--blue);
}

#search-input::placeholder {
  color: var(--text-muted);
}

.search-clear {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  display: flex;
  border-radius: 50%;
  transition: color var(--transition);
  opacity: 0;
  pointer-events: none;
}

.search-clear.visible {
  opacity: 1;
  pointer-events: auto;
}

.search-clear:hover {
  color: var(--text-secondary);
}

/* ===== CONTROLS ===== */
.controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 7px 16px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.tab-btn:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--blue-light);
  border-color: var(--blue-mid);
  color: var(--blue);
}

/* Filter Row */
.filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.platform-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pill-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: inherit;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.pill-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.pill-btn.active {
  background: var(--blue-light);
  border-color: var(--blue-mid);
  color: var(--blue);
}

.sort-select {
  margin-left: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 32px 6px 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 256 256'%3E%3Cpath fill='%239a9a9f' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80A8 8 0 0 1 53.66 90.34L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color var(--transition);
}

.sort-select:focus {
  outline: none;
  border-color: var(--blue);
}

/* Results count */
.results-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.results-meta strong {
  color: var(--blue);
}

/* ===== GRID ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* ===== SKILL CARD ===== */
.skill-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.skill-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Rarity hover border */
.skill-card[data-rarity="common"]:hover {
  border-color: var(--border-strong);
}

.skill-card[data-rarity="rare"]:hover {
  border-color: var(--blue-mid);
}

.skill-card[data-rarity="epic"]:hover {
  border-color: rgba(31,79,130,0.4);
}

.skill-card[data-rarity="legendary"] {
  animation: legendary-pulse 3s ease-in-out infinite;
}

.skill-card[data-rarity="legendary"]:hover {
  border-color: var(--gold-warm);
}

@keyframes legendary-pulse {
  0%, 100% { box-shadow: var(--shadow-card), 0 0 0 rgba(184,144,26,0); }
  50% { box-shadow: var(--shadow-hover), 0 0 16px rgba(184,144,26,0.12); }
}

/* Card rarity top bar */
.card-rarity-bar {
  height: 2px;
  width: 100%;
}

.skill-card[data-rarity="common"] .card-rarity-bar {
  background: var(--rarity-common);
}

.skill-card[data-rarity="rare"] .card-rarity-bar {
  background: var(--rarity-rare);
}

.skill-card[data-rarity="epic"] .card-rarity-bar {
  background: var(--rarity-epic);
}

.skill-card[data-rarity="legendary"] .card-rarity-bar {
  background: linear-gradient(90deg, var(--gold-shimmer-1), var(--gold-shimmer-2), var(--gold-shimmer-1));
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* Card body */
.card-body {
  padding: 20px;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.card-title-group {
  flex: 1;
  min-width: 0;
}

.card-zh-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-en-name {
  font-size: 11px;
  color: var(--text-muted);
  font-family: monospace;
}

.card-rarity-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.skill-card[data-rarity="common"] .card-rarity-badge {
  background: var(--bg-surface);
  color: var(--rarity-common);
  border: 1px solid var(--border);
}

.skill-card[data-rarity="rare"] .card-rarity-badge {
  background: var(--blue-light);
  color: var(--rarity-rare);
  border: 1px solid var(--blue-mid);
}

.skill-card[data-rarity="epic"] .card-rarity-badge {
  background: var(--blue-light);
  color: var(--rarity-epic);
  border: 1px solid rgba(31,79,130,0.3);
}

.skill-card[data-rarity="legendary"] .card-rarity-badge {
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid rgba(184,144,26,0.3);
}

.card-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Suitability */
.card-suitability {
  margin-bottom: 14px;
}

.suit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.suit-label {
  font-size: 11px;
  color: var(--text-muted);
}

.suit-value {
  font-size: 12px;
  font-weight: 700;
}

.suit-bar {
  height: 4px;
  background: var(--bg-surface);
  border-radius: 99px;
  overflow: hidden;
}

.suit-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease;
}

/* Card footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.card-stars-display {
  display: flex;
  align-items: center;
  gap: 5px;
}

.stars-number {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stars-label {
  font-size: 11px;
  color: var(--text-muted);
}

.card-footer-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-installed-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #16a34a;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
}

.btn-install {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-family: inherit;
  font-size: 12px;
  color: var(--blue);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-install:hover {
  background: var(--blue-mid);
  color: #fff;
}

.btn-install.copied {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.4);
  color: #16a34a;
}

.card-highlight {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--gold);
  background: var(--gold-light);
  border: 1px solid rgba(184,144,26,0.2);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

/* ===== TAGS ===== */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.tag {
  font-size: 10px;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 7px;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  display: none;
}

.empty-state.visible {
  display: block;
}

.empty-icon {
  margin-bottom: 16px;
  opacity: 0.4;
}

.empty-state h3 {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* ===== MODAL ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,10,15,0.4);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s ease;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.modal-backdrop.open .modal {
  transform: none;
}

.modal-rarity-bar {
  height: 3px;
  border-radius: 12px 12px 0 0;
}

.modal-content {
  padding: 28px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.modal-title-group {}

.modal-zh-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.modal-en-name {
  font-size: 13px;
  color: var(--text-muted);
  font-family: monospace;
}

.modal-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.modal-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.modal-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.modal-tag {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
}

/* Suitability in modal */
.modal-suitability {
  margin-bottom: 24px;
}

.modal-suit-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-suit-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-surface);
  border-radius: 99px;
  overflow: hidden;
}

.modal-suit-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.6s ease;
}

.modal-suit-value {
  font-size: 18px;
  font-weight: 700;
  width: 48px;
  text-align: right;
  color: var(--text-primary);
}

/* Install command */
.install-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 24px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #2d6a2d;
  word-break: break-all;
  position: relative;
}

/* Modal actions */
.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  border-radius: 8px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 14px;
  color: var(--blue);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--blue-mid);
  color: #fff;
}

.btn-secondary {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.btn-secondary.copied {
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.3);
  color: #16a34a;
}

/* Stars in modal */
.modal-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.modal-stars .star-gold {
  color: var(--gold);
}

/* ===== REFRESH BUTTON ===== */
.btn-refresh {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-surface);
  font-family: inherit;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-refresh:hover {
  border-color: var(--blue-mid);
  color: var(--blue);
  background: var(--blue-light);
}

.btn-refresh:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-refresh.spinning ph-icon {
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

.last-updated {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 40px 0 20px;
  color: var(--text-muted);
  font-size: 12px;
}

.site-footer a {
  color: var(--blue);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ===== MOBILE ===== */
@media (max-width: 640px) {
  #app {
    padding: 0 16px 60px;
  }

  .site-header {
    padding: 40px 0 32px;
  }

  .site-title {
    font-size: 32px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .filter-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .sort-select {
    margin-left: 0;
    width: 100%;
  }

  .modal {
    max-height: 95vh;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    justify-content: center;
  }
}

/* ── Card Actions（左上選取圓 + 右上收藏） ── */
.card-actions {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.card-right-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: auto;
}

.card-select-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  opacity: 0;
  color: white;
  flex-shrink: 0;
}

.skill-card:hover .card-select-btn,
.skill-card.selected .card-select-btn {
  opacity: 1;
}

.skill-card.selected .card-select-btn {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.card-bookmark-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  color: var(--text-muted);
  transition: all 0.15s;
  white-space: nowrap;
}

.card-bookmark-btn:hover {
  border-color: var(--gold-warm);
  color: var(--gold);
  background: var(--gold-light);
}

.card-bookmark-btn.bookmarked {
  border-color: rgba(184,144,26,0.4);
  color: var(--gold);
  background: var(--gold-light);
}

/* Selected card border */
.skill-card.selected {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 2px rgba(58,111,165,0.2), var(--shadow-hover) !important;
}

/* ── Selection Action Bar ── */
.selection-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  z-index: 200;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

.selection-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.selection-bar-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.selection-bar-text strong {
  color: var(--blue);
}

.btn-clear-selection {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-clear-selection:hover {
  border-color: var(--border-strong);
  color: var(--text-secondary);
}

/* Tab badge */
.tab-badge {
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 99px;
  padding: 1px 6px;
  margin-left: 2px;
}

/* Modal install toggle btn */
.btn-toggle-install {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px;
}
