/* ============================================
   Device Hub & Device Detail Pages
   ============================================ */

/* --- Device Hub Hero --- */
.device-hub-hero {
  text-align: center;
  padding: 100px 24px 48px;
  position: relative;
}
.device-hub-inner { max-width: var(--max-width); margin: 0 auto; }
.hub-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--cyan); padding: 6px 16px;
  border: 1px solid rgba(0,180,216,0.3);
  border-radius: 4px; margin-bottom: 20px;
  background: rgba(0,180,216,0.08);
}
.hub-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800; color: var(--chrome-white);
  margin-bottom: 12px; line-height: 1.1;
}
.hub-subtitle {
  font-size: 16px; color: var(--chrome-silver);
  max-width: 600px; margin: 0 auto; line-height: 1.6;
}

/* --- Filter Bar --- */
.device-filters {
  position: sticky; top: var(--nav-height); z-index: 80;
  background: rgba(0,0,17,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--panel-border);
  padding: 12px 0;
}
.device-filters-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-label {
  font-family: var(--font-heading);
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--chrome-silver);
  min-width: 40px;
}
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 5px 12px; border-radius: 16px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500;
  background: rgba(0,20,80,0.3); border: 1px solid var(--panel-border);
  color: var(--chrome-silver); cursor: pointer; transition: all 0.2s;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); }
.chip.active {
  background: rgba(0,180,216,0.12); border-color: var(--cyan);
  color: var(--cyan); font-weight: 600;
}
.filter-select {
  padding: 6px 12px; border-radius: 8px;
  font-family: var(--font-body); font-size: 13px;
  background: rgba(0,20,80,0.3); border: 1px solid var(--panel-border);
  color: var(--chrome-silver); cursor: pointer;
}
.filter-select option { background: #000433; }

/* --- Device Grid --- */
.device-grid-wrap {
  max-width: var(--max-width); margin: 0 auto; padding: 32px 24px 64px;
}
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.device-card {
  background: var(--bg-panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.device-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 8px 32px rgba(0,180,216,0.1);
}
.dc-image {
  aspect-ratio: 16/10; background: linear-gradient(135deg, #0a0a2e, #111144);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--panel-border);
  overflow: hidden;
}
.dc-image img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 12px;
}
.dc-image-placeholder { opacity: 0.4; }
.dc-body { padding: 16px; }
.dc-brand {
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--cyan); margin-bottom: 4px;
}
.dc-name {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 800; color: var(--chrome-white);
  margin-bottom: 8px;
}
.dc-specs-row {
  font-size: 12px; color: var(--chrome-silver); margin-bottom: 8px;
  display: flex; gap: 6px; align-items: center;
}
.dc-sep { opacity: 0.4; }
.dc-best-for { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.dc-best-for strong { color: var(--chrome-silver); }
.dc-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--panel-border);
}
.dc-price {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 800; color: var(--cyan);
}
.dc-tier {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; padding: 3px 8px; border-radius: 4px;
}
.tier-ultra-budget { background: rgba(34,197,94,0.12); color: var(--green); }
.tier-budget { background: rgba(34,197,94,0.12); color: var(--green); }
.tier-mid-range { background: rgba(0,180,216,0.12); color: var(--cyan); }
.tier-premium { background: rgba(255,215,0,0.12); color: var(--gold); }
.tier-flagship { background: rgba(155,89,182,0.12); color: var(--purple); }

/* --- Compare CTA --- */
.compare-cta-section {
  padding: 64px 24px;
  text-align: center;
  border-top: 1px solid var(--panel-border);
}
.compare-cta-inner { max-width: 500px; margin: 0 auto; }
.compare-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: 28px; font-weight: 800; color: var(--chrome-white);
  margin-bottom: 8px;
}
.compare-cta-inner p { font-size: 15px; color: var(--chrome-silver); margin-bottom: 24px; }
.btn-primary-lg {
  display: inline-block; padding: 14px 32px;
  background: var(--cyan); color: var(--bg-void);
  font-family: var(--font-heading); font-size: 15px; font-weight: 700;
  border-radius: 8px; text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}
.btn-primary-lg:hover { background: var(--cyan-glow); transform: translateY(-2px); }

/* ============================================
   Device Detail Page
   ============================================ */

/* --- Breadcrumb --- */
.device-breadcrumb {
  max-width: var(--max-width); margin: 0 auto;
  padding: 80px 24px 0; font-size: 13px; color: var(--text-muted);
}
.device-breadcrumb a { color: var(--chrome-silver); text-decoration: none; }
.device-breadcrumb a:hover { color: var(--cyan); }
.device-breadcrumb span { margin: 0 6px; opacity: 0.4; }

/* --- Device Hero --- */
.device-hero { max-width: var(--max-width); margin: 0 auto; padding: 24px 24px 0; }
.dh-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start; padding-bottom: 32px;
}
.dh-image-wrap {
  background: linear-gradient(135deg, #0a0a2e, #111144);
  border-radius: 16px; border: 1px solid var(--panel-border);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.dh-image-wrap .dh-image {
  width: 100%; height: 100%; object-fit: contain;
  padding: 20px;
}
.dh-image-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; opacity: 0.4;
}
.dh-image-label { font-size: 12px; color: var(--text-muted); margin-top: 12px; }
.dh-badges { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.badge {
  font-family: var(--font-heading);
  font-size: 10px; font-weight: 700; padding: 4px 10px;
  border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-ff { background: rgba(0,180,216,0.1); color: var(--cyan); border: 1px solid rgba(0,180,216,0.2); }
.badge-date { background: rgba(255,255,255,0.05); color: var(--chrome-silver); border: 1px solid rgba(255,255,255,0.08); }
.badge-tier { border: 1px solid currentColor; }
.dh-name {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900; color: var(--chrome-white);
  line-height: 1.1; margin-bottom: 8px;
}
.dh-tagline {
  font-size: 15px; color: var(--chrome-silver);
  line-height: 1.6; margin-bottom: 20px;
}
.dh-quick-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px;
}
.qs-item {
  background: rgba(0,20,80,0.3); border: 1px solid var(--panel-border);
  border-radius: 8px; padding: 10px 14px;
}
.qs-label {
  font-family: var(--font-heading);
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 2px;
}
.qs-value { font-size: 14px; font-weight: 600; color: var(--chrome-white); }
.dh-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-buy {
  background: var(--cyan); color: var(--bg-void);
  font-family: var(--font-heading);
  font-weight: 700; font-size: 14px; padding: 12px 24px;
  border-radius: 8px; text-decoration: none; display: inline-block;
  transition: all 0.2s;
}
.btn-buy:hover { background: var(--cyan-glow); transform: translateY(-1px); }
.btn-buy-alt {
  background: transparent; color: var(--cyan);
  font-family: var(--font-heading);
  font-weight: 600; font-size: 14px; padding: 12px 24px;
  border-radius: 8px; border: 1px solid var(--cyan);
  text-decoration: none; display: inline-block; transition: all 0.2s;
}
.btn-buy-alt:hover { background: rgba(0,180,216,0.1); }

/* --- Spec Strip --- */
.dh-spec-strip {
  border-top: 1px solid var(--panel-border);
  border-bottom: 3px solid var(--cyan);
  margin-top: 32px; background: rgba(0,20,80,0.2);
}
.strip-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; overflow-x: auto; gap: 0;
}
.strip-inner::-webkit-scrollbar { height: 3px; }
.strip-inner::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 2px; }
.strip-item {
  padding: 14px 20px; white-space: nowrap;
  border-right: 1px solid var(--panel-border); flex-shrink: 0;
}
.strip-item:last-child { border-right: none; }
.strip-label {
  font-family: var(--font-heading);
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 2px;
}
.strip-value { font-size: 13px; font-weight: 700; color: var(--chrome-white); }
.strip-value.highlight { color: var(--cyan); }

/* --- Tabs --- */
.device-tabs-bar {
  position: sticky; top: var(--nav-height); z-index: 80;
  background: rgba(0,0,17,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--panel-border);
}
.device-tabs-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; gap: 0; overflow-x: auto;
}
.dtab {
  padding: 14px 20px; font-family: var(--font-heading);
  font-size: 14px; font-weight: 600; color: var(--chrome-silver);
  background: none; border: none; border-bottom: 3px solid transparent;
  cursor: pointer; white-space: nowrap; transition: all 0.2s;
}
.dtab:hover { color: var(--cyan); }
.dtab.active { color: var(--cyan); border-bottom-color: var(--cyan); }

/* --- Main Layout --- */
.device-main-layout {
  max-width: var(--max-width); margin: 0 auto; padding: 32px 24px 64px;
  display: grid; grid-template-columns: 1fr 300px; gap: 32px;
}

/* --- Tab Content --- */
.device-tab { display: none; }
.device-tab.active { display: block; }
.spec-section-title {
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 800; color: var(--chrome-white);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--panel-border);
}

/* --- Spec Table --- */
.spec-table-wrap {
  background: var(--bg-panel); border: 1px solid var(--panel-border);
  border-radius: 12px; overflow: hidden;
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-cat td {
  background: rgba(0,180,216,0.05); color: var(--cyan);
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 16px; border-top: 1px solid var(--panel-border);
}
.spec-table tr:not(.spec-cat) {
  border-top: 1px solid rgba(255,255,255,0.03);
}
.spec-table tr:not(.spec-cat):hover { background: rgba(0,180,216,0.02); }
.spec-label {
  padding: 12px 16px; font-size: 13px; color: var(--chrome-silver);
  width: 180px;
}
.spec-val {
  padding: 12px 16px; font-size: 13px; color: var(--chrome-white); font-weight: 500;
}

/* --- Emulation Grid --- */
.emu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px; margin-bottom: 20px;
}
.emu-card {
  background: var(--bg-panel); border: 1px solid var(--panel-border);
  border-radius: 10px; padding: 14px 12px; text-align: center;
}
.emu-name {
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700; color: var(--chrome-white);
  margin-bottom: 6px; letter-spacing: 0.5px;
}
.emu-status {
  font-size: 10px; font-weight: 700; padding: 3px 10px;
  border-radius: 4px; display: inline-block; text-transform: uppercase;
}
.emu-perfect { background: rgba(34,197,94,0.15); color: var(--green); }
.emu-great { background: rgba(0,180,216,0.15); color: var(--cyan); }
.emu-good { background: rgba(255,215,0,0.15); color: var(--gold); }
.emu-limited { background: rgba(239,68,68,0.15); color: var(--red); }
.emu-none { background: rgba(255,255,255,0.05); color: var(--text-muted); }
.emu-legend {
  background: var(--bg-panel); border: 1px solid var(--panel-border);
  border-radius: 8px; padding: 12px 16px;
  font-size: 12px; color: var(--chrome-silver); line-height: 2;
}
.emu-key {
  display: inline-block; padding: 2px 8px; border-radius: 3px;
  font-size: 10px; font-weight: 700; margin-right: 4px;
  text-transform: uppercase;
}

/* --- Review Link Card --- */
.review-link-card {
  background: var(--bg-panel); border: 1px solid var(--panel-border);
  border-radius: 12px; padding: 24px;
}
.review-link-card h3 {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700; color: var(--chrome-white);
  margin-bottom: 8px;
}
.review-link-card p { font-size: 14px; color: var(--chrome-silver); margin-bottom: 16px; line-height: 1.5; }
.btn-read-review {
  display: inline-block; padding: 10px 20px;
  background: rgba(0,180,216,0.12); border: 1px solid var(--cyan);
  color: var(--cyan); font-family: var(--font-heading);
  font-size: 13px; font-weight: 600; border-radius: 8px;
  text-decoration: none; transition: all 0.2s;
}
.btn-read-review:hover { background: rgba(0,180,216,0.2); }

/* --- Sidebar --- */
.device-sidebar { position: sticky; top: calc(var(--nav-height) + 60px); }
.sidebar-box {
  background: var(--bg-panel); border: 1px solid var(--panel-border);
  border-radius: 12px; padding: 20px; margin-bottom: 16px;
}
.sb-title {
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--cyan); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--panel-border);
}
.buy-box { text-align: center; }
.sb-price {
  font-family: var(--font-heading);
  font-size: 32px; font-weight: 900; color: var(--cyan);
  margin-bottom: 16px;
}
.sb-buy-btn {
  display: block; width: 100%; padding: 12px;
  background: var(--cyan); color: var(--bg-void);
  font-family: var(--font-heading);
  font-size: 14px; font-weight: 700; border-radius: 8px;
  text-decoration: none; text-align: center; margin-bottom: 8px;
  transition: all 0.2s;
}
.sb-buy-btn:hover { background: var(--cyan-glow); }
.sb-buy-alt {
  background: transparent; color: var(--cyan);
  border: 1px solid var(--cyan);
}
.sb-buy-alt:hover { background: rgba(0,180,216,0.1); }
.sb-article-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--panel-border);
  text-decoration: none; transition: all 0.2s;
}
.sb-article-link:last-child { border-bottom: none; }
.sb-article-link:hover .sb-article-title { color: var(--cyan); }
.sb-article-title { font-size: 13px; color: var(--chrome-silver); flex: 1; }
.sb-article-date { font-size: 11px; color: var(--text-muted); margin-left: 12px; }
.sb-spec-list {}
.sb-spec {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 13px;
}
.sb-spec:last-child { border-bottom: none; }
.sb-spec span { color: var(--chrome-silver); }
.sb-spec strong { color: var(--chrome-white); font-weight: 600; text-align: right; max-width: 55%; }

/* ============================================
   Comparison Page
   ============================================ */

/* --- Compare Hero --- */
.compare-hero {
  text-align: center; padding: 100px 24px 32px; position: relative;
}
.compare-hero-inner { max-width: var(--max-width); margin: 0 auto; }
.compare-badge-label {
  display: inline-block; font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cyan);
  padding: 6px 16px; border: 1px solid rgba(0,180,216,0.3);
  border-radius: 4px; margin-bottom: 20px; background: rgba(0,180,216,0.08);
}
.compare-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 40px); font-weight: 800;
  color: var(--chrome-white); margin-bottom: 8px; line-height: 1.1;
}
.compare-subtitle { font-size: 15px; color: var(--chrome-silver); }

/* --- Picker --- */
.compare-picker {
  position: sticky; top: var(--nav-height); z-index: 80;
  background: rgba(0,0,17,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--panel-border); padding: 16px 0;
}
.picker-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  justify-content: center;
}
.picker-slot { flex: 1; min-width: 200px; max-width: 300px; }
.picker-select {
  width: 100%; padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-body); font-size: 13px;
  background: rgba(0,20,80,0.3); border: 1px solid var(--panel-border);
  color: var(--chrome-white); cursor: pointer;
}
.picker-select option { background: #000433; }
.picker-vs {
  font-family: var(--font-heading); font-size: 18px;
  font-weight: 900; color: var(--text-muted); flex-shrink: 0;
}
.picker-add-btn {
  padding: 10px 16px; border-radius: 8px;
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  background: rgba(0,20,80,0.3); border: 1px dashed var(--panel-border);
  color: var(--chrome-silver); cursor: pointer; transition: all 0.2s;
}
.picker-add-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.picker-compare-btn {
  padding: 10px 24px; border-radius: 8px;
  font-family: var(--font-heading); font-size: 14px; font-weight: 700;
  background: var(--cyan); border: none; color: var(--bg-void);
  cursor: pointer; transition: all 0.2s;
}
.picker-compare-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.picker-compare-btn:not(:disabled):hover { background: var(--cyan-glow); transform: translateY(-1px); }

/* --- Device Strip --- */
.compare-device-strip {
  max-width: var(--max-width); margin: 0 auto; padding: 40px 24px 0;
}
.cds-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.cds-card {
  background: var(--bg-panel); border: 1px solid var(--panel-border);
  border-radius: 16px; padding: 24px 20px; text-align: center;
  flex: 1; min-width: 180px; max-width: 260px;
}
.cds-img {
  width: 100px; height: 80px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
}
.cds-img img {
  width: 100%; height: 100%; object-fit: contain;
}
.cds-brand {
  font-family: var(--font-heading); font-size: 11px;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 4px;
}
.cds-name {
  font-family: var(--font-heading); font-size: 16px;
  font-weight: 800; color: var(--chrome-white); margin-bottom: 8px;
}
.cds-price {
  font-family: var(--font-heading); font-size: 18px;
  font-weight: 800; color: var(--cyan);
}
.cds-vs {
  font-family: var(--font-heading); font-size: 20px;
  font-weight: 900; color: var(--text-muted); padding: 0 16px;
}

/* --- Compare Layout --- */
.compare-layout {
  max-width: var(--max-width); margin: 0 auto; padding: 32px 24px 64px;
  display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: start;
}
.compare-section-label {
  font-family: var(--font-heading); font-size: 11px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 1px solid var(--panel-border); margin-top: 28px;
}
.compare-section-label:first-child { margin-top: 0; }

/* --- Comparison Table --- */
.compare-table-wrap {
  background: var(--bg-panel); border: 1px solid var(--panel-border);
  border-radius: 12px; overflow: hidden; margin-bottom: 8px;
}
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table thead th {
  position: sticky; top: calc(var(--nav-height) + 56px); z-index: 10;
  background: rgba(0,4,51,0.95); padding: 12px 16px; text-align: center;
  font-size: 13px; font-weight: 700; border-bottom: 2px solid var(--panel-border);
}
.cmp-label-th { text-align: left; color: var(--text-muted); width: 160px; min-width: 120px; }
.cmp-device-th { text-align: center; color: var(--chrome-white); }
.cmp-th-name { display: block; font-size: 13px; }
.cmp-th-price { display: block; font-size: 11px; color: var(--cyan); font-weight: 600; margin-top: 2px; }
.cmp-cat-row td {
  background: rgba(0,180,216,0.05); color: var(--cyan);
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 16px; border-top: 1px solid var(--panel-border);
}
.cmp-table tbody tr:not(.cmp-cat-row) {
  border-top: 1px solid rgba(255,255,255,0.03);
  transition: background 0.15s;
}
.cmp-table tbody tr:not(.cmp-cat-row):hover { background: rgba(255,255,255,0.02); }
.cmp-label {
  padding: 11px 16px; font-size: 13px; color: var(--chrome-silver); font-weight: 500;
}
.cmp-val {
  padding: 11px 16px; font-size: 13px; text-align: center;
  color: var(--chrome-white); font-weight: 500;
}
.cmp-win {
  background: rgba(34,197,94,0.06); color: var(--green); font-weight: 700;
}
.cmp-lose { color: var(--text-muted); opacity: 0.7; }
.cmp-check { font-size: 10px; opacity: 0.7; }

/* --- Emulation chips inside table --- */
.emu-chip {
  display: inline-block; padding: 3px 10px; border-radius: 4px;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
}

/* --- Compare Sidebar --- */
.compare-sidebar { position: sticky; top: calc(var(--nav-height) + 60px); }
.compare-sb-box {
  background: var(--bg-panel); border: 1px solid var(--panel-border);
  border-radius: 12px; padding: 20px; margin-bottom: 16px;
}
.compare-sb-title {
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: var(--cyan);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--panel-border);
}
.compare-sb-device {
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 13px; color: var(--chrome-silver); line-height: 1.6;
}
.compare-sb-device:last-child { border-bottom: none; }
.compare-sb-device strong { color: var(--chrome-white); }
.compare-sb-link {
  display: inline-block; margin-top: 4px; padding: 4px 10px;
  background: rgba(0,180,216,0.1); border: 1px solid var(--cyan);
  color: var(--cyan); font-size: 11px; font-weight: 600;
  border-radius: 4px; text-decoration: none; margin-right: 6px;
  transition: background 0.2s;
}
.compare-sb-link:hover { background: rgba(0,180,216,0.2); }
.compare-sb-glance {
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.03);
}
.compare-sb-glance:last-child { border-bottom: none; }
.compare-sb-gname {
  font-family: var(--font-heading); font-size: 14px;
  font-weight: 700; color: var(--chrome-white); margin-bottom: 4px;
}
.compare-sb-gspec { font-size: 12px; color: var(--chrome-silver); line-height: 1.6; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .dh-inner { grid-template-columns: 1fr; }
  .device-main-layout { grid-template-columns: 1fr; }
  .device-sidebar { position: static; }
  .device-filters-inner { flex-direction: column; gap: 12px; }
  .filter-group { flex-wrap: wrap; }
  .compare-layout { grid-template-columns: 1fr; }
  .compare-sidebar { position: static; }
  .picker-inner { flex-direction: column; }
  .picker-slot { max-width: 100%; min-width: 100%; }
  .cds-inner { flex-direction: column; }
  .cds-vs { padding: 8px 0; }
  .cmp-label { min-width: 80px; font-size: 11px; }
  .cmp-val { font-size: 11px; padding: 8px; }
}
