   /* ============================================================
   RTX BENCHMARK — STYLES v2.0
   Aesthetic: Dark Tech / GPU Dashboard / Industrial Precision
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=IBM+Plex+Mono:wght@400;500;600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg-0:         #06060a;
  --bg-1:         #0c0c14;
  --bg-2:         #12121e;
  --bg-card:      #161622;
  --bg-card-hover:#1c1c2e;
  --border:       rgba(120, 120, 200, 0.10);
  --border-bright:rgba(0, 212, 255, 0.30);

  --accent:       #00d4ff;
  --accent-glow:  rgba(0, 212, 255, 0.20);
  --accent-2:     #7b2fff;
  --accent-3:     #00ff9d;
  --accent-warn:  #ff6b35;
  --accent-gold:  #ffd700;

  --text-primary: #e8e8f2;
  --text-secondary:#a8a8c0;
  --text-muted:   #5a5a72;

  --tier-s:       #ff6b35;
  --tier-a:       #00d4ff;
  --tier-b:       #00ff9d;
  --tier-c:       #a8a8c0;
  --tier-d:       #5a5a72;

  --font-display: 'Orbitron', monospace;
  --font-mono:    'IBM Plex Mono', monospace;
  --font-body:    'DM Sans', sans-serif;

  --radius:       10px;
  --radius-lg:    16px;
  --shadow-card:  0 4px 32px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  --shadow-glow:  0 0 24px var(--accent-glow), 0 0 64px rgba(0,212,255,0.05);

  --transition:   0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET + BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grid noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Ambient glow orbs */
body::after {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(123,47,255,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }

/* ─── HEADER ─────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
}

.logo-title i {
  font-size: 1.2rem;
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent));
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { filter: drop-shadow(0 0 6px var(--accent)); }
  50%       { filter: drop-shadow(0 0 16px var(--accent)); }
}

.logo-title span {
  background: linear-gradient(90deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
  background: var(--accent-glow);
  border-color: var(--border-bright);
}

.nav-link.active {
  color: var(--accent);
  background: var(--accent-glow);
  border-color: var(--border-bright);
  box-shadow: inset 0 0 20px rgba(0,212,255,0.05);
}

/* ─── PAGE TITLE ──────────────────────────────────────────── */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 28px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-title::before {
  content: '//';
  color: var(--accent);
  font-size: 1.2em;
}

/* ─── STAT CARDS ──────────────────────────────────────────── */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 0;
}

@media (max-width: 900px) { .stats-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-cards { grid-template-columns: 1fr 1fr; gap: 10px; } }

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-glow);
}

.stat-card:hover::before { opacity: 1; }

.stat-card i {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.4rem;
  color: var(--accent);
  opacity: 0.18;
  transition: opacity var(--transition);
}

.stat-card:hover i { opacity: 0.4; }

.stat-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  transition: color var(--transition);
}

.stat-card:hover .stat-value { color: var(--accent); }

/* ─── SEARCH / FILTERS ────────────────────────────────────── */
.search-filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.filters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

@media (max-width: 700px) { .filters-grid { grid-template-columns: 1fr; } }

.input-group { display: flex; flex-direction: column; gap: 7px; }

.input-group label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.input-group label i { color: var(--accent); font-size: 0.75rem; }

.search-wrapper { position: relative; }

.search-wrapper input,
select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.search-wrapper input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
  background: var(--bg-1);
}

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

/* Custom select arrow */
.input-group:has(select) { position: relative; }
.input-group:has(select)::after {
  content: '▾';
  position: absolute;
  bottom: 11px;
  right: 14px;
  color: var(--accent);
  font-size: 0.85rem;
  pointer-events: none;
}

button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  white-space: nowrap;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

button[type="submit"]:active { transform: translateY(0); }

/* ─── VIEW SWITCHER ───────────────────────────────────────── */
.view-switcher-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.view-switcher {
  display: flex;
  gap: 4px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
}

.view-switcher button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.view-switcher button.active {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  color: var(--accent);
}

.view-switcher button:hover:not(.active) { color: var(--text-primary); }

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-icon:hover {
  color: var(--accent);
  border-color: var(--border-bright);
  background: var(--accent-glow);
}

/* ─── TABLE ──────────────────────────────────────────────── */
.results-container { animation: fadeInUp 0.3s ease both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.results-table { overflow-x: auto; border-radius: var(--radius-lg); }

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

thead { position: sticky; z-index: 10; }

thead th {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border-bright);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: left;
}

thead th:first-child { border-radius: var(--radius-lg) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--radius-lg) 0 0; }

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  animation: rowSlideIn 0.25s ease both;
}

tbody tr:nth-child(even) { background: rgba(255,255,255,0.015); }
tbody tr:hover { background: var(--bg-card-hover); }
tbody tr:last-child { border-bottom: none; }

@keyframes rowSlideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Stagger animation */
tbody tr:nth-child(1)  { animation-delay: 0.02s; }
tbody tr:nth-child(2)  { animation-delay: 0.04s; }
tbody tr:nth-child(3)  { animation-delay: 0.06s; }
tbody tr:nth-child(4)  { animation-delay: 0.08s; }
tbody tr:nth-child(5)  { animation-delay: 0.10s; }
tbody tr:nth-child(6)  { animation-delay: 0.12s; }
tbody tr:nth-child(7)  { animation-delay: 0.14s; }
tbody tr:nth-child(8)  { animation-delay: 0.16s; }
tbody tr:nth-child(9)  { animation-delay: 0.18s; }
tbody tr:nth-child(10) { animation-delay: 0.20s; }

tbody td {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-primary);
  vertical-align: middle;
}

/* Selected row */
tbody tr.selected-row {
  background: rgba(0, 212, 255, 0.06) !important;
  border-left: 2px solid var(--accent);
}

/* Rank column */
.rank-cell {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-align: center;
  color: var(--text-muted);
}

/* Device name */
.device-name-cell {
  font-weight: 500;
  min-width: 180px;
}

/* Numeric values */
.num-cell {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  text-align: right;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Tier badge */
.tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  margin-right: 8px;
}

.tier-S { background: rgba(255,107,53,0.15); color: var(--tier-s); border: 1px solid rgba(255,107,53,0.3); }
.tier-A { background: rgba(0,212,255,0.12); color: var(--tier-a); border: 1px solid rgba(0,212,255,0.3); }
.tier-B { background: rgba(0,255,157,0.10); color: var(--tier-b); border: 1px solid rgba(0,255,157,0.25); }
.tier-C { background: rgba(168,168,192,0.10); color: var(--tier-c); border: 1px solid rgba(168,168,192,0.2); }
.tier-D { background: rgba(90,90,114,0.15); color: var(--tier-d); border: 1px solid rgba(90,90,114,0.2); }

/* Progress bars */
.bar-wrap {
  margin-top: 5px;
  height: 3px;
  background: var(--bg-2);
  border-radius: 99px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.bar-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 4px;
  background: #fff;
  border-radius: 99px;
  opacity: 0.6;
}

.bar-fill.bar-tdp {
  background: linear-gradient(90deg, var(--accent-2), var(--accent-warn));
}

/* Checkbox */
.checkbox-column { width: 44px; text-align: center; }

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ─── COMPARE FLOATING TRAY ───────────────────────────────── */
#compareActions {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 200;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

#compareActions.visible {
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

#compareBtn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  border-radius: 99px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,212,255,0.4), 0 4px 12px rgba(0,0,0,0.5);
  transition: all var(--transition);
  white-space: nowrap;
}

#compareBtn:disabled {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  box-shadow: none;
  cursor: default;
}

#compareBtn:not(:disabled):hover {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0,212,255,0.5);
}

/* Chip list */
#selectedChips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  min-height: 28px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--accent-glow);
  border: 1px solid var(--border-bright);
  border-radius: 99px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent);
  animation: chipIn 0.2s ease;
}

.chip .chip-x {
  cursor: pointer;
  opacity: 0.6;
  font-size: 0.85em;
  transition: opacity var(--transition);
}
.chip .chip-x:hover { opacity: 1; }

@keyframes chipIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ─── CHART CONTAINER ─────────────────────────────────────── */
#chartContainer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
}

#chartContainer canvas { max-height: 520px; }

.chart-hint {
  text-align: center;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-top: 12px;
  padding-bottom: 4px;
}

/* ─── COMPARISON VIEW ─────────────────────────────────────── */
#comparisonView {
  animation: fadeInUp 0.3s ease;
}

#comparisonView h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#comparisonView h2::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

#comparisonContainer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

#comparisonContainer canvas { max-height: 420px; }

#backToMainBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition);
}

#backToMainBtn:hover {
  color: var(--accent);
  border-color: var(--border-bright);
  background: var(--accent-glow);
}

/* ─── EMPTY STATE ─────────────────────────────────────────── */
.empty-results {
  padding: 64px 24px;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.no-results-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--text-muted);
  opacity: 0.4;
}

.empty-results p { font-size: 0.9rem; font-family: var(--font-mono); }

/* ─── TOAST ───────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
}

.toast {
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
  animation: toastIn 0.25s ease, toastOut 0.3s ease 2.5s forwards;
  max-width: 300px;
}

.toast.error { border-left-color: var(--accent-warn); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; }
  to   { opacity: 0; pointer-events: none; }
}

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.05em;
}

/* ─── UTILITIES ───────────────────────────────────────────── */
.hidden { display: none !important; }
.text-accent { color: var(--accent); }
.text-mono { font-family: var(--font-mono); }

/* ─── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ─── MEDAL ICONS ─────────────────────────────────────────── */
.fa-trophy { color: var(--accent-gold) !important; filter: drop-shadow(0 0 6px rgba(255,215,0,0.5)); }
.fa-medal  { color: #c0c0c0 !important; filter: drop-shadow(0 0 4px rgba(192,192,192,0.4)); }
.fa-award  { color: #cd7f32 !important; filter: drop-shadow(0 0 4px rgba(205,127,50,0.4)); }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .header .container { padding: 0 16px; }
  .nav { gap: 4px; }
  .nav-link { padding: 7px 10px; font-size: 0.72rem; }
  .stat-value { font-size: 1.4rem; }
  .view-switcher-row { flex-direction: column; align-items: flex-start; }
}

/* ─── COUNTER ANIMATION ───────────────────────────────────── */
@keyframes countUp {
  from { opacity: 0.2; transform: translateY(4px); }
  to   { opacity: 1;   transform: translateY(0); }
}

.stat-value.counting { animation: countUp 0.4s ease; }

/* ─── TOP-PERFORMER ROW ───────────────────────────────────── */
tbody tr:first-child td { font-weight: 500; }
tbody tr:first-child .device-name-cell { color: var(--accent); }

/* ─── CARD VIEW ───────────────────────────────────────────── */
#cardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.device-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.device-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity var(--transition);
}

.device-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.device-card:hover::before { opacity: 1; }

.device-card-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device-card-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.device-card-stat-label {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.device-card-stat-value {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

/* ─── SEARCH KBD HINT ─────────────────────────────────────── */
.kbd-hint {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 3px;
}

.kbd-hint kbd {
  padding: 2px 5px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}