/* Classes that used to be inline style attributes on the chip and GPU pages,
   plus the comparison-page rules that were an inline <style> block. They live
   in their own file so the CSP can forbid inline styles without touching
   style.css. */

.chip-icon-lg { width: 120px; height: 120px; }
.chip-icon-sm { width: 80px; height: 80px; }

.detail-brand.brand-badge-amd { background: #fff1f1; color: #dc2626; }
.detail-brand.brand-badge-nvidia { background: #dcfce7; color: #16a34a; }
.detail-brand.brand-badge-blue { background: #eff6ff; color: #2563eb; }

.w-35 { width: 35%; }
.w-50 { width: 50%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }
.w-92 { width: 92%; }
.w-95 { width: 95%; }

.price-sub { font-size: 0.85rem; }

.vs-hero { text-align: center; padding: 3rem 1rem 2rem; }
.vs-hero h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.vs-hero p { color: #666; font-size: 1rem; }
.vs-devices { display: flex; justify-content: center; align-items: center; gap: 2rem; margin: 2rem 0; flex-wrap: wrap; }
.vs-device { text-align: center; flex: 1; max-width: 280px; }
.vs-device img { width: 160px; height: 160px; object-fit: contain; margin-bottom: 1rem; }
.vs-device h2 { font-size: 1.1rem; margin: 0.5rem 0; }
.vs-device .brand { color: #666; font-size: 0.9rem; }
.vs-badge { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 800; flex-shrink: 0; }
.vs-winner { background: linear-gradient(135deg, #10b981, #059669); color: #fff; padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; display: inline-block; margin-top: 0.5rem; }
.vs-spec-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.vs-spec-table th { background: #f8f9fa; padding: 0.8rem; text-align: left; border-bottom: 2px solid #e5e7eb; font-weight: 600; }
.vs-spec-table td { padding: 0.8rem; border-bottom: 1px solid #e5e7eb; }
.vs-spec-table tr:hover { background: #f8f9fa; }
.vs-spec-label { font-weight: 500; color: #374151; width: 25%; }
.vs-spec-val { width: 37.5%; }
.vs-spec-val.winner { background: #ecfdf5; font-weight: 500; }
.vs-section { margin: 3rem 0; }
.vs-section h2 { font-size: 1.4rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #e5e7eb; }
.vs-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0; }
.vs-proscons-col { padding: 1.5rem; border-radius: 12px; }
.vs-proscons-col.pros { background: #ecfdf5; border: 1px solid #a7f3d0; }
.vs-proscons-col.cons { background: #fef2f2; border: 1px solid #fecaca; }
.vs-proscons-col h3 { margin: 0 0 1rem; font-size: 1rem; }
.vs-proscons-col ul { margin: 0; padding-left: 1.2rem; }
.vs-proscons-col li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.vs-cta { text-align: center; margin: 3rem 0; padding: 2rem; background: #f8f9fa; border-radius: 12px; }
.vs-cta h2 { margin-top: 0; }
.vs-verdict { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); border: 1px solid #bae6fd; border-radius: 12px; padding: 2rem; margin: 2rem 0; }
.vs-verdict h2 { margin-top: 0; color: #0369a1; }
.vs-faq { margin: 3rem 0; }
.vs-faq details { margin-bottom: 1rem; padding: 1rem; background: #f8f9fa; border-radius: 8px; }
.vs-faq summary { font-weight: 600; cursor: pointer; }
.vs-faq p { margin: 0.5rem 0 0; color: #4b5563; }

@media (max-width: 768px) {
    .vs-devices { flex-direction: column; }
    .vs-proscons { grid-template-columns: 1fr; }
    .vs-spec-table { font-size: 0.85rem; }
}
